I have this:
Simply, I have a button thats a child to a groupbox thats a child to my program. I was wondering how I get the message when someone clicks the button.Code:HWND hWndGroupBox = CreateWindowEx(0, "BUTTON", "Search", WS_CHILD|WS_VISLBE|BS_GROUPBOX, 0, 0, 0, 0, hWnd, (HMENU)ID_GROUPBOX, hInst, NULL); CreateWindowEx(0, "BUTTON", "Search", WS_CHILD|WS_VISLBE|WS_TABSTOP, 0, 0, 0, 0, hWndGroupBox, (HMENU)ID_SEARCH, hInst, NULL);