mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-02-01 00:24:14 -06:00
4.53 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
33ccab7e72
commit
051769bbc5
Executable
+23
@@ -0,0 +1,23 @@
|
||||
// HelpUtils.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include <HtmlHelp.h>
|
||||
|
||||
#include "Common/StringConvert.h"
|
||||
#include "HelpUtils.h"
|
||||
#include "ProgramLocation.h"
|
||||
|
||||
static LPCWSTR kHelpFileName = L"7-zip.chm::/";
|
||||
|
||||
void ShowHelpWindow(HWND hwnd, LPCWSTR topicFile)
|
||||
{
|
||||
UString path;
|
||||
if (!::GetProgramFolderPath(path))
|
||||
return;
|
||||
path += kHelpFileName;
|
||||
path += topicFile;
|
||||
HtmlHelp(hwnd, GetSystemString(path), HH_DISPLAY_TOPIC, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user