File dialog under console window

This is a discussion on File dialog under console window within the Windows Programming forums, part of the Platform Specific Boards category; I'm using GetOpenFileName dialog in my console application. The problem is it opens under the console window (the first time). ...

  1. #1
    The larch
    Join Date
    May 2006
    Posts
    3,573

    File dialog under console window

    I'm using GetOpenFileName dialog in my console application. The problem is it opens under the console window (the first time).

    I suspect the reason could be that the handle for the dialog is NULL (desktop?). However, I haven't managed to get the handle of the console to fill it in. GetStdHandle returns a HANDLE, and GetOpenFileName requires a HWND?

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 07:57 PM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  4. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 11:50 AM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM

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