English
Source / code snippets

Ausmaße wide Controls one check Size Höhe

 
Thanks on Herrn Jörg Sellmeyer for this Snipped, around the Ausmaße one Controls to ascertain.
CompileMarkSeparation
Def GetWindowRect(2) !"USER32", "GetWindowRect"
Cls
Decimals 0
Declare b#,Button&
Button&=CreateButton(%hwnd,"test",10,100,40,20)
Dim b#,16
print Height(%hwnd),Width(%hwnd)
Print %winright - %winleft,%winbottom - %wintop
GetWindowRect(%hwnd,b#)
print Long(b#,0),Long(b#,4),Long(b#,8),Long(b#,12)
print Height(Button&),Width(Button&)
GetWindowRect(Button&,b#)
print Long(b#,0),Long(b#,4),Long(b#,8),Long(b#,12)
print Long(b#,12) - Long(b#,4),Long(b#,8) - Long(b#,0)
Dispose b#
04/26/04  
 



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

4.073 Views

Untitledvor 0 min.
ByteAttack09/12/11
Frank Vorholzer06/25/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