The MASM Forum

Members Gallery => Showcase => Topic started by: hutch-- on September 18, 2022, 10:50:43 AM

Title: Prototype custom check boxes
Post by: hutch-- on September 18, 2022, 10:50:43 AM
I am just sketching up this technique, it works OK but I would like to make it into a single procedure call. At the moment it requires 2 handles for each check box and this makes it harder to use.
Title: Re: Prototype custom check boxes
Post by: zedd151 on September 18, 2022, 11:51:45 AM
Quote from: hutch-- on September 18, 2022, 10:50:43 AM
At the moment it requires 2 handles for each check box and this makes it harder to use.
This looks vaguely familiar. You shouldn't need two handles.  :tongue:
http://masm32.com/board/index.php?topic=10351.msg113348#msg113348 (http://masm32.com/board/index.php?topic=10351.msg113348#msg113348)
I don't have 64 set up on this machine, I'll look at what you've come up with for the checkboxes when I do have 64 bit rolling...  :biggrin:
Title: Re: Prototype custom check boxes
Post by: hutch-- on September 18, 2022, 01:27:08 PM
I don't know what you have had in mind but this demo is a composite of two controls, a standard check box with no text and a custom control that displays the text and works like a button. When I get a bit more time, I may try it out in a separate window to encapsulate it. The idea is a check box that is not limited by the system settings colours where the text and background match the client area back colour.
Title: Re: Prototype custom check boxes
Post by: zedd151 on September 18, 2022, 01:35:34 PM
Quote from: hutch-- on September 18, 2022, 01:27:08 PM
a standard check box with no text and a custom control that displays the text and works like a button.
Ah, I see. Now I'll have to get 64 bit up and running to see it.  :biggrin: