Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Windows API: Prevent window from appearing on taskbar 2003-05-26 -- Jim Kane Newsgroups: softvelocity.products.c55ee
in theory it should work as long as the window in your dll and the window in
the other application are in the same process which they should be.
But you never know what the CW RTL is up to.
accroding to msdn to prevent a window from appreaging on a tool bar these
are the options. There is also a new window style started with w2k called
ws_ex_noactivate that comes into play. It was not arround when the below
article was written. Making your window a tool window is probably the
easiest or worth a quick try.
you might also want to use spy++ that comes with visual C to just display
all the window styles so you know what your dealing with.
Jim Kane
MsdnHOWTO: Prevent a Window from Appearing on the Taskbar
Q205158
There are two ways to prevent a window from appearing on the shell's taskbar
and in the task list window that appears when you press ALT+TAB.
a.. Give the window the WS_EX_TOOLWINDOW extended style, and remove the
WS_EX_APPWINDOW style. As a side effect, the window will have a smaller
caption than a normal window.
b.. Give the window the WS_POPUP style and make it owned by a hidden
window.
"Hanspeter Stutz"
Today is November 21, 2024, 6:57 am This article has been viewed 35308 times. Google search has resulted in 447 hits on this article since January 25, 2004.
|
|