mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
26 lines
491 B
C++
26 lines
491 B
C++
// HelpUtils.cpp
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include <HtmlHelp.h>
|
|
|
|
#include "../../../Common/StringConvert.h"
|
|
|
|
#include "../../../Windows/DLL.h"
|
|
|
|
#include "HelpUtils.h"
|
|
|
|
static LPCWSTR kHelpFileName = L"7-zip.chm::/";
|
|
|
|
#ifdef UNDER_CE
|
|
void ShowHelpWindow(HWND, LPCWSTR)
|
|
{
|
|
}
|
|
#else
|
|
void ShowHelpWindow(HWND hwnd, LPCWSTR topicFile)
|
|
{
|
|
FString path = NWindows::NDLL::GetModuleDirPrefix();
|
|
HtmlHelp(hwnd, GetSystemString(fs2us(path) + kHelpFileName + topicFile), HH_DISPLAY_TOPIC, NULL);
|
|
}
|
|
#endif
|