English
Source / code snippets

New Window, the The Taskbar not covers

 

p.specht


Window Title "SystemParametersInfo without Headerfiles"
Font 2:randomize:Cls rnd(8^8)' The übliche Spielerei
Declare RECT#:Struct RECT = Left&,Top&,Right&,Bottom&:Dim RECT#, RECT
External("user32.dll","SystemParametersInfoA", 48, 0,rect#, 0)
print RECT#.Left&;",";RECT#.Top&;" - ";RECT#.Right&;" x ";RECT#.Bottom&

With RECT#:Window .Left&,.Top& - .Right&,.Bottom&:EndWith

    Print "https://msdn.microsoft.com/en-us/library/ms724947%28v=vs.85%29.aspx"
    WaitInput :Dispose RECT#:End
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
04/15/21  
 




p.specht

... or something plainer:
CLS
Begin:
Declare wax&,way&, wah&,wab&
CreateWorkAreaWindow("WorkArea Window",24)
print "\n",wax&,way&,"-",wah&,wab&
WaitInput
End

Proc CreateWorkAreaWindow

    parameters WinTitle$,WinStyle&
    Declare Rect#:Dim Rect#,16
    Window Title WinTitle$:Windowstyle WinStyle&
    DEF SysParameterInfo(4)!"user32","SystemParametersInfoA"
    SysParameterInfo(48,0,Rect#,0)
    wax&=Long(Rect#,0)
    way&=Long(Rect#,4)
    wah&=Long(Rect#,8)
    wab&=Long(Rect#,12)
    Dispose Rect#
    Window wax&,way&-wah&,wab&

ENDPROC

 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/26/21  
 



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

1.974 Views

Untitledvor 0 min.
Member 862464105/12/24
RudiB.04/14/22
Xegon12/30/21
p.specht11/21/21
More...

Themeninformationen

this Topic has 1 subscriber:

p.specht (2x)


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