|
-
August 13th, 2015, 03:22 AM
#1
[RESOLVED] WM_CREATE and HWND issue
Code:
case WM_CREATE:
if (hwnd == childwindowHandle)
{
x = TRUE;
}
x is never set to true.
This is a child window. This case is in the message switch for the child window's message procedure. There are multiple children of the same class. The child windows are created drawn and functional. This logic exactly works in other cases such as WM_PAINT and WM_LBUTTONDOWN and other logic making referencing the parameter hwnd also has no problems.
Why for WM_CREATE, when in the documentation it states that WM_CREATE is called after window creation but before window visibility, does hwnd not evaluate to the handle of the created window?
Thank you guys, First post ^_^
-Kev
PS. I don't have permission to create tags on this forum but there's no WM_CREATE tab!
Tags for this Thread
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
|