Welcome to mirror list, hosted at ThFree Co, Russian Federation.

HelpUtils.cpp « FileManager « UI « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3128cb283741578607400735fb5887c758213955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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