Hi,
I want to write a hex editor control for part of an application I'm writing. I've looked around at guides for writing controls but I've not found much.
I've been playing around with the wxScrolledWindow class. taking data and using the OnDraw method to write text onto the control, but how do I put a cursor on the control and accept & process user input etc? Am I barking up the right tree with this?
If anyone could point me towards some detailed tutorials or give me some advice on how to proceed it would be great.
Cheers,
Matt.
Writing a Hex Editor control
As Hex is nothing else then Text, why not modify the TextCtrl?
And probably, there is already an attempt, to provide this, maybe in wxCode you find some control already.
Otherwise, google is your friend probably here too.
If I had to implement it, I would look at the keyevents, and maybe think about some regex for checking input. But there are many ways to do this.
And probably, there is already an attempt, to provide this, maybe in wxCode you find some control already.
Otherwise, google is your friend probably here too.
If I had to implement it, I would look at the keyevents, and maybe think about some regex for checking input. But there are many ways to do this.