Re: Regarding Accelerators
Posted: Sat Nov 29, 2014 2:30 am
Although the functionality you need isn't built into PureBasic, one thing that makes PB a pleasure to use for Windows API programming, is that many api functions are already recognized by the editor's auto-complete function and most of the structures needed are also already defined.
On the MSDN page for keyboard accelerators: http://msdn.microsoft.com/en-us/library ... g_rt_table for example, the required api calls and the ACCEL data structure they use is defined and ready to use in PureBasic. The code posted by user PB here: http://www.purebasic.fr/english/viewtop ... 12&t=61087 can be easily modified to use the api calls listed on that MSDN page and then you can have the keyboard shortcuts work the way you need them to.
Welcome to PureBasic and happy programming!
On the MSDN page for keyboard accelerators: http://msdn.microsoft.com/en-us/library ... g_rt_table for example, the required api calls and the ACCEL data structure they use is defined and ready to use in PureBasic. The code posted by user PB here: http://www.purebasic.fr/english/viewtop ... 12&t=61087 can be easily modified to use the api calls listed on that MSDN page and then you can have the keyboard shortcuts work the way you need them to.
Welcome to PureBasic and happy programming!