Page 1 of 1

How to add image to --- panel

Posted: Sun Sep 30, 2012 5:50 pm
by gorge.alan.sw
Hi,

I have made a control base GUI where i will be controlling some relays onto the network.
Network have some nodes. So GUI use to show what all relay are there for each node on wxtreectrl.
When i Moves along the tree across different node number of relays changes. I am just destroying & remaking the panel
Button are toggle button & status i am indicating through extra check button.

I am also using Html window to show details of a node, in text format.

1> I am looking forward to display a image on the central panel when i am at the root of wxtreectrl.
Please suggest how to add this

Image like this, which is related to tool name :--
http://cwer.ws/media/files/u614910/Misc ... 002015.jpg


2> How to make it more attracting.
Can i replace check box with some image changing like bulb glowing to bulb off.


Please suggest how to meet above two points. I have attached .png file related to it.

kind regards,

allan

Re: How to add image to --- panel

Posted: Sun Sep 30, 2012 9:03 pm
by doublemax
I think you can use a wxStaticBitmap for both purposes.
http://docs.wxwidgets.org/trunk/classwx ... itmap.html

Re: How to add image to --- panel

Posted: Mon Oct 01, 2012 9:50 am
by gorge.alan.sw
Thanks it is working... for first part.

I will try for second part.

regards,

allan