mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 18:43:30 +00:00
[NOTEPAD] Implement File->New Window
*Windows starts a new own's instance too, when clicking on "New Window" (Tested by @HBelusca)
This commit is contained in:
parent
61f4b120fc
commit
b774ec5ca6
41 changed files with 89 additions and 5 deletions
|
@ -415,6 +415,13 @@ VOID DIALOG_FileNew(VOID)
|
|||
}
|
||||
}
|
||||
|
||||
VOID DIALOG_FileNewWindow(VOID)
|
||||
{
|
||||
TCHAR pszNotepadExe[MAX_PATH];
|
||||
GetModuleFileName(NULL, pszNotepadExe, ARRAYSIZE(pszNotepadExe));
|
||||
ShellExecute(NULL, NULL, pszNotepadExe, NULL, NULL, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
VOID DIALOG_FileOpen(VOID)
|
||||
{
|
||||
OPENFILENAME openfilename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue