X-Git-Url: http://git.sourceforge.jp/view?p=ffftp%2Fffftp.git;a=blobdiff_plain;f=misc.c;h=b8803a911ba4e3bfab114c6b2cfd6077fac40c35;hp=67ccd911528605c5c240f7a022cd95ff6b83b011;hb=948f80c440c0251ec470882c68da56346d0d89c1;hpb=2869b6627faeb7845fd1b3c03977192b4000bd91 diff --git a/misc.c b/misc.c index 67ccd91..b8803a9 100644 --- a/misc.c +++ b/misc.c @@ -145,6 +145,8 @@ static INT_PTR CALLBACK InputDialogCallBack(HWND hDlg, UINT iMessage, WPARAM wPa switch (iMessage) { case WM_INITDIALOG : + // プロセス保護 + ProtectAllEditControls(hDlg); if(strlen(DialogData->Title) != 0) SendMessage(hDlg, WM_SETTEXT, 0, (LPARAM)DialogData->Title); SendDlgItemMessage(hDlg, INP_INPSTR, EM_LIMITTEXT, DialogData->MaxLen-1, 0);