Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
Community
»
Newbie corner
»
How to add accelerator keys to menus
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: How to add accelerator keys to menus
[
message #35639
is a reply to
message #27056
]
Fri, 09 March 2012 09:57
jibe
Messages:
294
Registered:
February 2007
Location:
France
Experienced Member
Hi,
andrei_natanael wrote on Wed, 23 June 2010 15:33
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);
Yes, this works well !
But this way, I can have the SHIFT+CTRL combination, but others like CTRL+ALT or SHIFT+ALT give a complilation error :
Quote:
main.cpp:124: error: ‘K_CTRL_ALT_E’ was not declared in this scope
What is wrong ? Is there a simple way (without .key file) to have this working ?
Report message to a moderator
[
Message index
]
How to add accelerator keys to menus
By:
281264
on Tue, 22 June 2010 22:38
Re: How to add accelerator keys to menus
By:
andrei_natanael
on Wed, 23 June 2010 15:33
Re: How to add accelerator keys to menus
By:
mrjt
on Wed, 23 June 2010 16:22
Re: How to add accelerator keys to menus
By:
281264
on Fri, 25 June 2010 16:25
Re: How to add accelerator keys to menus
By:
andrei_natanael
on Fri, 25 June 2010 23:03
Re: How to add accelerator keys to menus
By:
jibe
on Fri, 09 March 2012 09:57
Re: How to add accelerator keys to menus
By:
Lance
on Fri, 13 April 2012 04:21
Previous Topic:
Moving to Linux dev from Win
Next Topic:
Linux external libs
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Sun Jul 06 17:49:05 CEST 2025
Total time taken to generate the page: 0.03596 seconds