|
-
Aug 5th, 2007, 01:06 AM
#1
Thread Starter
Frenzied Member
get main window handle?
How do you get the main windows handle in c++? in .net it is easy but how in c++?
-
Aug 5th, 2007, 08:56 AM
#2
Addicted Member
Re: get main window handle?
There are a docens of way to do it:
1. GetParent.
2. GetWindow.
3. FindWindow.
4. If you are using WndProc or DialogProc, you should use the first paramater to use the window 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
|