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 » Bugfix: DocEdit, not to put back to wantfocus after clicking into it
Re: Bugfix: DocEdit, not to put back to wantfocus after clucking into it [message #43260 is a reply to message #43256] Tue, 17 June 2014 15:47 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
In a standard windows application, the user presses the tab key to iterate thru controls.
If I want to exclude a control from this iteration process, I disable WantFocus flag in the control.
This is a working way for controls, except for DocEdit. Clicking into it enables the disabled WantFocus for the control. A click changes it's behaviour.

I think, it is a bug in the code. SetFocus() should be enough instead of SetWantFocus().
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Window not scrolling
Next Topic: How to use caret / caretCtrl in a custom control [SOLVED]
Goto Forum:
  


Current Time: Mon May 20 16:50:36 CEST 2024

Total time taken to generate the page: 0.00771 seconds