/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / TOOLBAR_ChangeButton()

Username:     
Password:     
             

Forum

# 1   2009-06-29 14:15:08 TOOLBAR_ChangeButton()

micronpn
Member
From: Italy
Registered: 2007-11-20
Posts: 13
Website

TOOLBAR_ChangeButton()

I have some problems to change a button icon and behaviour of an user toolbar. I use this function call:
               TOOLBAR_ChangeButton(2, StopIcon, StopScene);
I tryed also:
               TOOLBAR_ChangeButton(2, &StopIcon[0], StopScene);
but in both cases its executon hangs the application.
Every parameter exists and is not NULL.
Has anyone any problem similar to this?

Offline

 

# 2   2009-07-01 12:25:50 TOOLBAR_ChangeButton()

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: TOOLBAR_ChangeButton()

Several recent applications call  this feature. It works also in the 'dictaphone' project, and I suggest that you take a look at these source files.

Offline

 

Board footer