English
Regulars table & Café

GetClientRect.

 

Description:

GetClientRect determined whom beschreibbaren area (Clientbereich) one Fensters


Deklaration:



Parameter:

1.Parameter: lever the Fensters as LongInt.
2.Parameter: RECT Structure or 16 Bytes large Memory-Variable, The Information over The Eckpunkte the beschreibbaren Bereichs aufnimmt. =>
-byte 0-3 = X-Koordinate the left oberen corner the beschreibbaren Bereichs.
-byte 4-7 = Y-Koordinate the left oberen corner the beschreibbaren Bereichs.
-byte 8-11 = X-Koordinate the rechten downstairs corner the beschreibbaren Bereichs.
-byte 12-15 = Y-Koordinate the rechten downstairs corner the beschreibbaren Bereichs.


Return Value:

1 with success, 0 with Error.


Examples:

CompileMarkSeparation
DEF @GetClientRect(2) !USER32,GetClientRect
Windowstyle 31
Windowtitle Beschreibbarer bereich eines Fensters
Window 0,0-640,440
Declare ClientRect#
DIM ClientRect#,16
Usepen 1,1,@RGB(32,0,0)
Rectangle 0,0-640,440 nicht sichtbar
Drawtext 20,20,Nicht alle Linien sind sichtbar!
Drawtext 20,40,Mal ins Fenster klicken!
Waitinput
@GetClientRect(%HWND,ClientRect#)
Usepen 1,1,@RGB(0,32,0)
Rectangle @LONG(ClientRect#,0),@LONG(ClientRect#,4)-@LONG(ClientRect#,8),@LONG(ClientRect#,12) sichtbar
Drawtext 20,20,So solls sein, jetzt sind alle Linien sind sichtbar!
Drawtext 20,40,
Dispose ClientRect#

While 0=0

    Waitinput

Wend



Size Window area beschreibbar beschreibbarer Clientarea Clientbereich Coordinates X Y

 
04/27/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

1.318 Views

Untitledvor 0 min.
Sven Bader11/21/23
Axel Berse04/11/21
ByteAttack07/04/11
Juergen Baier03/20/11
More...

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