Results 1 to 5 of 5

Thread: Taskbar always visible, in games like w3 too, but they turn it off, ...

  1. #1
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Taskbar always visible, in games like w3 too, but they turn it off, ...

    in my code i use changedislaypsetting(...) with CDS_FULLSCREEN, but my taskbar is always visible, maybe it is because i have set it to "always on top", and "autohide". How can i remove it, without changing the bitdepht???

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Re: Taskbar always visible, in games like w3 too, but they turn it off, ...

    Ehm, i mean Q3 (Quake III), not w3

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Austin, TX, USA
    Posts
    142

    Re: Taskbar always visible, in games like w3 too, but they turn it off, ...

    Are you using AdjustWindowRectEx()?

    Try this:

    RECT WindowRect;
    WindowRect.left=(long)0;
    WindowRect.right=(long)width; // width is the global width value of window size
    WindowRect.top=(long)0;
    WindowRect.bottom=(long)height; // height is the global height value of the window size

    // now define the window style
    AdjustWindowRectEx(&WindowRect,WS_POPUP, FALSE, WS_EX_APPWINDOW);

    WS_POPUP tells Windows that there should be no border, and
    WS_EX_APPWINDOW forces the window to top level, above the taskbar.

    Oh, for future reference, this info is neatly presented on NeHe's website: http://nehe.gamedev.net/tutorials/lesson01.asp

    Glossifah

  4. #4
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Re: Taskbar always visible, in games like w3 too, but they turn it off, ...

    Tried nehes example, but the taskbar is still visible, but i try it in my own code, i hope this work ...

  5. #5
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Germany, Hannover
    Posts
    160

    Re: Taskbar always visible, in games like w3 too, but they turn it off, ...

    Found the problem:
    hWnd= CreateWindowEx(WS_EX_TOPMOST,
    lpszAppName,
    lpszAppName,
    WS_POPUP | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
    0, 0,
    width,height,
    NULL,
    NULL,
    hInstance,
    NULL);

    Only this work ( and only when WS_EX_TOPMOST is set)!!!

Similar Threads

  1. Black taskbar-sized strip at top of screen
    By Nexuapex in forum OpenGL: Windows
    Replies: 0
    Last Post: 04-15-2010, 03:56 PM
  2. How to hide taskbar in game mode???
    By flowerJT in forum OpenGL: General
    Replies: 1
    Last Post: 10-07-2004, 10:31 PM
  3. Windows XP Taskbar Problem!
    By pasrapport in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 07-09-2002, 07:29 AM
  4. Win98 Task Bar Visible in FS OpenGl Games...
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 03-09-2002, 06:45 PM
  5. Blank taskbar button after screensaver preview
    By tcobbs in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-13-2002, 09:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean