` Delete minimize button (John Christ III ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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 April 25, 2024, 7:19 am
This article has been viewed 35114 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: