资源简介
商品销售管理系统C++ + SQL2000开发商品销售管理系统C++ + SQL2000开发
代码片段和文件信息
//*************************************************************************
// BCMenu.cpp : implementation file
// Version : 3.02
// Date : March 2002
// Author : Brent Corkum
// Email : corkum@rocscience.com
// Latest Version : http://www.rocscience.com/~corkum/BCMenu.html
//
// Bug Fixes and portions of code supplied by:
//
// Ben AshleyGirish BharadwajJean-Edouard Lachand-Robert
// Robert Edward CaldecottKenny GoersLeonardo Zide
// Stefan KuhrReiner JungMartin VladicKim Yoo Chul
// Oz SolomonovichTongzhe CuiStephane ClogWarren Stevens
// Damir ValiulinDavid KinderMarc Loiry
//
// You are free to use/modify this code but leave this header intact.
// This class is public domain so you are free to use it any of
// your applications (FreewareSharewareCommercial). All I ask is
// that you let me know so that if you have a real winner I can
// brag to my buddies that some of my code is in your app. I also
// wouldn‘t mind if you sent me a copy of your application since I
// like to play with new stuff.
//*************************************************************************
#include “stdafx.h“ // Standard windows header file
#include “BCMenu.h“ // BCMenu class declaration
#include //SK: makes A2W and other spiffy AFX macros work
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define BCMENU_GAP 1
#ifndef OBM_CHECK
#define OBM_CHECK 32760 // from winuser.h
#endif
#if _MFC_VER <0x400
#error This code does not work on Versions of MFC prior to 4.0
#endif
static CPINFO CPInfo;
// how the menu‘s are drawn in win9x/NT/2000
UINT BCMenu::original_drawmode=BCMENU_DRAWMODE_ORIGINAL;
BOOL BCMenu::original_select_disabled=TRUE;
// how the menu‘s are drawn in winXP
UINT BCMenu::xp_drawmode=BCMENU_DRAWMODE_XP;
BOOL BCMenu::xp_select_disabled=FALSE;
BOOL BCMenu::xp_draw_3D_bitmaps=TRUE;
CImageList BCMenu::m_AllImages;
CArray BCMenu::m_AllImagesID;
enum Win32Type{
Win32s
WinNT3
Win95
Win98
WinME
WinNT4
Win2000
WinXP
};
Win32Type IsShellType()
{
Win32Type ShellType;
DWORD winVer;
OSVERSIONINFO *osvi;
winVer=GetVersion();
if(winVer<0x80000000){/*NT */
ShellType=WinNT3;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
GetVersionEx(osvi);
if(osvi->dwMajorVersion==4L)ShellType=WinNT4;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==0L)ShellType=Win2000;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==1L)ShellType=WinXP;
free(osvi);
}
}
else if (LOBYTE(LOWORD(winVer))<4)
ShellType=Win32s;
else{
ShellType=Win95;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1179648 2006-02-28 13:53 商品销售管理\databa
文件 1048576 2006-02-28 13:53 商品销售管理\databa
文件 88816 2006-02-28 13:53 商品销售管理\源程序\BCMenu.cpp
文件 16478 2006-02-28 13:53 商品销售管理\源程序\BCMenu.h
文件 52061 2006-02-28 13:53 商品销售管理\源程序\BtnST.cpp
文件 8392 2006-02-28 13:53 商品销售管理\源程序\BtnST.h
文件 51647 2006-02-28 13:53 商品销售管理\源程序\Databa
文件 5046 2006-02-28 13:53 商品销售管理\源程序\Databa
文件 305784 2006-02-28 13:53 商品销售管理\源程序\Debug\BCMenu.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\BCMenu.sbr
文件 80415 2006-02-28 13:53 商品销售管理\源程序\Debug\BtnST.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\BtnST.sbr
文件 427564 2006-02-28 13:53 商品销售管理\源程序\Debug\Databa
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\Databa
文件 38992 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCancelInStock.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCancelInStock.sbr
文件 40753 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCancelSell.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCancelSell.sbr
文件 32009 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCustomerPay.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgCustomerPay.sbr
文件 32887 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgGysxxgl.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgGysxxgl.sbr
文件 28023 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgKcgl.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgKcgl.sbr
文件 32093 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgKhxxgl.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgKhxxgl.sbr
文件 16440 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgLogin.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgLogin.sbr
文件 59074 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgPrint.obj
文件 0 2006-02-28 13:53 商品销售管理\源程序\Debug\DlgPrint.sbr
............此处省略159个文件信息
- 上一篇:CF 透视 c++ 源代码
- 下一篇:CMFCToolBarVS2010
相关资源
- STM32F207通过http更新固件
- BOOTloder_stm32f407
- USB转LORA无线模块
- 国际象棋的qt源代码
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- CCS FFT c语言算法
- 通信过程中的RS编译码程序(c语言)
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- 3des加密算法C语言实现
- C++纯文字DOS超小RPG游戏
- 安科瑞智能电能表MODBUS通讯程序 VC6
- DES加密算法C语言实现
- 电子时钟 有C语言程序,PROTEUS仿真图
- VC++MFC小游戏实例教程(实例)+MFC类库
- C语言实现的DES对称加密算法
- c语言程序设计报告 程序大全
- DSDEMO-C演示(数据结构C语言版 严蔚敏
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- TC2.0DOSBOX
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
川公网安备 51152502000135号
评论
共有 条评论