Harold, I found a way to hide a window from appearing in taskbar when it is visible.
The technique I used was showing the window as a dialog with parent as MS-Windows
desktop
desktophwnd=GetDesktopWindow();
int ret = DialogBox(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDD_ABOUT), desktophwnd, AboutDlgProc);
Where "about" window wont appear in taskbar.
Also it wont be a modal window.
To make it more convincing I hide the calling window.
I am attaching the example
While running, do "Tools\About" from the menu
So will it be possible to use this with "XWin.exe -nodecoration"
cheers
Biju
--------- my makefile ------
myapp.exe : myapp.c myapp.res resource.h
gcc -mwindows myapp.c myapp.res -o $@
myapp.res : myapp.rc resource.h
windres $< -O coff -o $@
-------------------------------
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save �80
http://btyahoo.yahoo.co.uk
myapp.c
Description: myapp.c
myapp.rc
Description: myapp.rc
resource.h
Description: resource.h
