[MSPAINT]

enable the call to HtmlHelp (not working yet because of missing help file)
CORE-8738
 

svn path=/trunk/; revision=67147
This commit is contained in:
Christoph von Wittich 2015-04-11 06:21:09 +00:00
parent 7410f3a036
commit 5956c4372a
4 changed files with 4 additions and 3 deletions

View file

@ -18,6 +18,6 @@ list(APPEND SOURCE
add_executable(mspaint ${SOURCE} rsrc.rc)
set_module_type(mspaint win32gui UNICODE)
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
add_importlibs(mspaint hhctrl comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
add_pch(mspaint precomp.h SOURCE)
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)

View file

@ -13,6 +13,7 @@
#include <tchar.h>
#include <stdlib.h>
#include <shellapi.h>
#include <htmlhelp.h>
#include "definitions.h"
#include "drawing.h"

View file

@ -700,7 +700,7 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
break;
}
case IDM_HELPHELPTOPICS:
//HtmlHelp(hMainWnd, "help\\Paint.chm", 0, 0);
HtmlHelp(hMainWnd, _T("help\\Paint.chm"), 0, 0);
break;
case IDM_FILEEXIT:
SendMessage(hwnd, WM_CLOSE, wParam, lParam);

View file

@ -4,7 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(hhctrl.ocx hhctrl.ocx.spec)
spec2def(hhctrl.ocx hhctrl.ocx.spec ADD_IMPORTLIB)
list(APPEND SOURCE
chm.c