How do you know if a control is clicked
-
Hi.. I added a Windows message handler "OnLButtonDown" ... and I was wondering how will I know which control is being clicked (within that procedure of OnLButtonDown).... Note: I cannot use the BNCLICKED (message handler) because it conflicts with the LButtonDown of the Dialog... Thanks in Advance... Ciao!:-O
-
Hi.. I added a Windows message handler "OnLButtonDown" ... and I was wondering how will I know which control is being clicked (within that procedure of OnLButtonDown).... Note: I cannot use the BNCLICKED (message handler) because it conflicts with the LButtonDown of the Dialog... Thanks in Advance... Ciao!:-O
If you want to capture a button being pressed, you would handle the BN_CLICKED message for that control within the dialog that holds it. Alex