I have created a widget using child-widgets, and the callbacks are correctly implemented. The widget consists of four buttons and an edit cox created out of standard widgets. The buttons are not focussable upon creation.
A test dialog box implements the custom widget, adding a simple text field and two additional buttons. The ExecCreatedDialogBox() is used to instantiate it. My product has no touchscreen, and therefore everything is done using SEND_KEY commands. When my custom widget completes its task, focus is passed onto the the next widget in the dialog box, which I have verified as being complete. However, it appears that one of the widget's inside my custom widget is consuming the SEND_KEY message and preventing the underlying dialog box from getting the WM_KEY message when the button is pressed (I see the message when it is released). Any ideas?
A test dialog box implements the custom widget, adding a simple text field and two additional buttons. The ExecCreatedDialogBox() is used to instantiate it. My product has no touchscreen, and therefore everything is done using SEND_KEY commands. When my custom widget completes its task, focus is passed onto the the next widget in the dialog box, which I have verified as being complete. However, it appears that one of the widget's inside my custom widget is consuming the SEND_KEY message and preventing the underlying dialog box from getting the WM_KEY message when the button is pressed (I see the message when it is released). Any ideas?