Have a window take z-order precedence over - Games?

This is a discussion on Have a window take z-order precedence over - Games? within the Windows Programming forums, part of the Platform Specific Boards category; How can I create a standard MFC dialog that takes precedence over game running in fullscreen? (EX: CoD4, CSS, BF2). ...

  1. #1
    Registered User
    Join Date
    Mar 2006
    Location
    USA::Colorado
    Posts
    155

    Have a window take z-order precedence over - Games?

    How can I create a standard MFC dialog that takes precedence over game running in fullscreen? (EX: CoD4, CSS, BF2). I tried settings: Topmost = true and SetForeground = true.

    Is there another way of doing this?

    Thanks in advance,

    Guitarist809
    ~guitarist809~

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    Why do you want to do this? It doesn't sound good thus far.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    USA::Colorado
    Posts
    155
    Let's just say I like to know what time it is when I'm playing a game and it takes too long to minimize/maximize the game.

    I was told to use SetWindowPos(), however, it didn't work.

    Code:
    SetWindowPos ( thewnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE );
    I ran that code in a loop just to make sure it would constantly go on the top (I also used HWND_TOPMOST). It didn't work.
    Last edited by guitarist809; 07-19-2008 at 08:27 PM.
    ~guitarist809~

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating a child window
    By rakan in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2007, 02:22 PM
  2. input/output
    By dogbert234 in forum Windows Programming
    Replies: 11
    Last Post: 01-26-2005, 05:57 AM
  3. my wndProc is out of scope
    By Raison in forum Windows Programming
    Replies: 35
    Last Post: 06-25-2004, 07:23 AM
  4. making a absolute overlapped window, even overlap games
    By hanhao in forum C++ Programming
    Replies: 1
    Last Post: 03-22-2004, 07:53 AM
  5. Invoking MSWord
    By Donn in forum C Programming
    Replies: 21
    Last Post: 09-08-2001, 04:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21