` 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: 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 May 7, 2024, 11:53 am
This article has been viewed 35129 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: