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

Vertical toolbar resized horizontally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Win32SS
    • Labels:
      None

      Description

      ReactOS installed from bootcd-70206-dbg.iso under VirtualBox 5.0.10.
      Testing my application – UKNCBTL emulator https://github.com/nzeemin/ukncbtl/releases/download/release-1.0.552/UKNCBTL-552-exe.zip
      I found that in Debug mode of the emulator Debug window toolbar overlap a big part of the Debug window (see screenshot).

      The code creating the toolbar is the following:
      https://github.com/nzeemin/ukncbtl/blob/master/DebugView.cpp line 110:

      m_hwndDebugToolbar = CreateWindowEx(0, TOOLBARCLASSNAME, NULL,
      WS_CHILD | WS_VISIBLE | TBSTYLE_FLAT | TBSTYLE_TRANSPARENT | TBSTYLE_TOOLTIPS | CCS_NOPARENTALIGN | CCS_NODIVIDER | CCS_VERT,
      4, 4, 32, rcClient.bottom, m_hwndDebugViewer,
      (HMENU) 102,
      g_hInst, NULL);

      So, the toolbar created with style CSS_VERT and with width 32.
      Under Windows, the toolbar looks fine.
      But under ReactOS, the width of the toolbar was increased by the OS, so now it covers big part of the window.

      I think, the bug is somewhere in http://code.reactos.org/browse/reactos/trunk/reactos/dll/win32/comctl32/toobar.c

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                nzeemin Nikita Zimin
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: