Thread: File dialog under console window

  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, 06: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, 10:50 AM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM