|
-
Oct 7th, 2001, 07:42 AM
#1
Thread Starter
Lively Member
Handle to own dialog
Hey guys
Does anyone know how you retrive a handle to a dialog box you made yourself. Im looking to retriev a HMENUHANDLE handle so i can use it for a submenu.
Peter
"Let's all join forces, rule with an iron hand...and prove to all the world, metal rules the land..."
-- Judas Priest
My email is [email protected]
-
Oct 7th, 2001, 08:06 AM
#2
transcendental analytic
if you want to get the menu of a window, then it is:
menuhandle=GetMenu(windowhandle);
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 7th, 2001, 11:01 AM
#3
If you are using CreateDialog(), the return value is the handle to it. You could also use the hWnd argument of your DialogProc to get the handle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|