void ShowContextHelp(CWnd* pWnd, POINT pt, int iCtrlID)
{
CString s; // Load help text from String Table
if(s.LoadString(iCtrlID))
{
HH_POPUP hPop; // HTML Help popup structure // Initialize structure to NULLs
memset(&hPop, 0, sizeof(hPop)); // Set size of structure
hPop.cbStruct = sizeof(hPop); // Yellow background color
hPop.clrBackground = RGB(255, 255, 208); hPop.clrForeground = -1; // Font color
hPop.rcMargins.left = -1;
hPop.rcMargins.bottom = -1;
hPop.rcMargins.right = -1;
hPop.pt = pt;
hPop.pszText = s; // Message from String Table
hPop.pszFont = NULL; // Font HtmlHelp(pWnd->GetSafeHwnd(),NULL,HH_DISPLAY_TEXT_POPUP,(DWORD)&hPop);
} // End if found a help string for this request
}编译时说,
'HH_POPUP' : undeclared identifier
'HtmlHelp' : undeclared identifier
'HH_DISPLAY_TEXT_POPUP' : undeclared identifier请问需要包含什么,才能解决问题!!!
{
CString s; // Load help text from String Table
if(s.LoadString(iCtrlID))
{
HH_POPUP hPop; // HTML Help popup structure // Initialize structure to NULLs
memset(&hPop, 0, sizeof(hPop)); // Set size of structure
hPop.cbStruct = sizeof(hPop); // Yellow background color
hPop.clrBackground = RGB(255, 255, 208); hPop.clrForeground = -1; // Font color
hPop.rcMargins.left = -1;
hPop.rcMargins.bottom = -1;
hPop.rcMargins.right = -1;
hPop.pt = pt;
hPop.pszText = s; // Message from String Table
hPop.pszFont = NULL; // Font HtmlHelp(pWnd->GetSafeHwnd(),NULL,HH_DISPLAY_TEXT_POPUP,(DWORD)&hPop);
} // End if found a help string for this request
}编译时说,
'HH_POPUP' : undeclared identifier
'HtmlHelp' : undeclared identifier
'HH_DISPLAY_TEXT_POPUP' : undeclared identifier请问需要包含什么,才能解决问题!!!
解决方案 »
- sendinput的疑问
- 能否在OnEraseBkgnd或者OnPaint函数中调用Invalidate函数立即刷新窗口?
- vc 鼠标拖动图像 闪烁
- WSAAsyncSelect(异步选择) 的问题
- 自动计划(autoplan)源代码***强烈推荐
- 获得我copy到剪贴板上的内容
- ReadProcessMemory函数读出不正确数据
- 求一个 bindiocompletion 线程池实现的套接字通信例子
- 新人请教关于ADO中打开记录集的问题
- 请教!!!!!!!!!!!!!
- 求助:开发COM中,如何同一库中的一个COM中创建另一个COM对象?
- OnDeviceChange函数问题,紧急!!!!在线等…………100分
不过还是要谢大哥!!!