mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
24 lines
471 B
C++
Executable File
24 lines
471 B
C++
Executable File
// 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
|