For many of my full-screen images the task bar is a distraction. Can you help?
Announcement
Collapse
No announcement yet.
How to make a window cover the task bar
Collapse
X
-
Strange, but even this code works (Win98SE, task bar' "auto hide" is turned off)
Code:#Compile Exe #Register None DefLng A-Z #Include "Win32Api.Inc" Function PbMain() Dialog New 0 ,"Sample", 0, 0, 0, 0, %WS_SYSMENU To hDlg SetWindowPos hDlg,0, 0, 0, GetSystemMetrics(%SM_CXSCREEN), GetSystemMetrics(%SM_CYSCREEN), 0 Dialog Show Modal hDlg End Function
It possible to cover a task bar with %HWND_TOPMOST only.
But %HWND_TOPMOST generates serious problems for other applications.
In my PB/CC (after ConsoleTopMost / Stretch) I detect a moment when program becomes not foreground and automatic minimize a window (enough bad solution).
May be somebody knows how to solve this question ? (%HWND_NOTOPMOST not works, because a task bar covers a window again).
[This message has been edited by Semen Matusovski (edited January 28, 2000).]
Comment
Comment