JanBurg Community Member

  • Member since Mar 14th 2019
Last Activity

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

  • JanBurg -

    Posted the thread Overlapping Windows.

    Thread
    Hello, in my projectI have a menu bar which appears in different windows. The attached screenshot shows an example. The red framed section is the menu bar. Since I don't want to create all the menu controls in each window again I tried to put the menu…
  • JanBurg -

    Replied to the thread ICONVIEW with transparent Background.

    Post
    I replaced all my ICONVIEW buttons by BUTTON widgets. This solved the transparency problem and saved more than 50 % of code lines as Florian wrote. The buttons are created with WM_CF_HASTRANS flag: Source Code (1 line)A callback for each button draws…
  • JanBurg -

    Replied to the thread ICONVIEW with transparent Background.

    Post
    Thank you, Florian. Using your example I realized that in selected state the background of an icon cannot be transparent. It becomes black in your example if I enter ICONVIEW_SetBkColor(hItem, ICONVIEW_CI_SEL, GUI_TRANSPARENT);. This is most likely the…
  • JanBurg -

    Replied to the thread ICONVIEW with transparent Background.

    Post
    Thank you. "Note that you can't OR-combine indexes such as ICONVIEW_CI_BK etc. which means you have to set the color for each index individually." This was definitely one of my errors. I changed the create flag accordingly: { ICONVIEW_CreateIndirect, "",…
  • JanBurg -

    Posted the thread ICONVIEW with transparent Background.

    Thread
    Hi, I'm using some ICONVIEW widgets as buttons. Is there a way to make their background transparent so that the objects behind them are visible in the parts marked as transparent? I create the ICONVIEW in a resource table: { ICONVIEW_CreateIndirect,…
  • JanBurg -

    Replied to the thread Does DROPDOWN_SetSel() always trigger a WM_NOTIFICATION_SEL_CHANGED?.

    Post
    Thank you, Florian. Setting a global flag was also my workaround. Maybe some blocking feature for notifications would be an idea for future improvements. For me it was disturbing that I always got a beep tone, which I trigger by the notification, after…
  • JanBurg -

    Posted the thread Does DROPDOWN_SetSel() always trigger a WM_NOTIFICATION_SEL_CHANGED?.

    Thread
    Hello, I have some dropdown menus which I fill with the last settings using DROPDOWN_SetSel in WM_INIT_DIALOG. After this a WM_NOTIFICATION_SEL_CHANGED is triggered. Is it possible to avoid this and notify only changes by touch inputs? Regards Jan
  • JanBurg -

    Replied to the thread SCROLLBAR not always giving WM_NOTIFICATION_RELEASED.

    Post
    Hello, can no one help me in this case? It is confusing for the operator if one moves the scollbar and nothing happens. Regards Jan
  • JanBurg -

    Replied to the thread SCROLLBAR not always giving WM_NOTIFICATION_RELEASED.

    Post
    Hi Florian, it does always send a WM_NOTIFY_PARENT, but it is often only a WM_NOTIFICATION_VALUE_CHANGED and not a WM_NOTIFICATION_RELEASED. Regards Jan
  • JanBurg -

    Posted the thread SCROLLBAR not always giving WM_NOTIFICATION_RELEASED.

    Thread
    Hi, I'm using a scrollbar to navigate in a larger text file. To avoid excessive CPU load when moving the thumb I want to notify only when the thumb is released (WM_NOTIFICATION_RELEASED). Now I noticed that sometimes the thumb is moved but no…
  • JanBurg -

    Replied to the thread SLIDER with invisible frame.

    Post
    Thank you Florian, that works fine. Regards Jan
  • JanBurg -

    Posted the thread SLIDER with invisible frame.

    Thread
    Hi, is it possible to make the frame and the line of a SLIDER completely invisible so that only the knob remains? Best regrads Jan