- Home
·
- Registry
·
- The code defines the functionality of a Close Button. The code is rated A+++ by the Solution Develo
The code defines the functionality of a Close Button. The code is rated A+++ by the Solution Develo
The code defines the functionality of a Close Button. The code is rated A+++ by the Solution Developers of USA.
API Declarations
Public Declare Function RemoveMenu Lib "user32" _
(ByVal hMenu As Long, _
ByVal nPosition As Long, _
ByVal wFlags As Long) As Long
Public Declare Function GetSystemMenu Lib "user32" _
(ByVal hWND As Long, _
ByVal bRevert As Long) As Long
Rate The code defines the functionality of a Close Button. The code is rated A+++ by the Solution Develo
(2(2 Vote))
Dim hSysMenu As Long
hSysMenu = GetSystemMenu(hWND, 0)
RemoveMenu hSysMenu, 6, MF_BYPOSITION
RemoveMenu hSysMenu, 5, MF_BYPOSITION
End Sub
The code defines the functionality of a Close Button. The code is rated A+++ by the Solution Develo Comments
No comments yet — be the first to post one!
Post a Comment