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

📄 messagebox.c

📁 图像处理的压缩算法
💻 C
字号:
/*------------------------------------------------------------------------------*
 * File Name: MessageBox.c														*
 * Creation: GJL, 7/14/2003														*
 * Purpose: OriginC Source C file for message box example.						*
 * Copyright (c) OriginLab Corp.			2003, 2004, 2005, 2006, 2007		*
 * All Rights Reserved															*
 *------------------------------------------------------------------------------*/
 
#include <origin.h>

void MessageBoxEx()
{
	int iRet;
	string strMsg;

	// This is an OK/Cancel message box with a question mark icon that
	// is modal with respect to the active Origin window
	iRet = MessageBox(GetWindow(), "Click OK to continue and Cancel to abort.",
		"An OK/Cancel Message Box", MB_OKCANCEL | MB_ICONQUESTION);

	if( IDOK == iRet )
		strMsg =  "You clicked OK.";
	else
		strMsg =  "You clicked Cancel.";

	// This is a modeless OK message box with no icon and a default title
	iRet = MessageBox(NULL, strMsg);
}

⌨️ 快捷键说明

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