This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Attachment:
myapp.c
Description: myapp.c
Attachment:
myapp.rc
Description: myapp.rc
Attachment:
resource.h
Description: resource.h
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |