⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messagebox.h

📁 多媒体电话记录程序
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
//  Name: messagebox.h
//  Copyright: wellgain
//  Author: bet
//  Date: 2003-10-21
//  Description:  interface for the MessageBox function.
/////////////////////////////////////////////////////////////////////////////
#ifndef _WG_MESSAGEBOX_H_
#define _WG_MESSAGEBOX_H_

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

typedef unsigned int UINT;

#ifdef ARM
	#define MSGBOX_XPMFILEPATH	"/root/xpm/public/"
#else
	#define MSGBOX_XPMFILEPATH	"/home/an/bet/xpm/"
#endif // ARM 

enum Stock_Icon { stock_none=0, 
				  stock_error, 
				  stock_info, 
				  stock_question, 
				  stock_warning 
				};

// buttons
#define MB_Yes				1<<0
#define MB_YesAll			1<<1
#define MB_No				1<<2
#define MB_OK				1<<3
#define MB_Cancel			1<<4

// response
#define ID_Yes				MB_Yes
#define ID_YesAll			MB_YesAll
#define ID_No				MB_No
#define ID_OK				MB_OK
#define ID_Cancel			MB_Cancel

#define ID_None				0


int MessageBox(const char* szText, const char* szCaption, 
			   int icon, UINT uType);




#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif // _WG_MESSAGEBOX_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -