91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

使用了SQL Server2000數據庫,實現了一個商品銷售管理系統,是一個學習編程的好例子。對我們很有用

資源截圖

代碼片段和文件信息

//*************************************************************************
//?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);

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????88816??2006-02-28?13:53??purchase\code\BCMenu.cpp

?????文件??????16478??2006-02-28?13:53??purchase\code\BCMenu.h

?????文件??????52061??2006-02-28?13:53??purchase\code\BtnST.cpp

?????文件???????8392??2006-02-28?13:53??purchase\code\BtnST.h

?????文件??????38963??2006-02-28?13:53??purchase\code\Database.cpp

?????文件???????3880??2006-02-28?13:53??purchase\code\Database.h

?????文件???????9910??2006-02-28?13:53??purchase\code\DlgCancelin.cpp

?????文件???????2094??2006-02-28?13:53??purchase\code\DlgCancelin.h

?????文件???????4063??2006-02-28?13:53??purchase\code\DlgDepartment.cpp

?????文件???????1612??2006-02-28?13:53??purchase\code\DlgDepartment.h

?????文件???????9293??2006-02-28?13:53??purchase\code\DlgEmployee.cpp

?????文件???????2018??2006-02-28?13:53??purchase\code\DlgEmployee.h

?????文件???????7096??2006-02-28?13:53??purchase\code\DlgIntostorage.cpp

?????文件???????1928??2006-02-28?13:53??purchase\code\DlgIntostorage.h

?????文件???????6394??2006-02-28?13:53??purchase\code\DlgKcgl.cpp

?????文件???????1763??2006-02-28?13:53??purchase\code\DlgKcgl.h

?????文件???????6888??2006-02-28?13:53??purchase\code\DlgOperator.cpp

?????文件???????1925??2006-02-28?13:53??purchase\code\DlgOperator.h

?????文件??????19210??2006-02-28?13:53??purchase\code\DlgPrint.cpp

?????文件???????1257??2006-02-28?13:53??purchase\code\DlgPrint.h

?????文件???????3668??2006-02-28?13:53??purchase\code\DlgRoleinfo.cpp

?????文件???????1472??2006-02-28?13:53??purchase\code\DlgRoleinfo.h

?????文件???????8158??2006-02-28?13:53??purchase\code\DlgSpxxgl.cpp

?????文件???????1874??2006-02-28?13:53??purchase\code\DlgSpxxgl.h

?????文件??????10814??2006-02-28?13:53??purchase\code\DlgStockApply.cpp

?????文件???????2222??2006-02-28?13:53??purchase\code\DlgStockApply.h

?????文件???????4333??2006-02-28?13:53??purchase\code\DlgSysFunctionInfo.cpp

?????文件???????1706??2006-02-28?13:53??purchase\code\DlgSysFunctionInfo.h

?????文件????????150??2006-02-28?13:53??purchase\code\image\bmp_back.bmp

?????文件???????1078??2006-02-28?13:53??purchase\code\image\preview.ico

............此處省略56個文件信息

評論

共有 條評論