U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to use caret / caretCtrl in a custom control [SOLVED]
Re: How to use caret / caretCtrl in a custom control [message #43353 is a reply to message #43352] Wed, 09 July 2014 21:51 Go to previous messageGo to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
My custom controls descend from Ctrl:

struct MyControl : public Ctrl
{
Point MyCursor; //keeps track of insertion point, so can be used to position the caret
...
void Paint(Draw &drw)
{
..drw.Draw_all_kinds_of_stuff(..);
}
};

.. so the caret functions are available I just can't figure out how to apply/use them.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bugfix: DocEdit, not to put back to wantfocus after clicking into it
Next Topic: mixed RichEdit widget with MFC Dialog.
Goto Forum:
  


Current Time: Sat Oct 10 19:02:36 GMT+2 2026

Total time taken to generate the page: 0.02291 seconds