Custom Control
Posted: Sun Dec 04, 2016 2:18 am
I would like to add the MyRichTextCtrl class - as given in the richtext example in the wxWidgets samples to a project, whose GUI code is built using wxCrafter.
It seems I would have to use a custom control, but since I am not at all familiar with how such a control is intended to be used, I am am struggling what would be the simplest way to add it.
I have played just a bit with this feature - wxCrafter 2.6 - and it looks like I have to be pretty sure what code I need to add to this custom class when I start, as there seems to be no easy way to edit/modify this code once it is started other than to perhaps create the code in an editor and then delete and recreate the custom control code over and over till it comes out right.
Am I missing some tutorial or other document. It seems I ran into this once before and it looks like I gave up on it and added the code manually to my derived main frame directly.
An additional wrinkle is that in this project I am also trying to get to know & use the AUI manager etc
TIA for any thoughts or pointers
It seems I would have to use a custom control, but since I am not at all familiar with how such a control is intended to be used, I am am struggling what would be the simplest way to add it.
I have played just a bit with this feature - wxCrafter 2.6 - and it looks like I have to be pretty sure what code I need to add to this custom class when I start, as there seems to be no easy way to edit/modify this code once it is started other than to perhaps create the code in an editor and then delete and recreate the custom control code over and over till it comes out right.
Am I missing some tutorial or other document. It seems I ran into this once before and it looks like I gave up on it and added the code manually to my derived main frame directly.
An additional wrinkle is that in this project I am also trying to get to know & use the AUI manager etc
TIA for any thoughts or pointers