Vertical SCROLLBAR on DIALOG

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Vertical SCROLLBAR on DIALOG

    Hi,

    I want to have a vertical scrollbar for a dialogbox.
    I attached a scrollbar to the dialog and it appears. But unfortunately it dont works automatically.
    I did the same with a listbox and the scrollbar works fine.

    For the listbox I do:

    C Source Code

    1. hWin = LISTBOX_CreateEx(50, 50, 100, 100, 0, WM_CF_SHOW, 0, GUI_ID_LISTBOX0, a_listboxtext);
    2. SCROLLBAR_CreateAttached(hWin, SCROLLBAR_CF_VERTICAL);
    and it works fine.

    For the dialogbox I do:

    C Source Code

    1. hWin = GUI_CreateDialogBox(_aDialogCreate, GUI_COUNTOF(_aDialogCreate), WM_DefaultProc, 0, 0, 50);
    2. SCROLLBAR_CreateAttached(h_dialog, SCROLLBAR_CF_VERTICAL);
    and the scrollbar appears but without function.

    What have I to do?

    My final intention is realising a multipage with multiple dialogs. The dialogs should be scrollable within the multipage client area, while the multipage headerline (with the tabs) keeps on its position on the screen.
    Is there something special to take care about for this?

    Best regards