I want to dynamically change the icon displayed in a status bar panel.
I've created the icons in the resource file, app.rc, e.g. IDI_MYICON.
How can I load this icon and display it in the StatusBarPanel?
The auto-generated code does:
this->StatusBarPanel->Icon = (__try_cast<System::Drawing::Icon *
On Jun 22, 6:13 am, kelvin.koo...@googlemail.com wrote:
> I want to dynamically change the icon displayed in a status bar panel.
> I've created the icons in the resource file, app.rc, e.g. IDI_MYICON.
[quoted text clipped - 11 lines]
> TIA,
> KK
You can add the Icons into the Form1.Resx file manually in order to
access them through resources->GetObject.
Evan
kelvin.koogan@googlemail.com - 25 Jun 2007 09:01 GMT
On 23 Jun, 22:04, ewpat...@gmail.com wrote:
> On Jun 22, 6:13 am, kelvin.koo...@googlemail.com wrote:
>
[quoted text clipped - 18 lines]
>
> Evan
Sorry to be an idiot, but how do I add icons to Form1.resX manually?
Do you mean literally cutting and pasting with a text editor?
TIA,
KK