我只找到取消最大最小及移動的選項
請問要如何取消那個 X
--
-== 蘊展無限時空 ◇ star.twbbs.org ==-
Sorry...剛剛的回答錯了...看錯了問題.....正確source code應該如下
Private Declare Function GetSystemMenu Lib "user32" _
Alias "GetSystemMenu" (ByVal hwnd As Long, _
ByVal bRevert As Long) As Long
Private Declare Function RemoveMenu Lib "user32" _
Alias "RemoveMenu" (ByVal hMenu As Long, _
ByVal nPosition As Long, ByVal wFlags As Long) As Long
Const MF_BYPOSITION = &H400
Private Sub Form_Load()
Dim SystemMenu As Long
Dim RES As Long
SystemMenu = GetSystemMenu(hwnd, 0)
RES = RemoveMenu(SystemMenu, 5, MF_BYPOSITION)
RES = RemoveMenu(SystemMenu, 5, MF_BYPOSITION)
End Sub
--
有很多簡單的VB小程式,還有RS-232,RJ-45...等
傳輸的問題與程式
http://mail.ht.net.tw/~maskh
請幫我多家點人氣
--
◎ [1;31m龍 [32m貓 [33m資 [34m訊 [35m天 [36m地 [0m( [1mbbs.mgt.ncu.edu.tw [0m)
◎[ [1;33;46mmasktsai [0m]From: sw107-221.adsl.seed.net.tw