mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
src/Dialogs.c: Don't bother to set caption of command line help dialog.
The dialog template already has a caption, which, as all other dialogs, matches the menu item; so don't bother to set it upon initialization. Signed-off-by: Liu Hao <lh_mouse@126.com>
This commit is contained in:
parent
cd3444b15c
commit
8637deddea
@ -286,11 +286,11 @@ INT_PTR CALLBACK CmdLineHelpProc(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lPa
|
||||
switch (umsg) {
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
WCHAR szTitle[80] = { L'\0' };
|
||||
//WCHAR szTitle[80] = { L'\0' };
|
||||
WCHAR szText[4096] = { L'\0' };
|
||||
GetLngString(IDS_MUI_APPTITLE, szTitle, COUNTOF(szTitle));
|
||||
//GetLngString(IDS_MUI_APPTITLE, szTitle, COUNTOF(szTitle));
|
||||
GetLngString(IDS_MUI_CMDLINEHELP, szText, COUNTOF(szText));
|
||||
SetWindowText(hwnd, szTitle);
|
||||
//SetWindowText(hwnd, szTitle);
|
||||
SetDlgItemText(hwnd, IDC_CMDLINEHELP, szText);
|
||||
//SendMessage(hwnd, WM_NEXTDLGCTL, (WPARAM)IDC_CMDLINEHELP, TRUE);
|
||||
CenterDlgInParent(hwnd);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user