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

Home » U++ Library support » LineEdit, EditFields, DocEdit » LineEdit MouseMove and LeftDrag bug fix
Re: LineEdit MouseMove and LeftDrag bug fix [message #21791 is a reply to message #21787] Fri, 05 June 2009 09:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Thanks, now I can see the problem with first and last characters.

Now fixed:

void LineEdit::MouseMove(Point p, dword flags) {
	if((flags & K_MOUSELEFT) && HasFocus() && HasCapture()) {
		int c = GetMousePos(p);
		PlaceCaret(c, mpos != c);
	}
}


I will check D&D issue soon - but I believe it is rather problem with DnD in X11 in general, so there should go the fix.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditString and moving cursor left or right...
Next Topic: WithDropChoice<Edit...> does not support Tip()
Goto Forum:
  


Current Time: Sun Apr 26 18:58:11 GMT+2 2026

Total time taken to generate the page: 0.00589 seconds