Status & Roadmap
Authors & License
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 246 times)
  • Attachment: LabelBase.cpp
    (Size: 12.91KB, Downloaded 215 times)
  • Attachment: Draw.h
    (Size: 44.21KB, Downloaded 257 times)
  • Attachment: DrawTextUtil.cpp
    (Size: 2.70KB, Downloaded 204 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: Wed Jul 15 20:56:00 CEST 2020

Total time taken to generate the page: 0.01441 seconds