mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
[CALC][CLIPBRD][SOLITAIRE][SPIDER][NOTEPAD][REGEDIT][TASKMGR] Disable help menu/button
This commit is contained in:
parent
1cb019bd21
commit
6c16f12de5
8 changed files with 24 additions and 0 deletions
|
@ -1269,6 +1269,8 @@ static INT_PTR CALLBACK DlgMainProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
|
|||
return SubclassButtonProc(hWnd, wp, lp);
|
||||
|
||||
case WM_INITDIALOG:
|
||||
// For now, the Help dialog is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hWnd), IDM_HELP_HELP, MF_BYCOMMAND | MF_GRAYED);
|
||||
calc.hWnd=hWnd;
|
||||
|
||||
#ifdef USE_KEYBOARD_HOOK
|
||||
|
|
|
@ -490,6 +490,8 @@ PanelWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
switch (msg) {
|
||||
case WM_CREATE:
|
||||
// For now, the Help push button is disabled because of lacking of HTML Help support
|
||||
EnableWindow(GetDlgItem(hWnd, IDC_CMHELP), FALSE);
|
||||
return PanelOnCreate(hWnd, wParam, lParam);
|
||||
|
||||
case WM_CLOSE:
|
||||
|
|
|
@ -349,6 +349,10 @@ static LRESULT WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
{
|
||||
Globals.hMenu = GetMenu(hWnd);
|
||||
Globals.hWndNext = SetClipboardViewer(hWnd);
|
||||
|
||||
// For now, the Help dialog item is disabled because of lacking of HTML support
|
||||
EnableMenuItem(Globals.hMenu, CMD_HELP, MF_BYCOMMAND | MF_GRAYED);
|
||||
|
||||
UpdateDisplayMenu();
|
||||
SetDisplayFormat(0);
|
||||
break;
|
||||
|
|
|
@ -277,6 +277,9 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
switch (uMsg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
// For now, the Help dialog item is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hDlg), IDM_HELP_CONTENTS, MF_BYCOMMAND | MF_GRAYED);
|
||||
|
||||
CheckRadioButton(hDlg, IDC_OPT_DRAWONE, IDC_OPT_DRAWTHREE,
|
||||
(dwOptions & OPTION_THREE_CARDS) ? IDC_OPT_DRAWTHREE : IDC_OPT_DRAWONE);
|
||||
|
||||
|
@ -603,6 +606,9 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
int parts[] = { 150, -1 };
|
||||
RECT rcStatus;
|
||||
|
||||
// For now, the Help dialog item is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hwnd), IDM_HELP_CONTENTS, MF_BYCOMMAND | MF_GRAYED);
|
||||
|
||||
hwndStatus = CreateStatusWindow(WS_CHILD | WS_VISIBLE | CCS_BOTTOM | SBARS_SIZEGRIP, _T("Ready"), hwnd, 0);
|
||||
|
||||
//SendMessage(hwndStatus, SB_SIMPLE, (WPARAM)TRUE, 0);
|
||||
|
|
|
@ -310,6 +310,9 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
case WM_CREATE:
|
||||
{
|
||||
// For now, the Help dialog is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hwnd), IDM_HELP_CONTENTS, MF_BYCOMMAND | MF_GRAYED);
|
||||
|
||||
SpiderWnd.Create(hwnd, 0, WS_CHILD | WS_VISIBLE, 0, 0, 100, 100);
|
||||
dwDifficulty = IDC_DIF_ONECOLOR;
|
||||
CreateSpider();
|
||||
|
|
|
@ -353,6 +353,9 @@ NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
case WM_CREATE:
|
||||
Globals.hMenu = GetMenu(hWnd);
|
||||
|
||||
// For now, the "Help" dialog is disabled due to the lack of HTML Help support
|
||||
EnableMenuItem(Globals.hMenu, CMD_HELP_CONTENTS, MF_BYCOMMAND | MF_GRAYED);
|
||||
break;
|
||||
|
||||
case WM_COMMAND:
|
||||
|
|
|
@ -1306,6 +1306,8 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||
switch (message)
|
||||
{
|
||||
case WM_CREATE:
|
||||
// For now, the Help dialog item is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hWnd), ID_HELP_HELPTOPICS, MF_BYCOMMAND | MF_GRAYED);
|
||||
CreateWindowExW(0, szChildClass, NULL, WS_CHILD | WS_VISIBLE,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
hWnd, (HMENU)0, hInst, 0);
|
||||
|
|
|
@ -210,6 +210,8 @@ TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
switch (message) {
|
||||
case WM_INITDIALOG:
|
||||
// For now, the Help dialog menu item is disabled because of lacking of HTML Help support
|
||||
EnableMenuItem(GetMenu(hDlg), ID_HELP_TOPICS, MF_BYCOMMAND | MF_GRAYED);
|
||||
hMainWnd = hDlg;
|
||||
return OnCreate(hDlg);
|
||||
|
||||
|
|
Loading…
Reference in a new issue