Gyannea
November 13th, 2003, 05:15 AM
I have a bunch of radio buttons and when I click on them the button gets marked and all that. However, if I use the keyboard, they are hilited even more. A dotted rectangle encompasses the text. If I then use the mouse to click other buttons, the dotted rectangle follows.
How do I get that dotted (or dashed) rectangle to appear around the desired radio button without user intervention? I have tried "SetFocus()" and that doesn't work. Neither does sending a BM_CLICK message. Would I have to send a WM_KEYDOWN, WM_KEYUP arrow-key message sequence to the desired button? Probably the previous button (yuulk)?
What I want to do is guide the user to the proper control after an error. In this case the user composes a radio call that has many components. One of the features of the call is not done and I want to direct the user to the correct control for the fix. Wish I could make it light up!
Thanks,
Brian
How do I get that dotted (or dashed) rectangle to appear around the desired radio button without user intervention? I have tried "SetFocus()" and that doesn't work. Neither does sending a BM_CLICK message. Would I have to send a WM_KEYDOWN, WM_KEYUP arrow-key message sequence to the desired button? Probably the previous button (yuulk)?
What I want to do is guide the user to the proper control after an error. In this case the user composes a radio call that has many components. One of the features of the call is not done and I want to direct the user to the correct control for the fix. Wish I could make it light up!
Thanks,
Brian