| |
|
|
Thomas Zielinski | Hello people,
its still so the Windows To windows The Taskbar a different höhe has or. the User the höhe verstellt. with CompileMarkSeparation becomes The Taskbar covers. with CompileMarkSeparation covers The Taskbar the program.
How can I now The höhe the Taskbar to determine?
with XP with standarthöhe have I 30Pixel rausgefunden. means: CompileMarkSeparation still has not eachone so.
thanks already time! Greeting Thomas |
|
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 11/05/07 ▲ |
|
|
|
|
Dieter Zornow | so get The Taskbarhoehe, you should but rather the entire Workarea detect CompileMarkSeparationDef SHTaskbarheight(2) !SHELL32,SHAppBarMessage
Proc GetTaskbarHeight
Declare result&,Taskbar#
Dim Taskbar#,36
Clear Taskbar#
Long Taskbar#,0=36
SHTaskbarheight(5,Taskbar#)
Let result&=Long(Taskbar#,28)
Let result&=result& - Long(Taskbar#,20)
Dispose Taskbar#
Return result&
EndProc
Beispiel:
cls
Print GetTaskBarHeight()
CompileMarkSeparationDEF SysParameterInfo(4) ! user32,SystemParametersInfoA
Declare WX%,WY%,WL%,WB%
Proc workarea
Declare Rect#
Dim Rect#,16
SysParameterInfo(48,0,Rect#,0)
let wx%=Long(Rect#,0)
let wy%=Long(Rect#,4)
let wl%=Long(Rect#,8)
let wb%=Long(Rect#,12)
Dispose Rect#
endproc
workarea()
greeting from Bangkok
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11/05/07 ▲ |
|
|
|
|
Thomas Zielinski | once I to dwell komm, probier Ich´s from. |
|
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 11/05/07 ▲ |
|
|
|
|
Thomas Zielinski | Have because Code GetTaskbarHeight() ausprobiert and it klapt wonderful. Jetz have I no Anzeigefehler More. thanks once more! Greeting Thomas |
|
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 11/06/07 ▲ |
|
|
|
|
| GetTaskbarHeight would I even not use because The Taskbar can on eachone Bildschirmseite paste. rather uses You The Proc workarea because these relating too others Toolbars with one which the User vlt. on whom edge pasted has. |
|
|
| |
|
|
|
Thomas Zielinski | on it Have I garnich virtual! then building I hold again everything circa. |
|
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 11/06/07 ▲ |
|
|
|
|
Thomas Zielinski | |
|
| XProfan X4; Win10 x64 Der Kuchen ist eine lüge! | 11/07/07 ▲ |
|
|
|