VCMenu
所属分类:工具条
开发工具:Visual C++
文件大小:350KB
下载次数:1293
上传日期:2001-01-01 00:00:00
上 传 者:
管理员
说明: 类似VC/Office97那样的可以随意移动的菜单和工具条
(The menu and toolbar which can be moved as that in VC/office97)
文件列表:
COPYING (18321, 1991-06-18)
history.txt (2738, 1998-06-26)
Include (0, 1998-06-26)
Include\commctrl.h (185297, 1997-11-12)
Include\NGenericDockBar.h (1522, 1998-06-26)
Include\NGenericMenu.h (3941, 1998-06-26)
Include\NGenericPopup.h (3192, 1998-04-23)
Include\NGenericToolBar.h (5165, 1998-06-26)
Include\NGToolbar.h (774, 1998-04-17)
Include\NMDIClient.h (2021, 1998-04-17)
Include\NMDIMenuFrameWnd.h (2723, 1998-04-23)
Include\NMiniDockFrameWnd.h (1406, 1998-04-17)
Include\NSDIMenuFrameWnd.h (2695, 1998-04-23)
Lib (0, 1998-06-26)
Lib\mditest.exe (46080, 1998-06-26)
Lib\NGTLB10D.dll (93696, 1998-06-26)
Lib\NGTLB10D.lib (39568, 1998-06-26)
Lib\NGTLB10D.pdb (582656, 1998-06-26)
Lib\NGTLB10R.dll (50688, 1998-06-26)
Lib\NGTLB10R.lib (39568, 1998-06-26)
Lib\sditest.exe (41472, 1998-06-26)
Samples (0, 1998-06-11)
Samples\MDI (0, 1998-06-26)
Samples\MDI\ChildFrm.cpp (1497, 1998-04-17)
Samples\MDI\ChildFrm.h (1403, 1998-04-17)
Samples\MDI\MainFrm.cpp (2670, 1998-04-23)
Samples\MDI\MainFrm.h (1550, 1998-04-17)
Samples\MDI\MDITest.cpp (4357, 1998-04-17)
Samples\MDI\MDITest.dsp (5099, 1998-04-23)
Samples\MDI\MDITest.dsw (537, 1998-04-23)
Samples\MDI\MDITest.h (1377, 1998-04-17)
Samples\MDI\MDITest.rc (14955, 1998-04-23)
Samples\MDI\MDITestDoc.cpp (1762, 1998-04-17)
Samples\MDI\MDITestDoc.h (1494, 1998-04-17)
Samples\MDI\MDITestView.cpp (2611, 1998-04-17)
Samples\MDI\MDITestView.h (1913, 1998-04-17)
Samples\MDI\res (0, 1998-06-11)
Samples\MDI\resource.h (1119, 1998-04-23)
... ...
VC/Office style dockable menus & toolbars
-----------------------------------------
Copyright (C) 19*** Tony Hoyle (tmh@netfusion.co.uk)
Portions Copyright (C) 19*** George H. Stahl (GStahl@VipMail.Com)
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
----------------------------------------------------------------------------------
Requirements:
VC++5 with service pack 3.
comctl32.dll 4.71 or above (install 40comupd to be sure).
Simple usage:
Create an MDI or SDI app
Add the following to the end of your stdafx.h
#define AUTO_SUBCLASS
#include
Complex(!) usage:
Derive your main frame from CNMDIFrameWnd or CNSDIFrameWnd
Use CNGenericToolBar instead of CToolBar
You can set the text that appears on the toolbar buttons by
putting a third 'line' in its associated text (eg. xxx\nyyyy\nzzz).
To set the startup state of a toolbar call CNGenericToolBar::SetVisualState.
Create an IconMap array and add call to SetIconMap inside your CMainFrame::OnCreate
Known bugs:
There is no close/minimise button on the menu bar when you maximise an MDI app, however
the system menu icon can be used.
A small minority of Win95 installations have problems drawing the menu bar. This seems to
be incurable as it is impossible to reproduce on 99% of machines (including every one I have
access to).
Rebuilding NGTLB10x.DLL:
Requirements:
VC++5 with service pack 3.
comctl32.dll 4.71 or above.
Up to date commctrl.h
Build will create NGTLB10R.DLL for release and NGTLB10D.DLL for debug.
Library inclusion is automatic (see NGToolbar.h)
Tony Hoyle
April 19***
近期下载者:
相关文件:
收藏者: