CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - INT 1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - INT 1 - List
[
Menu control
]
Cryptix_src_3-0-3
DL : 0
1.BOOL OnCommsCreate(CWnd* pParentWnd) 创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。 2. BOOL OnComportOpen() 根据串口设置文件中的设置参数,打开多串口。 3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind) 往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。 4.void OnMscommsSet() 打开串口设置界面,改变串口设置,并保存到设置文件中。 5.BOOL OnComportTimerProcess(CString strProcess[MaxPort]) 判断串口接收的一组数据是否已经接收完。 6. BOOL OnPopupDialog() 打开串口收发数据显示调试界面。 7. BOOL OnGetPortUse(unsigned int uiCom) . 判断指定串口是否使用。 8. BOOL OnGetPortExit(unsigned int uiCom) 判断指定串口在本机上是否存在。 9. void OnPortClose(unsigned int uiCom) 关闭指定串口。 10. void OnPortOpen(unsigned int uiCom) 打开指定串口。 11. void OnCloseAllPorts() 关闭所有串口。 12. void OnOpenAllPorts() 打开所有串口。 -1.BOOL OnCommsCreate (CWnd * pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the parameters set to open multiple serial. 3.void OnCommSend (unsigned int uiCom, redeem sSendData, unsigned int uiKind) sent to the designated serial data. UiCom them for a specific serial port, a serial port to the uiCom 0; SSendData to be sent to the string; UiKind : Send data types : 0 : raw data 1 : Add two carriage returns : plus checksum. 4. OnMscommsSet void () set to open serial interface, serial port settings and set up to preserve documents. 5. BOOL OnComportTimerProcess (redeem strProcess [MaxPort]) Serial judgment of a group receiving data has been received End. 6. BOOL OnPopupDialog ()
Date
: 2008-10-13
Size
: 899.55kb
User
:
刘伟
[
Menu control
]
MyCoolMenu22
DL : 0
void CMyMenu::ChangeToOwnerDraw(CMyMenu *pMyMenu) { CString str //use to hold the caption temporarily CMyMenu* pMenu //use to hold the sub menu CMyMenuData* pMenuData //use to hold the menu data //get the number of the menu items of the parent menu int iMenuCount = pMyMenu->GetMenuItemCount() UINT nID //use to hold the identifier of the menu items
Date
: 2008-10-13
Size
: 17.87kb
User
:
郭文三
[
Menu control
]
moasicmenu
DL : 0
1. MyCoolMenu22.zip,18KB,下载 0 次,void CMyMenu::ChangeToOwnerDraw(CMyMenu *pMyMenu) { CString str //use to hold the caption temporarily CMyMenu* pMenu //use to hold the sub menu CMyMenuData* pMenuData //use to hold the menu data //get the number of the menu items of the parent menu int iMenuCount = pMyMenu->GetMenuItemCount() UINT nID //use to hold the identifier of the menu items
Date
: 2008-10-13
Size
: 6.59mb
User
:
郭文三
[
Menu control
]
sum
DL : 0
code segment assume cs:code sum_p proc near jcxz exit add ax,cx dec cx call sum_p exit: ret sum_p endp start: mov ax,2000h mov ds,ax mov ax,0 mov si,0 mov cx,7 call sum_p mov [si],ax mov ah,4ch int 21h code ends end start-code segment assume cs: codesum_p proc near jcxz exit add ax, cx dec cx call sum_pexit: retsum_p endpstart: mov ax, 2000h mov ds, ax mov ax, 0 mov si, 0 mov cx, 7 call sum_p mov [si], ax mov ah, 4ch int 21hcode ends end start
Date
: 2026-01-09
Size
: 2kb
User
:
陨石
[
Menu control
]
moasicmenu
DL : 0
1. MyCoolMenu22.zip,18KB,下载 0 次,void CMyMenu::ChangeToOwnerDraw(CMyMenu *pMyMenu) { CString str //use to hold the caption temporarily CMyMenu* pMenu //use to hold the sub menu CMyMenuData* pMenuData //use to hold the menu data //get the number of the menu items of the parent menu int iMenuCount = pMyMenu->GetMenuItemCount() UINT nID //use to hold the identifier of the menu items-1. MyCoolMenu22.zip, 18KB, download 0 times, void CMyMenu:: ChangeToOwnerDraw (CMyMenu* pMyMenu) (CString str// use to hold the caption temporarily CMyMenu* pMenu// use to hold the sub menu CMyMenuData* pMenuData// use to hold the menu data// get the number of the menu items of the parent menu int iMenuCount = pMyMenu-
Date
: 2026-01-09
Size
: 13.63mb
User
:
郭文三
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.