whycyhl
2022-05-05 94861120b14313f81fc666e612c48c9e8a81f1e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/************************** Copyright (c) **********************************
**                 FUZHOU FUGUANG ELECTRONICS Co.,LTD.
**                        ¸£Öݸ£¹âµç×ÓÓÐÏÞ¹«Ë¾
**                       http://www.fuguang.com
**
**-------------- File Info -------------------------------------------------
** File name:            MessageBox.h
** Last modified Date:  2008-11-16
** Last Version:        1.0
** Descriptions:        Display a message box contented some message and buttons
**
**--------------------------------------------------------------------------
** Created by:            mxpopstar
** Created date:        2008-11-16
** Version:                1.0
** Descriptions:        The original version
**
**--------------------------------------------------------------------------
** Modified by:            mxpopstar
** Modified date:        2008-11-20
** Version:
** Descriptions:        Display a message box contented some message and buttons
**
***************************************************************************/
//
#ifndef MSGBOX_H
#define MSGBOX_H
 
#define MB_YESNO    0
#define MB_OK        1
 
unsigned char DSPMessageBox(const unsigned char *caption, unsigned char captionlen, 
                            const unsigned char btn, const unsigned char alarmtype);//16¿íµÄ×Ö£¬¼ä¸ôС
unsigned char DSPMessageBox1(const unsigned char *caption, unsigned char captionlen, 
                            const unsigned char btn, const unsigned char alarmtype);//12¿íµÄ×Ö£¬¼ä¸ô´ó
unsigned char DSPMessageBox2(const unsigned char *caption, unsigned char captionlen, 
                            const unsigned char btn, const unsigned char alarmtype);//16¿íµÄ×Ö£¬¼ä¸ô´ó
unsigned char DSPMessageBox3(const unsigned char *caption, unsigned char captionlen, 
                            const unsigned char btn, const unsigned char alarmtype);
unsigned char DSPMessageBox4(const unsigned char *caption, unsigned char captionlen, 
                            const unsigned char btn, const unsigned char alarmtype,unsigned char index1,unsigned char index2);
void GetMSGBoxButtonDown(void);
unsigned char DSPMessageBoxNull(void);
void TerminateMSGBox(void);
unsigned int GetFirstCharPOS(void);
void PostBoxMessage(const unsigned char *msg, const unsigned char len);
void AppendBoxMessage(void);
 
#endif
//