Search found 2 matches

by modifiedbroadcast
Wed Oct 05, 2016 4:22 am
Forum: Component Writing
Topic: How do you set the position of a custom painted control on a parent window?
Replies: 2
Views: 5664

Re: How do you set the position of a custom painted control on a parent window?

Thank you, but I found a more elegant approach using a bitmap panel control.
by modifiedbroadcast
Mon Oct 03, 2016 10:05 pm
Forum: Component Writing
Topic: How do you set the position of a custom painted control on a parent window?
Replies: 2
Views: 5664

How do you set the position of a custom painted control on a parent window?

I am using a control I found on the wxWidgets component list called wxLed. I have successfully created objects with how the class is at the moment. However, I am unable to actually set the window's position. :? Here is the source code: BEGIN_EVENT_TABLE (wxLed, wxWindow) EVT_PAINT (wxLed::OnPaint) E...