News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Custom button text

Started by starzboy, August 16, 2009, 05:18:26 PM

Previous topic - Next topic

starzboy

Hello
I have been playing yet again.
I have created a custom button in bitmap which changes text and color on mouse click, actually the text is an image file.
Now I want to create a text on button(without using bitmap) which changes on mouse click to some other color or text.
Please advise.

donkey

SetWindowText will change the text of the button. You can also paint text onto your bitmap using DrawText.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable