Announcement

Collapse
No announcement yet.

How to make a window cover the task bar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make a window cover the task bar

    For many of my full-screen images the task bar is a distraction. Can you help?

  • #2
    Lance, Dave --
    "Note: Only forum leaders may delete posts."
    Why ?

    [This message has been edited by Semen Matusovski (edited January 28, 2000).]

    Comment


    • #3
      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
      I used a word "strange", because the same not works for conagent window (I mean to cover a task bar; with size of window all is clear).
      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


      • #4
        Don't know if this can be of any help, but I have done a PB screensaver
        here and used %WS_POPUP OR %WS_EX_TOPMOST as window style.

        Comment


        • #5
          I think if you just take out the titlebar (Max butt., Min butt, control butt, caption etc...) and then make you aplication maximize it will cover your whole screen.



          -------------
          Niraj Bhatt

          Comment


          • #6
            Thanks, gues, for advices.
            %WS_EX_TOPMOST, sure, works, but this means the same as %HWND_TOPMOST.
            Maximizing - conagent's window is a "black box". It's easy to test results manually - not helps.

            Comment

            Working...
            X