quick messagebox question

This is a discussion on quick messagebox question within the Windows Programming forums, part of the Platform Specific Boards category; How can I get a messagebox ontop of all the windows. My messagebox apears behind one of the windows and ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    161

    quick messagebox question

    How can I get a messagebox ontop of all the windows. My messagebox apears behind one of the windows and the widows are dissabled thus I can't reach the messagebox.

  2. #2
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293
    You might want to set the z-order of the windows befor using the messagebox.

    Use SetWindowPos().

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Another possible solution is CenterWindow().

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

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