cancel
Showing results for 
Search instead for 
Did you mean: 

Icon View Widget problem

Tran Minh Cong
Associate II
Posted on July 15, 2018 at 03:27

Hi every body,

I'm doing 1 menu icon (3-4 icon), using icon view widget.

From .png image file to convert .dta, using BmpCvtST.exe in folder STemWin/software in stm32f7cube.

If using image widget, .png files showed ok.

If

using 

iconview 

widget, insert stream data .dta, show data have problem, only rectangle blue.

Below is picture that is show problem!

Can you tell me to fix that bug?

Have any other solution to do menu icon?

Thanks.

7 REPLIES 7
Tran Minh Cong
Associate II
Posted on July 15, 2018 at 05:14

I have just refer link:

https://forum.segger.com/index.php/Thread/1777-GuiBuilder-and-IconView-Problem/

 

But haven't information to fix that bug!

Tran Minh Cong
Associate II
Posted on July 15, 2018 at 11:16

Dear every body,

I have just checked STemWin version.

Current 

STemWin version which i'm using is 5.32.

If change to STemWin version 5.40,icon view 

insert stream data .dta, show data ok.

But build project after change stemwin to 5.40 have error:

.\Objects\cnc_4axis.axf: error: L6002U: Could not open file .\Src\STemWin\Lib\STemWin532_CM7_OS_Keil_ot.lib: No such file or directory

How to change lib STemWin532_CM7_OS_Keil_ot.lib to STemWin540_CM7_OS_Keil_ot.lib?

Thanks!

Posted on July 15, 2018 at 21:47

CubeMX 4.26 use STemWin 5.40

Posted on July 16, 2018 at 13:15

Hello

Cong.Tran_Minh

,

Please update

https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef7.html

to use the latest version V1.0 with upgrade to use SEGGER emWin version V5.

You will findSTemWin540_CM7_OS_Keil_ot.libin the folder STM32Cube_FW_F7_V1.0\Middlewares\ST\STemWin\Lib\

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Tran Minh Cong
Associate II

Dear you,

I have a problems:

I can read id selected from ICONVIEW_GetSel(), but not set selected id via ICONVIEW_SetSel().

ICONVIEW_SetSel() can't effect?

Can you tellme to fix that bug, please?

Thanks.

Details:

icon_idx = ICONVIEW_GetSel(hIcones);//can get id normally id:0->7, i have 8 icon image.

printf("icon up %d\r\n", icon_idx);

if (icon_idx < icon_idx_max) {

icon_idx++;

}

if (icon_idx >= icon_idx_max) {

icon_idx = icon_idx_max - 1;

}

ICONVIEW_SetSel(hIcones, icon_idx);//haven't effect?

Tran Minh Cong
Associate II

About ICONVIEW_SetSel():

Tran Minh Cong
Associate II

Sorry,

Below is picture when using ICONVIEW_SetSel().

Thanks.