I might have missed this when reading trought the various documents on how to program in windows.
Say i've created a main window with it's own WNDCLASS. And then i place a button in that window.
When i press the button dose the Window Procedure get the main window handel or dose it get the button handel as a parameter?
[Windows]window handels & the WndProc
The button handles the click with it's own private window proc, then sends its parent window a message in the form of a WM_COMMAND.
[edit]
Changed main window to parent window
[edit]
Changed main window to parent window
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement