mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
[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:
parent
7410f3a036
commit
5956c4372a
|
@ -18,6 +18,6 @@ list(APPEND SOURCE
|
||||||
|
|
||||||
add_executable(mspaint ${SOURCE} rsrc.rc)
|
add_executable(mspaint ${SOURCE} rsrc.rc)
|
||||||
set_module_type(mspaint win32gui UNICODE)
|
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_pch(mspaint precomp.h SOURCE)
|
||||||
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
#include <htmlhelp.h>
|
||||||
|
|
||||||
#include "definitions.h"
|
#include "definitions.h"
|
||||||
#include "drawing.h"
|
#include "drawing.h"
|
||||||
|
|
|
@ -700,7 +700,7 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case IDM_HELPHELPTOPICS:
|
case IDM_HELPHELPTOPICS:
|
||||||
//HtmlHelp(hMainWnd, "help\\Paint.chm", 0, 0);
|
HtmlHelp(hMainWnd, _T("help\\Paint.chm"), 0, 0);
|
||||||
break;
|
break;
|
||||||
case IDM_FILEEXIT:
|
case IDM_FILEEXIT:
|
||||||
SendMessage(hwnd, WM_CLOSE, wParam, lParam);
|
SendMessage(hwnd, WM_CLOSE, wParam, lParam);
|
||||||
|
|
|
@ -4,7 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
|
|
||||||
add_definitions(-D__WINESRC__)
|
add_definitions(-D__WINESRC__)
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
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
|
list(APPEND SOURCE
|
||||||
chm.c
|
chm.c
|
||||||
|
|
Loading…
Reference in a new issue