📄 prefdialog.h
字号:
// commands
CUserCommand m_clsUserCommand[11];
static INT m_nActiveUserCommand;
// macros
CMacroBuffer m_clsMacroBuffer[11];
static INT m_nActiveMacroBuffer;
protected: // *** PrefDialog.cpp ***
void InitAllPrefPages();
void SizeAllPrefPages();
void ShowProperPrefPages();
BOOL LoadAllPrefSettings();
BOOL ApplyAllPrefSettings();
HTREEITEM InsertCategoryItem(UINT nResourceID, HTREEITEM hParent, UINT nCategory);
protected: // *** PrefDialogGeneral.cpp ***
void InitGeneralPage();
void SizeGeneralPage();
void ShowGeneralPage();
BOOL LoadGeneralSettings();
BOOL SaveGeneralSettings();
protected: // *** PrefDialogVisual.cpp ***
void InitVisualPage();
void SizeVisualPage();
void ShowVisualPage();
BOOL LoadVisualSettings();
BOOL SaveVisualSettings();
protected: // *** PrefDialogFonts.cpp ***
void InitFontsPage();
void SizeFontsPage();
void ShowFontsPage();
BOOL LoadFontSettings();
BOOL SaveFontSettings();
void DispScreenFontText(INT nScreenFont);
void DispPrinterFontText(INT nPrinterFont);
void DispMiscelFontText(INT nMiscelFont);
void OnScreenFontChange();
void OnPrinterFontChange();
void OnMiscelFontChange();
protected: // *** PrefDialogColors.cpp ***
void InitColorsPage();
void SizeColorsPage();
void ShowColorsPage();
BOOL LoadColorSettings();
BOOL SaveColorSettings();
void InvalidateColorButtons();
BOOL LoadSystemColorScheme(INT nScheme);
BOOL LoadColorScheme(LPCTSTR lpszPathName);
BOOL SaveColorScheme(LPCTSTR lpszPathName);
protected: // *** PrefDialogPrint.cpp ***
void InitPrintPage();
void SizePrintPage();
void ShowPrintPage();
BOOL LoadPrintSettings();
BOOL SavePrintSettings();
protected: // *** PrefDialogFile.cpp ***
void InitFilePage();
void SizeFilePage();
void ShowFilePage();
BOOL LoadFileSettings();
BOOL SaveFileSettings();
protected: // *** PrefDialogAssoc.cpp ***
void InitAssocPage();
void SizeAssocPage();
void ShowAssocPage();
BOOL LoadAssocSettings();
BOOL SaveAssocSettings();
void DispAssociationInfo(LPCTSTR lpszExtension);
void UpdateAssociationInfo(LPCTSTR lpszExtension);
void SetAssocExtensionsCurSel(LPCTSTR lpszExtension);
void SetAssocAssociatedCurSel(LPCTSTR lpszExtension);
BOOL AssociateExtension(LPCTSTR lpszExtension);
BOOL RestoreAssociation(LPCTSTR lpszExtension);
protected: // *** PrefDialogBackup.cpp ***
void InitBackupPage();
void SizeBackupPage();
void ShowBackupPage();
BOOL LoadBackupSettings();
BOOL SaveBackupSettings();
protected: // *** PrefDialogSyntax.cpp ***
void InitSyntaxPage();
void SizeSyntaxPage();
void ShowSyntaxPage();
BOOL LoadSyntaxTypes();
BOOL SaveSyntaxTypes();
BOOL DispSyntaxType(INT nSyntaxType);
protected: // *** PrefDialogFilters.cpp
void InitFiltersPage();
void SizeFiltersPage();
void ShowFiltersPage();
BOOL LoadFileFilters();
BOOL SaveFileFilters();
BOOL DispFileFilterText(INT nFilter);
protected: // *** PrefDialogTools.cpp
void InitToolsPage();
void SizeToolsPage();
void ShowToolsPage();
BOOL LoadToolsSettings();
BOOL SaveToolsSettings();
protected: // *** PrefDialogCommands.cpp
void InitCommandsPage();
void SizeCommandsPage();
void ShowCommandsPage();
BOOL LoadUserCommands();
BOOL SaveUserCommands();
BOOL FileLoadUserCommands(LPCTSTR lpszPathName);
BOOL FileSaveUserCommands(LPCTSTR lpszPathName);
BOOL DispCommandText(INT nCommand);
CString GetCommandName(INT nCommand);
CString GetCommandHotKeyText(INT nCommand);
void OnChangeCommandHotKey();
protected: // *** PrefDialogMacros.cpp
void InitMacrosPage();
void SizeMacrosPage();
void ShowMacrosPage();
BOOL LoadMacroBuffers();
BOOL SaveMacroBuffers();
BOOL FileLoadMacroBuffers(LPCTSTR lpszPathName);
BOOL FileSaveMacroBuffers(LPCTSTR lpszPathName);
BOOL DispMacroText(INT nMacro);
CString GetMacroName(INT nMacro);
CString GetMacroHotKeyText(INT nMacro);
void OnChangeMacroHotKey();
// Generated message map functions
//{{AFX_MSG(CPreferenceDialog)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangedCategories(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkScreenFonts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkPrinterFonts(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
afx_msg void OnApply();
afx_msg void OnFixedWrapWidthCheck();
afx_msg void OnItemchangedScreenFonts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemchangedPrinterFonts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemchangedCommandList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemchangedMacroList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeMacroText();
afx_msg void OnMacroRemove();
afx_msg void OnMacroMoveUp();
afx_msg void OnMacroMoveDown();
afx_msg void OnChangeCommandText();
afx_msg void OnChangeCommandCommand();
afx_msg void OnChangeCommandArgument();
afx_msg void OnChangeCommandDirectory();
afx_msg void OnCommandCloseOnExit();
afx_msg void OnCommandCaptureOutput();
afx_msg void OnCommandSaveBefore();
afx_msg void OnCommandRemove();
afx_msg void OnCommandMoveUp();
afx_msg void OnCommandMoveDown();
afx_msg void OnCommandCommandBrowse();
afx_msg void OnCommandArgumentMenu();
afx_msg void OnCommandDirectoryMenu();
afx_msg void OnArgumentFilePath();
afx_msg void OnArgumentFileDirectory();
afx_msg void OnArgumentFileName();
afx_msg void OnArgumentFileTitle();
afx_msg void OnArgumentCurrentWord();
afx_msg void OnDirectoryFileDirectory();
afx_msg void OnDirectoryBrowse();
afx_msg void OnPrintHeader();
afx_msg void OnPrintFooter();
afx_msg void OnPrintHeader1Menu();
afx_msg void OnPrintHeader2Menu();
afx_msg void OnPrintHeader0Menu();
afx_msg void OnPrintFooter0Menu();
afx_msg void OnPrintFooter1Menu();
afx_msg void OnPrintFooter2Menu();
afx_msg void OnHeader0FilePath();
afx_msg void OnHeader0FileName();
afx_msg void OnHeader0PageNumber();
afx_msg void OnHeader0TotalPage();
afx_msg void OnHeader0CurrentDate();
afx_msg void OnHeader0CurrentTime();
afx_msg void OnHeader1FilePath();
afx_msg void OnHeader1FileName();
afx_msg void OnHeader1PageNumber();
afx_msg void OnHeader1TotalPage();
afx_msg void OnHeader1CurrentDate();
afx_msg void OnHeader1CurrentTime();
afx_msg void OnHeader2FilePath();
afx_msg void OnHeader2FileName();
afx_msg void OnHeader2PageNumber();
afx_msg void OnHeader2TotalPage();
afx_msg void OnHeader2CurrentDate();
afx_msg void OnHeader2CurrentTime();
afx_msg void OnFooter0FilePath();
afx_msg void OnFooter0FileName();
afx_msg void OnFooter0PageNumber();
afx_msg void OnFooter0TotalPage();
afx_msg void OnFooter0CurrentDate();
afx_msg void OnFooter0CurrentTime();
afx_msg void OnFooter1FilePath();
afx_msg void OnFooter1FileName();
afx_msg void OnFooter1PageNumber();
afx_msg void OnFooter1TotalPage();
afx_msg void OnFooter1CurrentDate();
afx_msg void OnFooter1CurrentTime();
afx_msg void OnFooter2FilePath();
afx_msg void OnFooter2FileName();
afx_msg void OnFooter2PageNumber();
afx_msg void OnFooter2TotalPage();
afx_msg void OnFooter2CurrentDate();
afx_msg void OnFooter2CurrentTime();
afx_msg void OnWorkingDirectoryBrowse();
afx_msg void OnItemchangedFilters(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeFilterDescription();
afx_msg void OnChangeFilterExtension();
afx_msg void OnFilterRemove();
afx_msg void OnFilterMoveUp();
afx_msg void OnFilterMoveDown();
afx_msg void OnCommandShortFileName();
afx_msg void OnArgumentLineNumber();
afx_msg void OnArgumentUserInput();
afx_msg void OnBackgroundColor();
afx_msg void OnLeftMarginColor();
afx_msg void OnWordColor();
afx_msg void OnVariableColor();
afx_msg void OnCommentColor();
afx_msg void OnConstantColor();
afx_msg void OnDelimiterColor();
afx_msg void OnLineNumberColor();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnKeyword0Color();
afx_msg void OnKeyword1Color();
afx_msg void OnKeyword2Color();
afx_msg void OnKeyword3Color();
afx_msg void OnKeyword4Color();
afx_msg void OnKeyword5Color();
afx_msg void OnKeyword6Color();
afx_msg void OnKeyword7Color();
afx_msg void OnKeyword8Color();
afx_msg void OnKeyword9Color();
afx_msg void OnMakeBackupFile0();
afx_msg void OnMakeBackupFile1();
afx_msg void OnMakeBackupFile2();
afx_msg void OnBackupMethod1();
afx_msg void OnBackupMethod2();
afx_msg void OnBackupDirectoryBrowse();
afx_msg void OnSelchangeAssocExtensions();
afx_msg void OnSelchangeAssocAssociated();
afx_msg void OnAssocAssociate();
afx_msg void OnAssocRestore();
afx_msg void OnKillfocusAssocDescription();
afx_msg void OnKillfocusAssocProgram();
afx_msg void OnKillfocusAssocDefaulticon();
afx_msg void OnActiveLineColor();
afx_msg void OnLoadColorScheme();
afx_msg void OnHighlightedColor();
afx_msg void OnShadowedColor();
afx_msg void OnRange1BkgrColor();
afx_msg void OnRange2BkgrColor();
afx_msg void OnColumnMarker1Check();
afx_msg void OnColumnMarker2Check();
afx_msg void OnItemchangedSyntaxTypes(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeSyntaxDescription();
afx_msg void OnChangeSyntaxLangSpec();
afx_msg void OnChangeSyntaxKeywords();
afx_msg void OnSyntaxRemove();
afx_msg void OnSyntaxMoveUp();
afx_msg void OnSyntaxMoveDown();
afx_msg void OnSyntaxLangSpecBrowse();
afx_msg void OnSyntaxKeywordsBrowse();
afx_msg void OnStringColor();
afx_msg void OnItemchangedMiscelFonts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkMiscelFonts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeColorsPannel(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeFontsPannel(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeFilterDefaultExt();
afx_msg void OnSaveColorScheme();
afx_msg void OnSelchangeColorSchemeList();
afx_msg void OnCommandSaveTools();
afx_msg void OnMacroSaveMacros();
afx_msg void OnArgumentSelectPath1();
afx_msg void OnArgumentSelectPath2();
afx_msg void OnArgumentSelectDirectory1();
afx_msg void OnArgumentSelectDirectory2();
afx_msg void OnRemoteDirectoryBrowse();
afx_msg void OnShowLineNumbers();
afx_msg void OnCommandLoadTools();
afx_msg void OnMacroLoadMacros();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PREFERENCEDIALOG_H__CF938562_0FD5_11D5_A6F1_0050CE184C9B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -