Author: akhaldi
Date: Tue Jan 20 12:12:40 2015
New Revision: 66067
URL:
http://svn.reactos.org/svn/reactos?rev=66067&view=rev
Log:
[NOTEPAD]
* Replace the page setup dialog with a modified copy from comdlg32. Use PageSetupDlg and a
hook function to bring the dialog on screen instead of DialogBox and a dialog procedure.
With this, PageSetupDlg can do most of the work (init the controls for example).
* Save the returned hDevMode and hDevNames to two global variables, so we can use them in
later calls to page setup and print.
* Include header, footer and page margins when saving/loading settings.
* Remove printer setup from the file menu (and related code/resources) since it isn't
needed anymore.
* Brought to you by Ricardo Hanke.
CORE-9040
Modified:
trunk/reactos/base/applications/notepad/dialog.c
trunk/reactos/base/applications/notepad/dialog.h
trunk/reactos/base/applications/notepad/lang/bg-BG.rc
trunk/reactos/base/applications/notepad/lang/cs-CZ.rc
trunk/reactos/base/applications/notepad/lang/da-DK.rc
trunk/reactos/base/applications/notepad/lang/de-DE.rc
trunk/reactos/base/applications/notepad/lang/el-GR.rc
trunk/reactos/base/applications/notepad/lang/en-US.rc
trunk/reactos/base/applications/notepad/lang/es-ES.rc
trunk/reactos/base/applications/notepad/lang/eu-ES.rc
trunk/reactos/base/applications/notepad/lang/fi-FI.rc
trunk/reactos/base/applications/notepad/lang/fr-FR.rc
trunk/reactos/base/applications/notepad/lang/he-IL.rc
trunk/reactos/base/applications/notepad/lang/hu-HU.rc
trunk/reactos/base/applications/notepad/lang/hy-AM.rc
trunk/reactos/base/applications/notepad/lang/id-ID.rc
trunk/reactos/base/applications/notepad/lang/it-IT.rc
trunk/reactos/base/applications/notepad/lang/ja-JP.rc
trunk/reactos/base/applications/notepad/lang/lt-LT.rc
trunk/reactos/base/applications/notepad/lang/nl-NL.rc
trunk/reactos/base/applications/notepad/lang/no-NO.rc
trunk/reactos/base/applications/notepad/lang/pl-PL.rc
trunk/reactos/base/applications/notepad/lang/pt-BR.rc
trunk/reactos/base/applications/notepad/lang/pt-PT.rc
trunk/reactos/base/applications/notepad/lang/ro-RO.rc
trunk/reactos/base/applications/notepad/lang/ru-RU.rc
trunk/reactos/base/applications/notepad/lang/sk-SK.rc
trunk/reactos/base/applications/notepad/lang/sl-SI.rc
trunk/reactos/base/applications/notepad/lang/sq-AL.rc
trunk/reactos/base/applications/notepad/lang/sv-SE.rc
trunk/reactos/base/applications/notepad/lang/th-TH.rc
trunk/reactos/base/applications/notepad/lang/tr-TR.rc
trunk/reactos/base/applications/notepad/lang/uk-UA.rc
trunk/reactos/base/applications/notepad/lang/uz-UZ.rc
trunk/reactos/base/applications/notepad/lang/zh-CN.rc
trunk/reactos/base/applications/notepad/main.c
trunk/reactos/base/applications/notepad/main.h
trunk/reactos/base/applications/notepad/notepad_res.h
trunk/reactos/base/applications/notepad/rsrc.rc
trunk/reactos/base/applications/notepad/settings.c
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/reactos/base/applications/notepad/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/dialog.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/da-DK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/eu-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/fi-FI.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/hy-AM.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/lt-LT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/pt-PT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/sl-SI.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/sv-SE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/th-TH.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/uz-UZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/main.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/notepad_res.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/rsrc.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
Modified: trunk/reactos/base/applications/notepad/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…