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 Par2: Start app without appearing in toolbat 2005-03-07 -- John Christ III > Can you open a window that doesn't appear on the task bar?
Set the ToolWindow extended window style.
Before File Declarations:
GWL_EXSTYLE EQUATE(-20)
WS_EX_TOOLWINDOW EQUATE(00000080h)
Inside the Global Map:
MODULE('windows.lib')
SetWindowLong(ULONG, LONG, LONG), LONG, PASCAL, PROC, |
NAME('SetWindowLongA')
GetWindowLong(ULONG, LONG), LONG, PASCAL, |
NAME('GetWindowLongA')
END
Open the Window:
X# = GetWindowLong(0{Prop:Handle}, GWL_EXSTYLE)
X# = BOR(X#, WS_EX_TOOLWINDOW)
SetWindowLong(0{Prop:Handle}, GWL_EXSTYLE, X#)
Today is December 3, 2024, 11:54 am This article has been viewed 35245 times.
|
|