English
Source / code snippets

Button Icon Text draw

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Icon auf Button zeichnen (mit Text)
DEF @LoadImage(6) !USER32,LoadImageA
Declare ICONHANDLE&,ICONHOLDER#,Mod_Name#,Brush&,Refresh_Static&,Refresh&
Windowtitle Iconbutton mit Text
Windowstyle 31+512
WINDOW 0,0-640,440
Buttons und Statics erstellen
LET Refresh&=@control(Button,<<< Testbutton,$50010100+$2000000,360,240,150,30,%Hwnd,2696,%Hinstance)
Dim ICONHOLDER#,256
String ICONHOLDER#,0=Baum
Let IconHandle&=@LoadImage(%HINSTANCE,Iconholder#,$1,18,18,$0)
LET Refresh_Static&=@control(Static,,$50000003,120,5,18,18,Refresh&,2695,%Hinstance)
@Sendmessage(Refresh_Static&,$170,IconHandle&,0)
Dispose ICONHOLDER#

While %KEY<>2

    Waitinput

wend

@Destroywindow(Refresh&)
Deleteobject IconHandle&
End
 
07/16/07  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.976 Views

Untitledvor 0 min.
Ernst06/15/16
Andre Rohland02/04/14
Julian Schmidt02/15/12
Klaus Ernst02/09/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie