U++ framework
Do not panic. Ask here before giving up.

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: 1428
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 518 times)
  • Attachment: LabelBase.cpp
    (Size: 12.91KB, Downloaded 470 times)
  • Attachment: Draw.h
    (Size: 44.21KB, Downloaded 474 times)
  • Attachment: DrawTextUtil.cpp
    (Size: 2.70KB, Downloaded 435 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: Thu May 14 03:35:47 GMT+2 2026

Total time taken to generate the page: 0.01242 seconds