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: 1400
Registered: September 2007
Senior 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 241 times)
  • Attachment: LabelBase.cpp
    (Size: 12.91KB, Downloaded 209 times)
  • Attachment: Draw.h
    (Size: 44.21KB, Downloaded 252 times)
  • Attachment: DrawTextUtil.cpp
    (Size: 2.70KB, Downloaded 198 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: Fri May 29 05:15:05 CEST 2020

Total time taken to generate the page: 0.03112 seconds