The help says:
I wonder if someone can talk about this a little. I know how to do it with a button although I don't really understand why I look for CB.CTLMSG=1. I think I'm just not clear enough about what's going on here to assemble a real question.
This keeps coming up when I try to use a control that I want to try to get button clicks from that I can't find an example for. In the current case I want to get button clicks from a DDT progress bar and I haven't any idea what to check for in CB.CTLMSG or if I need to check at all.
However, I'd really rather just understand what's going on then to have someone tell me what to check for in this case. I always wonder if I've covered the situation correctly in other things I've written and if they might bite me someday. Actually that happened once some time ago but I'm healed now.
Any help will be appreciated.
Barry
When a Callback Function receives a %WM_COMMAND message, it should explicitly test the value of CB.CTL and CB.CTLMSG to guarantee it is responding appropriately to the notification message.
This keeps coming up when I try to use a control that I want to try to get button clicks from that I can't find an example for. In the current case I want to get button clicks from a DDT progress bar and I haven't any idea what to check for in CB.CTLMSG or if I need to check at all.
However, I'd really rather just understand what's going on then to have someone tell me what to check for in this case. I always wonder if I've covered the situation correctly in other things I've written and if they might bite me someday. Actually that happened once some time ago but I'm healed now.

Any help will be appreciated.
Barry
Comment