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

SystemParametersInfo SPI_GETWORKAREA returns wrong rect size

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.2
    • Component/s: None
    • Labels:
      None

      Description

      In Windows, when you change the active/inactive border size, the SystemParametersInfo(SPI_GETWORKAREA,....) rect size height (bottom - top) also changes, but in ReactOs it doesn't.

      I think the formula Windows uses is this: (Screen height - taskbar height - (border * 2) - 6) for SPI_GETWORKAREA.

      I've included a simple program that demonstrates this.

      Run the program in Windows (classic theme) and then change the active/inactive border size and hit apply. You'll see that the workarea changes. Now, do the same thing in ReactOs and you'll see that the workarea doesn't change.

        Attachments

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              mudhead mudhead
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: