Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9040

Notepad: Changes to the Page setup dialog

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • Applications

    Description

      The attached patch makes the following changes to notepad:

      • Raplace 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.

      Attachments

        1. notepad_psd_v2.patch
          132 kB
        2. notepad_psd_v3.patch
          135 kB
        3. notepad_psd.patch
          129 kB

        Activity

          People

            AmineKhaldi AmineKhaldi
            Forever Winter Forever Winter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: