|
-
Jul 24th, 2023, 10:31 PM
#11
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by Mith
@Krool
MS doesnt send the state ODS_HOTLIGHT when the mouse enters, moves or leaves the control.
A solution is to trigger the ownerdraw event at the current existing events "MouseEnter" and MouseLeave" to redraw the checkbox with CBS_UNCHECKEDHOT/CBS_CHECKEDHOT and the option control with RBS_UNCHECKEDHOT/RBS_CHECKEDHOT.
Please can you add this with the next update for the checkbox and optionbutton control?

 
You can call an .Refresh within MouseEnter/MouseLeave.
That's a good scenario where the app should invoke a redraw, IMO.
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
|