|
-
Sep 1st, 2001, 12:30 AM
#1
Thread Starter
Frenzied Member
allow no setfocus
I don't want my buttons to be able to be focussed...like the buttons in the title bar...any way?
-
Sep 1st, 2001, 01:54 AM
#2
I haven't tried it, but I think the DrawFocusRect API should do the job.
Originally posted by MSDN
Remarks
Because DrawFocusRect is an XOR function, calling it a second time with the same rectangle removes the rectangle from the screen.
Use your button's coordiates to get the focus rect's coordinates, fill a RECT struct with the data, and call the function, and this should remove the focus rectangle.
Let me know if it works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|