Lines Matching refs:SendMessage
96 isModified = !!SendMessage(Globals.hEdit, EM_GETMODIFY, 0, 0); in UpdateWindowCaption()
298 SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0); in DoSaveFile()
315 if (SendMessage(Globals.hEdit, EM_GETMODIFY, 0, 0)) in DoCloseFile()
380 SendMessage(Globals.hEdit, EM_SETSEL, GetWindowTextLength(Globals.hEdit), -1); in DoOpenFile()
381 SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)lf); in DoOpenFile()
383 SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)lf); in DoOpenFile()
406 SendMessage(Globals.hEdit, EM_EMPTYUNDOBUFFER, 0, 0); in DIALOG_FileNew()
486 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
489 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
492 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
495 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
498 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
500 SendMessage(hCombo, CB_SETCURSEL, Globals.encFile, 0); in DIALOG_FileSaveAs_Hook()
505 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
508 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
511 SendMessage(hCombo, CB_ADDSTRING, 0, (LPARAM) szText); in DIALOG_FileSaveAs_Hook()
513 SendMessage(hCombo, CB_SETCURSEL, Globals.iEoln, 0); in DIALOG_FileSaveAs_Hook()
521 Globals.encFile = (ENCODING) SendMessage(hCombo, CB_GETCURSEL, 0, 0); in DIALOG_FileSaveAs_Hook()
525 Globals.iEoln = (EOLN)SendMessage(hCombo, CB_GETCURSEL, 0, 0); in DIALOG_FileSaveAs_Hook()
587 SendMessage(Globals.hEdit, EM_UNDO, 0, 0); in DIALOG_EditUndo()
592 SendMessage(Globals.hEdit, WM_CUT, 0, 0); in DIALOG_EditCut()
597 SendMessage(Globals.hEdit, WM_COPY, 0, 0); in DIALOG_EditCopy()
602 SendMessage(Globals.hEdit, WM_PASTE, 0, 0); in DIALOG_EditPaste()
607 SendMessage(Globals.hEdit, WM_CLEAR, 0, 0); in DIALOG_EditDelete()
612 SendMessage(Globals.hEdit, EM_SETSEL, 0, -1); in DIALOG_EditSelectAll()
628 SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)szText); in DIALOG_EditTimeDate()
692 if (SendMessage(Globals.hEdit, EM_GETMODIFY, 0, 0)) in DoCreateEditWindow()
730 SendMessage(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, FALSE); in DoCreateEditWindow()
731 SendMessage(Globals.hEdit, EM_LIMITTEXT, 0, 0); in DoCreateEditWindow()
740 SendMessage(Globals.hEdit, EM_SETMODIFY, TRUE, 0); in DoCreateEditWindow()
783 SendMessage(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, TRUE); in DIALOG_SelectFont()
898 SendMessage(Globals.hEdit, EM_GETSEL, (WPARAM) &dwStart, (LPARAM) &dwEnd); in DIALOG_GoTo()
899 GotoData.iLine = (UINT)SendMessage(Globals.hEdit, EM_LINEFROMCHAR, dwStart, 0) + 1; in DIALOG_GoTo()
900 GotoData.cLines = (UINT)SendMessage(Globals.hEdit, EM_GETLINECOUNT, 0, 0); in DIALOG_GoTo()
920 ich = (INT)SendMessage(Globals.hEdit, EM_LINEINDEX, GotoData.iLine, 0); in DIALOG_GoTo()
927 SendMessage(Globals.hEdit, EM_SETSEL, ich, ich); in DIALOG_GoTo()
928 SendMessage(Globals.hEdit, EM_SCROLLCARET, 0, 0); in DIALOG_GoTo()
937 SendMessage(Globals.hEdit, EM_GETSEL, (WPARAM)&dwStart, (LPARAM)&dwSize); in DIALOG_StatusBarUpdateCaretPos()
938 line = (int)SendMessage(Globals.hEdit, EM_LINEFROMCHAR, (WPARAM)dwStart, 0); in DIALOG_StatusBarUpdateCaretPos()
939 ich = (int)SendMessage(Globals.hEdit, EM_LINEINDEX, (WPARAM)line, 0); in DIALOG_StatusBarUpdateCaretPos()
945 SendMessage(Globals.hStatusBar, SB_SETTEXT, SBPART_CURPOS, (LPARAM)buff); in DIALOG_StatusBarUpdateCaretPos()