` Disable (Hide?) Minimize button on window with an icon (Heinz Kalmbach ) - 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: Disable (Hide?) Minimize button on window with an icon
2013-08-29 -- Heinz Kalmbach
 
in the clarion manual I found the following code to hide the minimize button on windows with icon: Sty = GetWindowLong(Target{PROP:Handle}, GWL_STYLE) MinHideError = SetWindowLong(Target{PROP:Handle}, GWL_STYLE, BAND(Sty,BXOR(-1,WS_MINIMIZEBOX))) I can compile this but it does not work as expected. - if I place it directly after 'open the window' nothing happens - if I place it after 'Prepare Alert Keys' then the button is NOT hided but disabled Does someone know where to place the code?


Today is November 21, 2024, 3:41 am
This article has been viewed 35233 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: