1. RE: Keeping main window hidden
- Posted by sephiroth _ <euman2376 at yahoo.com> Mar 27, 2001
- 482 views
> What I'm doing at the moment is making the window with zero height > and width and giving it the WS_POPUP style. However, it still shows > up on the alt-tab list. A way to hide it from the alt-tab list is to > make it invisible: > > showWindow(wndEventProcessor,SW_HIDE) > > but this must be done after the window has been opened and it > doesn't seem to work in the onOpen event, I suppose it could be done > on a timer but this seems a very messy way of doing things. another way to hide it is to put that statement in an onPaint callback, then to set the callback to -1