| Line |   | 
|---|
| 1 | '=============================================================================
 | 
|---|
| 2 | '  Event Procedures
 | 
|---|
| 3 | '=============================================================================
 | 
|---|
| 4 | ' You input event codes of window[MainWnd].
 | 
|---|
| 5 | ' Window Handle: hMainWnd
 | 
|---|
| 6 | 
 | 
|---|
| 7 | ' TODO: Add code here to define global variables or objects or constants or functions.
 | 
|---|
| 8 | 
 | 
|---|
| 9 | 
 | 
|---|
| 10 | '-----------------------------------------------------------------------------
 | 
|---|
| 11 | ' Callback function to process window messages
 | 
|---|
| 12 | '-----------------------------------------------------------------------------
 | 
|---|
| 13 | 
 | 
|---|
| 14 | Function MainWndProc(hWnd As HWND, dwMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT
 | 
|---|
| 15 |     ' TODO: Add code here to process window messages.
 | 
|---|
| 16 | 
 | 
|---|
| 17 |     ' Call the default event procedure.
 | 
|---|
| 18 |     MainWndProc=EventCall_MainWnd(hWnd,dwMsg,wParam,lParam)
 | 
|---|
| 19 | End Function
 | 
|---|
| 20 | 
 | 
|---|
| 21 | 
 | 
|---|
| 22 | '-----------------------------------------------------------------------------
 | 
|---|
| 23 | ' The following is Event Procedures
 | 
|---|
| 24 | '-----------------------------------------------------------------------------
 | 
|---|
| 25 | 
 | 
|---|
| 26 | Sub MainWnd_Destroy()
 | 
|---|
| 27 |     #name#_DestroyObjects()
 | 
|---|
| 28 |     PostQuitMessage(0)
 | 
|---|
| 29 | End Sub
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.