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: Delete minimize button 2005-01-26 -- John Christ III > How does one get rid of it without losing the X or the window icon?
Global, Before File Declarations:
GWL_STYLE EQUATE(-16)
WS_MINIMIZEBOX EQUATE(00020000h)
Inside the Global Map:
MODULE('windows.lib')
SetWindowLong(ULONG, LONG, LONG), LONG, PASCAL, PROC, |
NAME('SetWindowLongA')
GetWindowLong(ULONG, LONG), LONG, PASCAL, |
NAME('GetWindowLongA')
END
Init, Open the window embed:
SetWindowLong(0{PROP:Handle}, |
GWL_STYLE, |
BAND(BXOR(WS_MINIMIZEBOX, 0FFFFFFFFh), |
GetWindowLong(0{PROP:Handle}, GWL_STYLE)))
DISPLAY
Today is November 21, 2024, 7:01 am This article has been viewed 35224 times.
|
|