mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:55:42 +00:00
[MSPAINT] Refactor about Recent Files (#5163)
Define MAX_RECENT_FILES macro as 4. Remove strFile1, ..., strFile4 settings and add strFiles[MAX_RECENT_FILES] for Most Recently Used (MRU) files. CORE-18867
This commit is contained in:
parent
a81f229065
commit
41c30182d4
4 changed files with 88 additions and 95 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
MESSAGE_HANDLER(WM_MOUSEWHEEL, OnMouseWheel)
|
||||
END_MSG_MAP()
|
||||
|
||||
private:
|
||||
LRESULT OnDropFiles(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
|
||||
LRESULT OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
|
||||
LRESULT OnDestroy(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
|
||||
|
@ -44,4 +45,5 @@ public:
|
|||
void saveImage(BOOL overwrite);
|
||||
void InsertSelectionFromHBITMAP(HBITMAP bitmap, HWND window);
|
||||
BOOL ConfirmSave();
|
||||
void ProcessFileMenu(HMENU hPopupMenu);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue