` Disable Minimize and Maximize bodes (Khin Choy Chin ) - 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 Minimize and Maximize bodes
2013-11-05 -- Khin Choy Chin
 
Window contain Icon. The MinimizeBox and MaximizeBox will be enable. To disable both, at Global embed, Inside the Global Map INCLUDE('svapifnc.inc'),ONCE AT Procedure pHwnd Long !embed after window opened pHwnd = 0{prop:handle} ! disable MinimizeBox SetWindowLong(pHwnd,IT_GWL_STYLE, GetWindowLong(phwnd,IT_GWL_STYLE) - WS_MINIMIZEBOX) or ! Hide MinimizeBox and MaximizeBox SetWindowLong(pHwnd,IT_GWL_STYLE, GetWindowLong(phwnd,IT_GWL_STYLE) - WS_MINIMIZEBOX -WS_MAXIMIZEBOX)


Today is April 26, 2024, 6:36 pm
This article has been viewed 35121 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: