Login
`
Templates, Tools and Utilities
|
||
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 November 21, 2024, 3:49 am This article has been viewed 35238 times.
|
|