Force expaned dropdown to stay on top

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

    • Force expaned dropdown to stay on top

      Hey,
      i succesffully create a page selection using a dropdown.
      However one page contains a button.
      Once i navigate to the button page the button will stay on top of the (expanded) dropdown.

      If i understood the manual correctly all wigets are derived WM objects.
      Therefore i tried

      Source Code

      1. DROPDOWN_Handle _d_handle = DROPDOWN_CreateEx(DROWDOWN_START_X, DROPDOWN_START_Y, DROPWDOWN_EXPANDED_X_SIZE, DROPDOWN_EXPANDED_Y_SIZE, 0, WM_CF_SHOW, 0, ID_TEST_DROPDOWN);
      2. WM_SetCallback(WM_HBKWIN, _cbDialog);
      3. GUI_PID__SetHook(_PidHook);
      4. WM_SetStayOnTop(_d_handle,1);
      Unfortunately this does not work. Does anybody have a hint for me on how to get this to work?

      thx :)