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 » 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: Mon Jul 07 02:48:22 CEST 2025

Total time taken to generate the page: 0.02964 seconds