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 #43278 is a reply to message #43260] Sun, 22 June 2014 09:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
zsolt wrote on Tue, 17 June 2014 15:47
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().



OK. I think that you are right. Applied.
 
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: Fri May 10 07:27:23 CEST 2024

Total time taken to generate the page: 0.02709 seconds