I currently have program that has a couple of child windows:
MAIN WINDOW - The main app window (HWND g_main)
TAB WINDOW - Child Window containing Tab controls, parent window is MAIN WINDOW (HWND g_tab)
STATIC WINDOW - Child Window to hold a button window, parent window is MAIN WINDOW (HWND g_static)
BUTTON WINDOW - Child Window thats a button, you push it. Parent window is STATIC WINDOW, (id of IDC_BUTTON stated in HMENU)
Now all the windows appear, line up and all that, but I can't get seem to process any messages from the button in my Window Procedure for WM_COMMAND, I dunno if I am doing something wrong or if WM_COMMAND can't receive messages from the child of a child.
Any help or suggestions would be appreciated.