The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: hutch-- on September 10, 2008, 11:28:11 AM

Title: Clear text and symbol button
Post by: hutch-- on September 10, 2008, 11:28:11 AM
Its been a while since I had the time to write a small custom control but I have needed this one for some of the work I am doing at the moment. Its a text/symbol button that can be displayed either over coloured client areas or over bitmap image data in a STATIC control. It sends a WM_COMMAND on both UP and DOWN clicks and can have an individual custom cursor for each button as each button creates its own WNDCLASSEX window class.

Any comments will be welcome.

[attachment deleted by admin]
Title: Re: Clear text and symbol button
Post by: Nordwind64 on November 27, 2008, 08:20:43 PM
Work fine, hutch.

I only found a little error in your testexe/control. If I size the window to small, your controltexts are shown inside of the statuswindow. Can you fix that?

Best regards,
Nordwind64