home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.MDIForm MDIForm1
- BackColor = &H8000000F&
- Caption = "MDIForm1"
- ClientHeight = 5580
- ClientLeft = 990
- ClientTop = 2340
- ClientWidth = 6240
- LinkTopic = "MDIForm1"
- Begin VB.PictureBox Picture1
- Align = 1 'Align Top
- Height = 375
- Left = 0
- Picture = "mdiPnt1B.frx":0000
- ScaleHeight = 345
- ScaleWidth = 6210
- TabIndex = 0
- Top = 0
- Visible = 0 'False
- Width = 6240
- End
- Attribute VB_Name = "MDIForm1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- ' Copyright
- 1996-1997 by Desaware Inc. All Rights Reserved
- Private Const GWL_WNDPROC = (-4)
- ' GetWindow() Constants
- Private Sub MDIForm_Load()
- Dim usewnd&
- usewnd = GetWindow(hWnd, GW_CHILD)
- ' Subclass the MDI client window
- OldWindowProc = GetWindowLong(usewnd, GWL_WNDPROC)
- Call SetWindowLong(usewnd, GWL_WNDPROC, AddressOf SubClass1_WndMessage)
- Form1.Show
- End Sub
- Private Sub MDIForm_Unload(Cancel As Integer)
- Dim usewnd&
- usewnd = GetWindow(hWnd, GW_CHILD)
- Call SetWindowLong(usewnd, GWL_WNDPROC, OldWindowProc)
- End Sub
-