[CALC] Add support for HTML-Help. CORE-15019

This commit is contained in:
Carlo-Bramini 2018-08-06 20:22:36 +02:00 committed by Hermès Bélusca-Maïto
parent ec1b499aac
commit f6c565bc22
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 94 additions and 4 deletions

View file

@ -51,6 +51,22 @@
#define MAX_CALC_SIZE 256
/* HTMLHELP SUPPORT */
typedef HWND (WINAPI* type_HtmlHelpA)(HWND, LPCSTR, UINT, DWORD);
typedef HWND (WINAPI* type_HtmlHelpW)(HWND, LPCWSTR, UINT, DWORD);
extern type_HtmlHelpA calc_HtmlHelpA;
extern type_HtmlHelpW calc_HtmlHelpW;
#ifndef UNICODE
#define calc_HtmlHelp calc_HtmlHelpA
#else
#define calc_HtmlHelp calc_HtmlHelpW
#endif
void HtmlHelp_Start(HINSTANCE hInstance);
void HtmlHelp_Stop(void);
/*#define USE_KEYBOARD_HOOK*/
#define SIZEOF(_ar) (sizeof(_ar)/sizeof(_ar[1]))