MessageBox 实现机制
来源:互联网 发布:纹绣师上门软件 编辑:程序博客网 时间:2024/04/30 18:18
int
WINAPI
MessageBox(
HWND hWnd ,
LPSTR lpText,
LPSTR lpCaption ,
UINT uType,
DWORD dwTimeout
)
{
MESSAGEBOX_INFO mbi;
HANDLE hThread;
DWORD id;
mbi.hWnd = hWnd;
mbi.lpText = lpText;
mbi.lpCaption = lpCaption;
mbi.uType = uType;
hThread = CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)MessageBoxThread, &mbi, 0, &id);
if (!hThread) {
return 0;
}
if (WaitForSingleObject( hThread, dwTimeout ) == WAIT_TIMEOUT) {
TerminateThread( hThread, 0 );
return STATUS_TIMEOUT;
}
return mbi.dwResponse;
}
- MessageBox 实现机制
- Java实现MessageBox类
- win8中的”MessageBox“的实现
- C++ Builder实现MessageBox拦截
- MessageBox
- MessageBox()
- MessageBox
- MessageBox
- messageBox
- MessageBox
- MessageBox
- MessageBox()
- MessageBox
- MessageBox
- messagebox
- MessageBox
- MessageBox
- MessageBox
- 黑人解放运动
- Parse Fatal Error at line 1 column 7: The processing instruction target matching "[xX][mM][lL]" is not allowed.
- oprofile的使用方法
- 不知所云
- Dojo Style Guide
- MessageBox 实现机制
- 论软件项目的进度管理1-电力行业工作票
- SENS:系统事件通知服务 和 WMI 支持灵活而有效的移动网络计算
- 类模块
- Symbian使用freetype实现自定义字体功能
- CString类
- while循环控制表的样式
- .NET 2.0 VS .NET 1.0
- 作家鄭石岩