Thread: Dummy Window

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    23

    Unhappy Dummy Window

    For my program It works in the systray, and has a dialog as the main window I've got some problems with the menus and i need to know how to make a dummy window(a window that doesn't get displayed but the WM_CREATE will get executed.

    cal

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    When you call CreateWindow(), the WM_CREATE is sent before the call returns. Don't include the WS_VISIBLE style. If you don't want the window displayed, don't call ShowWindow().
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    23

    Talking thanks

    thankis made a simple dummy window just gotta embed it into my application.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  5. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 04:10 AM