Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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 November 21, 2024, 6:51 am This article has been viewed 35239 times.
|
|