Question on SW_SHOWMAXIMIZED

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When i use SW_SHOWMAXIMIZED to show my window in maximum size will the
windows OS takes care the task bar there at the bottom? I mean will the
window be shown on the full screen without the task bar or the task bar will
be shown.
Also i want to know if i hide the caption bar of the window & then use the
SW_SHOWMAXIMIZED to maximize the window will there be any problem with that
in showing the task bar. Right now iam seeing that when i hide the caption
bar & use SW_SHOWMAXIMIZED then its occupyig the entire screen & not showing
the task bar so i have to calculate manually the taks bar size. Please let me
know if there is any one to help in this. Thanks in advance for reading this.
 
SW_SHOWMAXIMIZED
Activates the window and displays it as a maximized window.

Depends.

Keep the taskbar on top of other windows...
[[Ensures that the taskbar is always visible, even when you run a program in
a maximized (full-screen) window.]]

As far as I know if the Taskbar is locked and Keep the taskbar on top of
other windows is selected, only F11 (Full Screen) or kisosk mode in Internet
Explorer or Windows Explorer or viewing a Windows and Fax Viewer slide show
will hide the taskbar. The F11 key toggles between Full Screen mode and a
Normal or Maximized window. Also cmd.exe in full screen and Windows Media
Player in full screen hide the taskbar even if Keep the taskbar on top of
other windows is selected. There may be others.

Open Explorer in Kiosk Mode

iexplore -k c:\

Ctrl + W to close it.

fullScreen
http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=fullscreen

<quote>
A maximized window is a window that has the WS_MAXIMIZE style. By default,
the system enlarges a maximized window so that it fills the screen or, in
the case of a child window, the parent window's client area. Although a
window's size can be set to the same size of a maximized window, a maximized
window is slightly different. The system automatically moves the window's
title bar to the top of the screen or to the top of the parent window's
client area. Also, the system disables the window's sizing border and the
window-positioning capability of the title bar (so that the user cannot move
the window by dragging the title bar).
<quote>
http://msdn.microsoft.com/library/d...nterface/windowing/windows/windowfeatures.asp

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top