Author Topic: MessageBox with bitmap  (Read 5062 times)

guga

  • Moderator
  • Member
  • *****
  • Posts: 1451
  • Assembly is a state of art.
    • RosAsm
MessageBox with bitmap
« on: May 21, 2012, 09:06:52 AM »
Customized Messagebox with a background bitmap on it

Many tks to Ovidiu Cucu  for the C code.
http://www.codeguru.com/cpp/w-p/win32/messagebox/article.php/c14605/Fancy-Custom-MessageBox.htm

Ported to RosASm by Beyond2000!
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

Vortex

  • Member
  • *****
  • Posts: 2716
Re: MessageBox with bitmap
« Reply #1 on: August 07, 2012, 03:47:19 AM »
Hi Guga,

Nice example. A similar tutorial can be found here :

http://www.catch22.net/tuts/custom-messagebox

My method is based on moving the message box creation code to a separate thread.

guga

  • Moderator
  • Member
  • *****
  • Posts: 1451
  • Assembly is a state of art.
    • RosAsm
Re: MessageBox with bitmap
« Reply #2 on: August 07, 2012, 10:10:36 AM »
Hi vortex, tks a lot :) I see that you are using enumwindows functions....perhaps if you want, can you try to later help me with a resizable dialog control that uses it to grab all controls inside a given app and easilly resizing all of  them?

I successfully make it work, but for some unknown reason it is not enumerating toolbars and spreadsheets....
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com