Author Topic: Prototype custom check boxes  (Read 158 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9763
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Prototype custom check boxes
« 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

zedd151

  • Member
  • *****
  • Posts: 1268
Re: Prototype custom check boxes
« Reply #1 on: September 18, 2022, 11:51:45 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
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:
... :biggrin:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 9763
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Prototype custom check boxes
« Reply #2 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

zedd151

  • Member
  • *****
  • Posts: 1268
Re: Prototype custom check boxes
« Reply #3 on: September 18, 2022, 01:35:34 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:
... :biggrin: