` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 5, 2024, 1:37 am
This article has been viewed 35121 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: