473,670 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accelerator Resources

Rabbit
12,516 Recognized Expert Moderator MVP
Okay, so the tutorial I'm using is creating Accelerator (Keyboard shortcuts) resources using Visual C++. I'm using DevC++ and was unable to find a similar function in their resource editor. So what I did was copy that part of his resource file.
Expand|Select|Wrap|Line Numbers
  1. IDR_ACCELERATOR1 ACCELERATORS 
  2. BEGIN
  3.     VK_F4,          ID_ACC_F4,              VIRTKEY, NOINVERT
  4.     VK_RETURN,      ID_ACC_ENTER,           VIRTKEY, NOINVERT
  5. END
I'm getting a parse error for the line after BEGIN.
Apr 6 '07 #1
18 3934
Rabbit
12,516 Recognized Expert Moderator MVP
Just thought I'd give this a bump.
Apr 9 '07 #2
Peterwkc
55 New Member
I don't understand what you doing here because i am a newbie. I would like to learn from you.

Thanks for oyur explanation.


Your help is greatly appreciated by me and others.
Apr 11 '07 #3
Rabbit
12,516 Recognized Expert Moderator MVP
I've been looking on google but I've yet to find anything useful.

I tried copying over the tutorial's source files but I had to remove a lot of the stuff in resouce file that he didn't include in his files. I still got a parse error on that line.
Apr 12 '07 #4
Rabbit
12,516 Recognized Expert Moderator MVP
Bumping the thread.
Apr 16 '07 #5
Rabbit
12,516 Recognized Expert Moderator MVP
I'm not sure if there's no replies because no one knows the answer or because everyone thinks I'm already getting helped because of how many replies there are.
Apr 18 '07 #6
Rabbit
12,516 Recognized Expert Moderator MVP
I'm gonna post another thread linking this one because I don't think anyone's actually looking at this thread.
Apr 25 '07 #7
Rabbit
12,516 Recognized Expert Moderator MVP
Accelerator Resources

The link is to a thread that I haven't received a response to. Thanks.
Apr 25 '07 #8
RedSon
5,000 Recognized Expert Expert
I wasn't looking at this thread until I saw a double post! Shame, shame, Rabbit you should know better!

I suspect that DevC++ or whatever you are using doesn't know what VK_F4 is and that is your problem.
Apr 25 '07 #9
RedSon
5,000 Recognized Expert Expert
Another thought occurs to me... have you compared the resource files of Visual Studio with the resource files of whatever you are looking at? Perhaps the syntax is slightly different. Or is Dev c++ strictly an IDE?
Apr 25 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3765
by: Nick Bartos | last post by:
I am looking for an open source php accelerator that works in cgi mode. I am guessing that to do that the cache would have to be on disk and not in memory. I was looking at the turk accelerator (since it will cache to disk), but it says somewhere that it will not work in cgi mode. I am almost tempted to try it though. Ideas? BTW my platform is linux.
0
1508
by: | last post by:
I have not used a php accelerator besides the free version of zend's offering. I am looking for opinions on the best performer out there. Price is really not a problem... I just need to look at something of quality. I'm really not interested in the following: 1 - Free offerings for the mere fact that they are free. I'm looking for quality product, not someone's hobby project. 2 - For that matter, I'd really not want to hear about...
0
1541
by: Deke | last post by:
I could not find a Zend PHP Accelerator Engine for Solaris X86. The faq says it is available but could not find it anywhere on the site. Does one one know about such a port? Any one use one? What do you think about this free engine : http://pecl.php.net/package-info.php?package=APC Thanks for any help!
2
2632
by: Richard | last post by:
Is there a way to duplicate the accelerator key for controls which live on separate pages of a tab control. i.e. to have a button called &Button1 on one tab and another button called &Button2 on another tab, both buttons have Alt-B as their accelerator?
1
2352
by: BruceR | last post by:
I have created an Outlook style bar in my C# application and have associated accelerator keys to my group/icon buttons by using the & key and setting UseMnemonic as appropriate. The problem is that the buttons are being selected even when I do not press the Alt key. Simply pressing the shortcut key alone without Alt selects the button. This is not the desired effect - I wish to make it so that the user must press the Alt in association...
1
3474
by: Csaba Gabor | last post by:
Short version: if the user types an alt+ctrl+char combination which leads to a defined character, but s/he's not in a input(text)/textarea, then I'd like that keystroke combination to do the same action that it would have done had there not been a defined character. Longer explanation: I've got a US keyboard and a pseudo Hungarian/German keyboard (I combined them). The extra keys on the European keyboard are entered via alt+ctrl+char...
2
2519
by: Richard Lewis Haggard | last post by:
How does one specify the Escape key as an accelerator? My client has specified that the Escape key be used as an accelerator for a particular menu item. In VS05's designer mode, this particular key is not available as an option to select from the menu item's properties ShortcutKeys item. "No problem," says I to myself (I talk to myself. It's the only way I can have an intelligent conversation around here. Or at least a coherent one, but...
2
2413
by: B. | last post by:
I have a C# winform with accelerator key associated with some menus. If my exe is in unmanaged C++ and the winform is invoked through interop, the accelerator key not working. If I create a new C#.Net project and the same winform is invoked in the C#.Net project, the accelerator key works perfect. Does anyone know what special thing I need to invoke accelerator key if winform is invoked through Interop. Thanks a lot.
2
3219
by: killy971 | last post by:
I have been testing different libraries to process XSL transformations on large XML files. The fact is that I read a document from Intel, stating their library (XSLT accelerator) was more twice faster than Apache Xalan, and was designed to perform well on large XML files. - http://isdlibrary.intel-dispatch.com/isd/10/wp_XSLT.PDF - http://www.intel.com/cd/software/products/asmo-na/eng/366637.htm Please note that their benchmark was only...
0
8471
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8903
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8815
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7421
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5686
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4393
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2802
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1795
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.