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

Home » Community » Newbie corner » How to add accelerator keys to menus
Re: How to add accelerator keys to menus [message #27056 is a reply to message #27045] Wed, 23 June 2010 15:33 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
Item::Key() is for that. Bar::Add() return a reference to Item. Here is an example.
bar.Add("Quit", THISBACK(Quit)).Key(K_CTRL | K_Q);


Andrei
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moving to Linux dev from Win
Next Topic: Linux external libs
Goto Forum:
  


Current Time: Sun Apr 26 12:01:40 GMT+2 2026

Total time taken to generate the page: 0.00412 seconds