?? display.h
字號(hào):
// Header file for display.c
/* Our GUI is quite simple. Because of this, we can afford to redraw
* the entire main window every time something happens on our Dialogic
* boards. Were we more GUI oriented, we should only redraw regions
* which need to be redrawn.
*/
#include <windows.h>
/***************************************************************************
* NAME: disp_init(hwnd)
* INPUTS: none
* DESCRIPTION: Initialize display for this program
*************************************************************************/
void disp_init(HWND hwnd);
/***************************************************************************
* NAME: disp_status(hwnd, chnum, stringp)
* INPUTS: chno - channel number (1 - 12)
* stringp - pointer to string to display
* DESCRIPTION: display the current activity on the channel in window 2
* (the string pointed to by stringp) using chno as a Y offset
*************************************************************************/
void disp_status(HWND hwnd, int chnum, char *strinp);
/***************************************************************************
* NAME: disp_status(hwnd, chnum, stringp)
* INPUTS: chno - channel number (1 - 12)
* stringp - pointer to string to display
* DESCRIPTION: display the current activity on the channel in window 2
* (the string pointed to by stringp) using chno as a Y offset
*************************************************************************/
void disp_status(HWND hwnd, int chnum, char *stringp);
/***************************************************************************
* NAME: disp_msg(hwnd, stringp)
* INPUTS: stringp - pointer to string to display.
* DESCRIPTION: display the string passed, in the primary message area of win2
*************************************************************************/
void disp_msg(HWND hwnd, char *stringp);
/***************************************************************************
* NAME: disp_err(hwnd, thr_num, chfd )
* DESCRIPTION: This routine prints error information.
* INPUTS: thr_num - thread number
* chfd - device descriptor
* OUTPUTS: The error code and error message are displayed
* CAUTIONS: none.
************************************************************************/
void disp_err(HWND hwnd, int thr_num, int chfd);
/***************************************************************************
* NAME: disp_clear(chnum)
* INPUTS: hwnd - main window handle
* DESCRIPTION: clears the status area of the window
*************************************************************************/
void disp_clear (HWND hwnd);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -