CompuServe Messages

#OnCommand()

    10-Jul-94 19:02:35
Sb: #29388-#OnCommand()
Fm: Tarn Faulkner [MSFT] 73764,3260
To: Todd Osborne 73624,2576
Todd, >> I am overriding the OnCommand handler for several CDialog derived classes so that I can get SET_FOCUS notification messages as the user tabs around a dialog. I use this to update the status bar depending on what controls they are over. This works great for all controls EXCEPT buttons, IE Push Button, Radio's and Check's. How can I get SET_FOCUS messages for these controls in a common routine, without generating a ton of OnSetFocus() handlers? The only doc says to use the OWNER_DRAW style and grab OnDrawItems, but I do not want to make every button in the entire application owner draw just to get what use to be BN_CLICKED messages. Any help is GREATLY appreciated! << I'm afraid you've listed all the options for this that I'm aware of. You may want to also check in the WINSDK forum, though, to verify from the source that there aren't any other options here. Tarn Faulkner Microsoft Developer Support