subcls328
MDI 

所属分类:菜单
开发工具:Visual C++
文件大小:45KB
下载次数:19
上传日期:2005-07-05 11:58:02
上 传 者huyifully
说明:   一个子类的源代码,包含菜单、MDI窗体背景等8个演示程序
(a subclass of the source code contains the menu, MDI Form 8 background Demonstration Program)

文件列表:
Examples\DropFile\DropFile.frm (4748, 1997-07-31)
Examples\DropFile\DropFile.vbp (576, 1997-07-31)
Examples\DropFile\DropFile.vbw (38, 1999-08-18)
Examples\Examples.txt (10021, 1997-07-31)
Examples\GetMinMx\GetMinMx.frm (2806, 1997-07-31)
Examples\GetMinMx\GetMinMx.vbp (576, 1997-07-31)
Examples\GetMinMx\GetMinMx.vbw (44, 1999-08-18)
Examples\InitMenu\InitMenu.frm (3430, 1997-07-31)
Examples\InitMenu\InitMenu.vbp (576, 1997-07-31)
Examples\InitMenu\InitMenu.vbw (44, 1999-08-18)
Examples\MDIPaint\MDIChild.frm (1548, 1997-07-31)
Examples\MDIPaint\MDIPaint.frm (7324, 1997-07-31)
Examples\MDIPaint\MDIPAINT.FRX (2096, 1997-07-31)
Examples\MDIPaint\MDIPaint.vbp (601, 1997-07-31)
Examples\MDIPaint\MDIPaint.vbw (90, 1999-08-18)
Examples\MenuSel\MenuSel.frm (5760, 1997-07-31)
Examples\MenuSel\MenuSel.frx (28, 1997-07-31)
Examples\MenuSel\MenuSel.vbp (618, 1997-08-04)
Examples\MenuSel\MenuSel.vbw (49, 1999-08-18)
Examples\OwnrDraw\OwnrDraw.frm (8416, 1997-07-31)
Examples\OwnrDraw\OwnrDraw.vbp (558, 1997-08-04)
Examples\OwnrDraw\OwnrDraw.vbw (50, 1999-08-18)
Examples\SysCmd\SysCmd.frm (3152, 1997-07-31)
Examples\SysCmd\SysCmd.vbp (570, 1997-07-31)
Examples\SysCmd\SysCmd.vbw (44, 1999-08-18)
Examples\WinPosCh\WinPosCh.frm (3338, 1997-07-31)
Examples\WinPosCh\WinPosCh.vbp (576, 1997-07-31)
Examples\WinPosCh\WinPosCh.vbw (44, 1999-08-18)
Source\Source.zip (8952, 1997-08-04)
Subclass.ocx (22016, 1997-08-04)

Subclass - Visual Basic subclassing control Copyright (c) 1997 SoftCircuits Programming (R) Redistributed by Permission. This package includes a VB-authored subclassing control. A subclassing control allows Visual Basic programs to detect messages for which Visual Basic does not provide direct support for. This controls is documented below. This package also includes a number of subclassing example programs. These examples are unzipped to the Examples directory (see Examples.txt for additional information). The Subclass OCX is freeware that you can use freely with your own programs. Any portion of the sample programs may also be incorporated into your own applications. However, you may only distribute Subclass.ocx as a) part of your own application that uses this control or b) within this complete and unmodified package (i.e., you may distribute the entire Subclass.zip file). In addition, the source code to the control is also included. However, to benefit everyone who uses this control, there are a number of limitations as to how that source code can be used. See Subclass.txt, which is in the same zip file as the Subclass source, for more information on using the control's source code. This example program was provided by: SoftCircuits Programming http://www.softcircuits.com P.O. Box 16262 Irvine, CA 92623 ====================================================================== Using Subclass.ocx ------------------ Note that you must register Subclass.ocx with the system registry in order to use it. To do this, select the Project/Components command within Visual Basic. Then check SoftCircuits Subclass Control from the list. NOTE: This control was not designed for, nor tested with, Visual Basic 4. Properties ---------- hWnd Handle of the window to be subclassed. Must be set at run time. Messages Specifies which messages you want to detect. Must be set at run time. The Messages property operates like an array and allows you to specify multiple messages like this: Subclass1.Messages(WM_MENUSELECT) = True 'Detect this message Subclass1.Messages(WM_SIZE) = True 'Detect this message Subclass1.Messages(WM_PAINT) = False 'Don't detect msg (default) Methods ------- CallWndProc Invokes the original window procedure. Invoke only from within the WndProc event. Events ------ WndProc This event is invoked when any of the specified messages are sent to the specified window. The arguments are specific to the message sent (see the Windows API documentation for details). The Result argument is the value returned to Windows. This argument is 0 by default.

近期下载者

相关文件


收藏者