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

  • 大小: 223KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-12
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: VC2013??

資源簡(jiǎn)介

基于Visual Studio 2013 C++軟件和CnComm v1.51串口類及CButtonST類設(shè)計(jì)的串口調(diào)試助手。可以直接作為串口調(diào)試助手使用,也可以自己在此基礎(chǔ)上添加新的功能。

資源截圖

代碼片段和文件信息

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

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-05?07:59??UartDemo\
?????目錄???????????0??2018-01-05?15:42??UartDemo\Debug\
?????目錄???????????0??2018-01-05?15:42??UartDemo\Release\
?????目錄???????????0??2018-01-05?15:42??UartDemo\UartDemo\
?????文件???????88880??2018-01-04?14:30??UartDemo\UartDemo\BCMenu.cpp
?????文件???????88841??2018-01-04?11:08??UartDemo\UartDemo\BCMenu.cpp.bak
?????文件???????16478??2002-03-31?11:20??UartDemo\UartDemo\BCMenu.h
?????文件???????70028??2014-03-24?23:40??UartDemo\UartDemo\BtnST.cpp
?????文件???????10401??2014-03-24?23:24??UartDemo\UartDemo\BtnST.h
?????文件???????56954??2009-08-30?09:26??UartDemo\UartDemo\CnComm.h
?????文件??????113680??2018-01-05?15:20??UartDemo\UartDemo\UartDemo.aps
?????文件????????2400??2018-01-02?13:40??UartDemo\UartDemo\UartDemo.cpp
?????文件?????????455??2018-01-02?13:40??UartDemo\UartDemo\UartDemo.h
?????文件??????????58??2018-01-02?13:40??UartDemo\UartDemo\UartDemo.opensdf
?????文件???????14492??2018-01-05?15:20??UartDemo\UartDemo\UartDemo.rc
?????文件???????21504??2018-01-04?08:17??UartDemo\UartDemo\UartDemo.v12.suo
?????文件????????6471??2018-01-05?15:41??UartDemo\UartDemo\UartDemo.vcxproj
?????文件????????2678??2018-01-03?22:48??UartDemo\UartDemo\UartDemo.vcxproj.filters
?????文件?????????165??2018-01-05?15:39??UartDemo\UartDemo\UartDemo.vcxproj.user
?????文件???????19519??2018-01-05?15:38??UartDemo\UartDemo\UartDemoDlg.cpp
?????文件????????1993??2018-01-05?15:14??UartDemo\UartDemo\UartDemoDlg.h
?????目錄???????????0??2018-01-05?07:59??UartDemo\UartDemo\res\
?????文件????????1598??2018-01-03?10:27??UartDemo\UartDemo\res\RED.ico
?????文件???????67777??2013-07-22?01:18??UartDemo\UartDemo\res\UartDemo.ico
?????文件?????????672??2018-01-02?13:40??UartDemo\UartDemo\res\UartDemo.rc2
?????文件????????1078??2018-01-03?10:02??UartDemo\UartDemo\res\green.ico
?????文件????????3342??2018-01-05?15:14??UartDemo\UartDemo\resource.h
?????文件?????????141??2018-01-02?13:40??UartDemo\UartDemo\stdafx.cpp
?????文件????????1805??2018-01-04?14:14??UartDemo\UartDemo\stdafx.h
?????文件?????????234??2018-01-02?13:40??UartDemo\UartDemo\targetver.h
?????文件?????????970??2018-01-02?13:40??UartDemo\UartDemo.sln
............此處省略1個(gè)文件信息

評(píng)論

共有 條評(píng)論