Dummy Window

This is a discussion on Dummy Window within the Windows Programming forums, part of the Platform Specific Boards category; For my program It works in the systray, and has a dialog as the main window I've got some problems ...

  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,831
    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, 09: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, 11:50 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  5. problem with open gl engine.
    By gell10 in forum Game Programming
    Replies: 1
    Last Post: 08-21-2003, 05:10 AM

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