cancel
Showing results for 
Search instead for 
Did you mean: 

STemWin scrambled display

Lucian Andercou
Associate II
Posted on July 28, 2017 at 14:50

I am trying to use STemWin 532 on a STM32f467 board. I created a framewin with 4 buttons using GuiBuilder and ran the application, but the display is scrambled. This is how a framewin with 4 buttons looks like on my display :

https://drive.google.com/open?id=0B-2BPm8Fn6lwVzlfZXEzM29pbG8

.

I've also attached my 'main.c' and framewin source files. I tried adding an osDelay after GUI_Exec() but it did not work.

Any help is greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on July 29, 2017 at 20:46

I also had this problem.

I sold it...

https://arm-stm.blogspot.com/2017/04/stm32f746ng-discovery-ram-stemwin.html

 

View solution in original post

5 REPLIES 5
Posted on July 28, 2017 at 15:34

Hello!

When you make a custom dialog,  you must make also a function to paint the dialog

Inside your message callback function you must catch the case 'case WM_PAINT:'

When the GUI  needs to paint the dialog(because is invalid by some movement ) gives this message to your dialog message map!!
Posted on July 28, 2017 at 16:07

0690X00000607isQAA.png
Posted on July 29, 2017 at 20:46

I also had this problem.

I sold it...

https://arm-stm.blogspot.com/2017/04/stm32f746ng-discovery-ram-stemwin.html

 
Posted on July 31, 2017 at 07:25

Thank you very much, this solved my problem.

Posted on July 31, 2017 at 07:26

Thank you for the advice.