Caption = "Notice the new System Menu bitmap. Using VB Messenger, you can trap non-client area messages to change the look of Windows itself. This sample traps WM_NCPAINT and WM_NCACTIVATE to detect when to draw the system menu bitmap. Also, VB Messenger is used to change the behavior of the system menu. By trapping the WM_NCLBUTTONDOWN message, you can allow the user to close a window simply by clicking the system menu once instead of twice."
Height = 2025
Left = 510
TabIndex = 1
Top = 660
Width = 5355
End
End
Option Explicit
Sub DrawBitmapNCArea (hWindow As Integer, hbmp As Integer, cxLeft As Integer, cyTop As Integer)