Page 1 sur 1

[Ex] EzBmpButton

Posté : ven. 27 mars 2009 01:14
par Greenhorn
Salut,

here is another result of my sick mind ... :D

Custom Controls.

In this case it is a simple button with bitmaps.
It doesn's send all the notifications like a common control button, but maybe in some time ...

EDIT:
The button will NOT respond to GUIGetMsg () !
You have to register the WM_COMMAND and/or the WM_NOTIFY message to receive an event.


EDIT 2:
Now it'nearly finished. It WILL now respond to GUIGetMsg () :)
Also you can select the text color in the function call.
That's it, folks. ;)
Zwischenablage01.jpg
The script is too large to post, so it's only attached below.


Je t'embrasse
Greenhorn