Author Topic: Tricks with a Windows Dialog  (Read 751 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Tricks with a Windows Dialog
« on: June 24, 2021, 04:42:51 PM »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Tricks with a Windows Dialog
« Reply #1 on: June 25, 2021, 12:28:47 AM »
This zip file contains the examples for the last 2 videos about dialogs.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Tricks with a Windows Dialog
« Reply #2 on: July 05, 2021, 03:32:45 PM »
I have been experimenting with bitmap buttons to try and improve the appearance of resource dialogs. This is a test piece that shows two buttons and a nice painting by Raphael.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8497
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Tricks with a Windows Dialog
« Reply #3 on: July 24, 2021, 10:50:21 AM »
I have another demo done, GDI+ to load PNG images, auto resize the buttons to match the bitmap sizes and a 16k 64 pixel icon to make it "pretty". It is still a reasonably simple interface and for example, the technique will make reasonable appearance "About" boxes along with many other things.

This is intentionally an understated interface style that you would use for business software, for consumer or gaming apps you can tend to use brighter interface components as best suits the target you have in mind.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: