Just can't stay away
|
@LiveForIt
Maybe adding to the button object creating "GA_Immediate, TRUE," makes WMHI_GADGETDOWN work.
GA_Immediate (BOOL) When set indicates that the gadget is to notify the application when it becomes active. This attribute corresponds to the GACT_IMMEDIATE activation flag.
Defaults to FALSE.
Applicability is (OM_NEW, OM_SET, OM_GET, OM_UPDATE)
... LAYOUT_AddChild, ButtonObj = ButtonObject, GA_ID, GAD_BUTTON, GA_Immediate, TRUE, //GA_RelVerify, TRUE, GA_Text, "A button!", GA_HintInfo, "The default hint info is this", ButtonEnd, CHILD_WeightedHeight, 0, ...
|