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 stick focus on a control
Re: How to stick focus on a control [message #706 is a reply to message #701] Wed, 25 January 2006 23:33 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
Yes, I use this code in LostFocus():
	TreeCtrl::ChildLostFocus();
	if(!HasFocusDeep())
		Accept();

And Accept() checks the user entered data and calls SetFocus() after exclamation. But I had to change that SetCapture() positions to be working.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Focus sticks in MenuBar when iterating with TAB key
Next Topic: tray icon & balloon notification
Goto Forum:
  


Current Time: Fri Jun 06 22:02:08 CEST 2025

Total time taken to generate the page: 0.04300 seconds