how group box respond to BN_CLICKED
-
Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and change it's styles notify to true. but it doesn't respond when i click it use mouse. who can tell me how to do?
-
Hi everybody, i put a group box which id is IDC_GB in a dialog. i add a message function to it and change it's styles notify to true. but it doesn't respond when i click it use mouse. who can tell me how to do?
Just a guess here but try handling the NM_CLICK notification message instead of BN_CLICKED, aside of that, try using spy++ to see what the parent of the groupbox receives when you click the box. p.s: i hate groupboxes. ;)
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <