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 » RichText,QTF,RTF... » Issue with access keys positions
Issue with access keys positions [message #20499] Sat, 21 March 2009 05:10 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
One of the first real issues I discovered in U++ that hasn't been fixed yet was the fact that you can't specify the position of an access key: "Zoom &Out" will highlight the first "o" in the text, not the third one.

Here is a possible fix for it. Not exactly the way I wanted it, but I did it this way so that only controls who specify a manual access key get affected by modified code and I also wanted to maintain backward compatibility.

Here is the general mechanism to implement access key positioning:
  • Attachment: LabelBase.h
    (Size: 4.62KB, Downloaded 365 times)
  • Attachment: LabelBase.cpp
    (Size: 12.91KB, Downloaded 331 times)
  • Attachment: Draw.h
    (Size: 44.21KB, Downloaded 369 times)
  • Attachment: DrawTextUtil.cpp
    (Size: 2.70KB, Downloaded 311 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RichText editor problem..
Next Topic: An escape function for QTF ?
Goto Forum:
  


Current Time: Sat Apr 20 09:43:54 CEST 2024

Total time taken to generate the page: 0.06482 seconds