Unable to get EDIT widget working.

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

  • Unable to get EDIT widget working.

    Hi,
    I want to be able to set time and date (By example: 00 -> 24 with (de)increment of one) so I have created a dialog box with edit widgets. I set decimal mode with Edit_SetDecMode ().
    Once dialog box is launched, edit widget is well displayed with the good initial value.
    Now, if I set focus to that Edit widget with WM_SetFocus() inside callback function, Initial value have changed and the widget
    reacts with keyboard events but not as expected (no increment of one).
    Regards,
  • Hi,
    I have understood the problem:
    It is the cursor which is white and filled. So it hides the selected digit.
    I have tried to changes the appearance of the cursor but there is always a bar that hides partially the digit.
    Is there a way to make invisible the cursor ?.
    Regards,
    PS: If I select one or more digit, the selected digits are fully filled by the selector and become invisible.
    PS: Same behaviour in text mode. Selected text is fully filled by the cursor.

    The post was edited 2 times, last by sprintf ().