English
Regulars table & Café

DrawStatusText.

 


Description:

DrawStatusText draw a Text on one Window and surrounding this Text with a welt in the angegebenen manner.




Deklaration:

DEF @DrawStatusText(4) !comctl32.dll,DrawStatusTextA




Parameter:

1.Parameter: display-Context (DC) the Objektes, on the the Text attend should as LongInt.
2.Parameter: Structure or 16 byte great area, the The corners the To zeichnenden Rahmens certainly. =>
-byte 0-3 = X-Koordinate the left upper corner the Rahmens.
-byte 4-7 = Y-Koordinate the left upper corner the Rahmens.
-byte 8-11 = X-Koordinate the rechten downstairs corner the Rahmens.
-byte 12-15 = Y-Koordinate the rechten downstairs corner the Rahmens.
3.Parameter: address one Strings or Memory-Variable with a String, the whom anzuzeigenden Text contains.
4.Parameter: Flag, the angiebt How the welt drawn go should: =>
-$0 = versenkt
-$100 = no welt (levelly)
-$200 = highlighted



Return Value:

The function has none Return Value.


Examples:

DEF @GetSysColor(1) !"USER32","GetSysColor"
DEF @DrawStatusText(4) !"comctl32.dll","DrawStatusTextA"
DEclare RECT#,TEXT$
SetTrueColor 1
Windowstyle 31
Windowtitle "Statustext"
Window 0,0-640,440
CLS @GetSysColor(15)
DIM RECT#,16
Long RECT#,0=50
Long RECT#,4=50
Long RECT#,8=250
Long RECT#,12=75
Let Text$="Statustext versenkt"
@DrawStatusText(%HDC,RECT#,@ADDR(TEXT$),0)
@DrawStatusText(%HDC2,RECT#,@ADDR(TEXT$),0)
Long RECT#,0=50
Long RECT#,4=100
Long RECT#,8=250
Long RECT#,12=125
Let Text$="Statustext hervorgehoben"
@DrawStatusText(%HDC,RECT#,@ADDR(TEXT$),$200)
@DrawStatusText(%HDC2,RECT#,@ADDR(TEXT$),$200)
Long RECT#,0=50
Long RECT#,4=150
Long RECT#,8=250
Long RECT#,12=175
Let Text$="Statustext flach"
@DrawStatusText(%HDC,RECT#,@ADDR(TEXT$),$100)
@DrawStatusText(%HDC2,RECT#,@ADDR(TEXT$),$100) otherwise no Repaint!
DISPOSE RECT#

While 0=0

    Waitinput

Wend

 
03/28/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.468 Views

Untitledvor 0 min.
Juergen Baier04/05/11
mein01/05/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