Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Jun 07 16:03:21 CEST 2025

Total time taken to generate the page: 0.04149 seconds