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
How to add image to --- panel
-
- Experienced Solver
- Posts: 82
- Joined: Tue Sep 25, 2012 6:51 pm
How to add image to --- panel
- Attachments
-
- untitled.PNG (64.86 KiB) Viewed 1762 times
Re: How to add image to --- panel
I think you can use a wxStaticBitmap for both purposes.
http://docs.wxwidgets.org/trunk/classwx ... itmap.html
http://docs.wxwidgets.org/trunk/classwx ... itmap.html
Use the source, Luke!
-
- Experienced Solver
- Posts: 82
- Joined: Tue Sep 25, 2012 6:51 pm
Re: How to add image to --- panel
Thanks it is working... for first part.
I will try for second part.
regards,
allan
I will try for second part.
regards,
allan