Search Results

Search results 1-10 of 10.

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

  • listview widget skin problem

    mountain - - emWin related

    Post

    oh,thanks, but I still don't know how to change skin when disabled listview widget and change back when enabled, Once I tried LISTVIEW_SetOwnerDraw() ,the focus blue clolor will no more cover whole grid ,only text area, I try to cover listview widget with a subtransparent widget directly, but failed

  • listview widget skin problem

    mountain - - emWin related

    Post

    oh,thanks, but what is the defalut ownerdraw function,what's the name , where can I find ?

  • listview widget skin problem

    mountain - - emWin related

    Post

    your method working very well, [LISTVIEW_SetOwnerDraw(hListview, _OwnerDrawListview);][_OwnerDrawListview] this function has a parameter[ WIDGET_ITEM_DRAW_INFO*], but only struct pointer,no struct body given, how can this work ? do I need to declare it somwhere? another problem is there is no get function [LISTVIEW_GetOwnerDraw] , so how can I change back to default, or once I set ownerdraw, it must be use all the time? actually , I just want to let it look differrent when enabled and disabled, …

  • listview widget skin problem

    mountain - - emWin related

    Post

    I'm using STemwin V5.44, stm32cubemx V5.4 exported, I created a listview widget, I try to change the skin of the listview ,but failed ,I tried this fuction(LISTVIEW_SetSkinClassic(hItem);) but called error, I tried (LISTVIEW_SetBkColor(hItem, LISTVIEW_CI_DISABLED, GUI_MAKE_COLOR(0x0077773C));WM_DisableWindow(hItem);) ,but (LISTVIEW_CI_DISABLED) seems not work at all,but the other options working well(LISTVIEW_CI_UNSEL,LISTVIEW_CI_SEL,LISTVIEW_CI_SELFOCUS), but this 4 options appear in one same f…

  • listview widget skin problem

    mountain - - emWin related

    Post

    I'm using STemwin V5.44, stm32cubemx V5.4 exported, I created a listview widget, I try to change the skin of the listview ,but failed ,I tried this fuction(LISTVIEW_SetSkinClassic(hItem);) but called error, I tried (LISTVIEW_SetBkColor(hItem, LISTVIEW_CI_DISABLED, GUI_MAKE_COLOR(0x0077773C));WM_DisableWindow(hItem);) ,but (LISTVIEW_CI_DISABLED) seems not work at all,but the other options working well(LISTVIEW_CI_UNSEL,LISTVIEW_CI_SEL,LISTVIEW_CI_SELFOCUS), but this 4 options appear in one same f…

  • EDIT_SetFloatMode(hItem, 0.0001f, 0.0001f, 0.01f, 4, GUI_EDIT_NORMAL); when I set the 4th parameter ,the Max value less than 1.0, the EDIT_BOX can not display well, the leading-zeros are disappear, I use the callback function to correct it but still cannot fix the Blink block's position, can anyone help me ? how can I set blink-block in callback function

  • I use the function you gave me,BUT,the Blink position cannot match the number!

  • thank you for your detailed reply! I have one more question, I only have keyboard input device, the CHECKBOX is not so obviously to look when focused, if only it can change color! and BUTTON_SKINFLEX_PROPS has no ColorText member, I hope you can add this function in next release too, for now do you have any ideas to solve it for temporary, and the SPINBOX as well, thanks so much! looking forward to seeing your upgrade! oops,CHECKBOX_SetSkinFlexProps has no CHECKBOX_SKINPROPS_FOCUSED index, I fee…

  • hi, can you tell me when will next version release?can you fix another little problem by the way,can you remove the initial zero in SPINBOX,I mean the meaningless 0 in front,or give us an optional function

  • I only have keyboard input device. SPINBOX_GetSkinFlexProps(&SPINBOX_pProps, SPINBOX_SKINFLEX_PI_FOCUSED); SPINBOX_pProps.ColorBk = GUI_BLUE; SPINBOX_pProps.ColorText = GUI_WHITE; SPINBOX_pProps.ColorArrow = GUI_WHITE; SPINBOX_pProps.aColorUpper[0] = GUI_BLUE; SPINBOX_pProps.aColorUpper[1] = GUI_BLUE; SPINBOX_pProps.aColorLower[0] = GUI_BLUE; SPINBOX_pProps.aColorLower[1] = GUI_BLUE; SPINBOX_SetSkinFlexProps(&SPINBOX_pProps,SPINBOX_SKINFLEX_PI_FOCUSED); this is what I set for SPINBOX, but only t…