In fact, I'm struggling with C wrapper now.. But it turns out that WM_QUERYENDSESSION is sent only to visible windows (only catching it on Win98+ allows to kill a child in time, without getting that "close application" dialog to appear); but I don't want any window to be visible (and an icon inside a tray is not acceptable either)..
BTW, any hints how to make window to be visible from system POV, but invisible from user POV (e.g. offscreen windows or zero-sized windows?) | [reply] |
| [reply] |
| [reply] |
And as for msg-only window, creating window with parent 0x84 on Win98 crashes the program (at least on the box I was testing it). May be it works for you due to some windows software updating your system .dlls (e.g. .NET framework, or office XP installation, or MSIE with latest security fixes).
| [reply] |