cancel
Showing results for 
Search instead for 
Did you mean: 

STemWin

krzysztof239955
Associate II
Posted on September 07, 2016 at 23:27

Hi, 

I wonder if there is any chance for stemwin 5.30 or newer in near future ?

Thanks
3 REPLIES 3
slimen
Senior
Posted on September 08, 2016 at 11:06

Hi,

STemWin 5.30 is not available, but rather the STemWin 5.32 version is used for STM32CubeF2 and STM32CubeF4.

All other firmwares are already with STemWin5.28.

Regards

krzysztof239955
Associate II
Posted on September 10, 2016 at 22:42

Hi,

Thanks for quick response. Much appreciated.

krzysztof239955
Associate II
Posted on November 17, 2016 at 12:35

Hi again,

I have question about this library. I've donwloaded newest version of CUbe with STemWin 5.32 implemented but still one of the widgets is I think broken.

I try to use CALENDAR_SetSel and CALENDAR_ShowDate functions but whenever I use one of those functions days get messed up in given month.

Does anybody used it in and if yes please share comments what I can do wrong.

The part of code which is giving me trouble:

memset(&readDate, 0, sizeof(readDate));

 

CALENDAR_GetDate(hCalendar, &readDate);

 

readDate.Year = SPINBOX_GetValue(hSbYear);

 

CALENDAR_ShowDate(hCalendar, &readDate);

 

WM_InvalidateWindow(hCalendar);

 

I want to change year using spinbox, so I wouldn't have to push change month button to much. Before first change of the date when days in week are correct. I select day I want and close window with this calendar. Then when I open calendar again I change months and can see days of week rearranged.

What can I do wrong ?

Thanks for help,