volodymyr Beginner

  • Member since Jun 13th 2018
Last Activity

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

  • volodymyr -

    Replied to the thread Dialog on top of dialog.

    Post
    Quote from evanb3: “Found solution, call WM_SetStayOnTop() after GUI_CreateDialogBox() ” Instead WM_SetStayOnTop() you can use the function WM_BringToTop() for each window or dialog which should be moved on top. But in some cases WM_SetStayOnTop() is…
  • volodymyr -

    Replied to the thread Determine widget focus.

    Post
    Quote from evanb3: “If I have several widgets in a window or dialog like edits/dropdowns etc, and 2 buttons that will be up and down for increment /decrement of values in edits/dropdowns widgets. How do you i determine which widget has focus ? and get…
  • volodymyr -

    Posted the thread WM_GetId of WINDOW-object is always 0.

    Thread
    Hello. If create a window by WINDOW_CreateEx with some non-zero id for this window, so WM_GetId returns always 0. C Source Code (2 lines)Is it bug? For other widgets, including FRAMEWIN-widget it returns correct value. Why you use type int for Id as…
  • volodymyr -

    Replied to the thread MULTIPAGE_SetBitmapEx for UNSELECTED tabs.

    Post
    I think there is also a bug in code, because status MULTIPAGE_BI_UNSELECTED does not work. Anyway it is now tot actual for me, we decided not to use bitmaps in tabs.
  • volodymyr -

    Replied to the thread MULTIPAGE_SetBitmapEx for UNSELECTED tabs.

    Post
    Quote from LexaGb: “I'm using STemWin 5.44, so I don't have the sources and I can't see C-code where the states are OR-ed (except if look at assembler code). Can you see where it happens? However, calling MULTIPAGE_SetBitmapEx() with a mask instead of…
  • volodymyr -

    Replied to the thread MULTIPAGE_SetBitmapEx for UNSELECTED tabs.

    Post
    Quote from LexaGb: “With regard to the bitmap, yes, looks strange. Adding a bitmap for unselected state draws it also in selected state of the tabs. ” Nothing strange, #define MULTIPAGE_BI_SELECTED is 0, and since all three states of this function are…
  • volodymyr -

    Replied to the thread displaying the variable on the screen.

    Post
    Quote from Andrzej: “Thank you for the changes and comments on the programming style. Now I will check how it goes. ” To be perfect in style I changed in my code sample the name of function poster() to getPoster() because it is a best way to name such…
  • volodymyr -

    Replied to the thread displaying the variable on the screen.

    Post
    Quote from Andrzej: “Thank you. However, I don't know how to integrate it into my program. I have the external variable "poster", they have to be numbers 1 to 6. They change in another part of the program. I want to display the variable value on an…
  • volodymyr -

    Posted the thread MULTIPAGE_SetBitmapEx for UNSELECTED tabs.

    Thread
    Hello. I want to put image to all unselected Tabs of MULTIPAGE. But selected Tab should not have the image. If I use following code: C Source Code (2 lines)then I have the image on ALL tabs, including currently selected Tab. Also, I need to move the…
  • volodymyr -

    Replied to the thread displaying the variable on the screen.

    Post
    Quote from Andrzej: “How to display the variable value on the screen? ” Hello. If you need to display some variable with constant refreshing period (for example 200 ms) you can use Timer for it. Here is a small example that explains the…
  • volodymyr -

    Posted the thread MULTIPAGE - how to get a number of added pages?.

    Thread
    Hello. 1. How to get a number of added pages to the MULTIPAGE widget? P.S. For this question I have found a solution, it works, but I don't know whether it is safe and fully correct: C Source Code (4 lines) 2. How to get a width of Tab in MULTIPAGE…