Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why _screen w/o tittle bar cover taskbar?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01409112
Message ID:
01409116
Views:
63
>Try this:
>
>_screen.TitleBar = 0
>SET SYSMENU OFF
>SET SYSMENU TO
>_screen.WindowState = 2
>oTimer = CREATEOBJECT([MyTimer])
>oTimer.Enabled = .t.
>READ EVENTS
>_screen.TitleBar = 1
>SET SYSMENU TO DEFAULT
>
>
>
>DEFINE CLASS MyTimer AS Timer
>  Interval = 3000
>  Enabled = .f.
>  
>  
>  PROCEDURE Timer
>      CLEAR EVENTS
>  ENDPROC
>ENDDEFINE
>
>
>And you will see that when _screen goes maximised it covers the task bar.

May be subtract the task bar height from the _screen height?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform