I'm having a bit of trouble gettings events from child windows controls.
For example, if I create a window and then create a button directly on the window then the button sends a WM_COMMAND message to the window and I can retrieve it easily enough.
However, if I create a static container control on the window, and then create a button on the static container, the WM_COMMAND message gets sent to the static container instead of the window, and I have no idea how to retrieve the event from there.
Thanks,
Chris
For example, if I create a window and then create a button directly on the window then the button sends a WM_COMMAND message to the window and I can retrieve it easily enough.
However, if I create a static container control on the window, and then create a button on the static container, the WM_COMMAND message gets sent to the static container instead of the window, and I have no idea how to retrieve the event from there.
Thanks,
Chris