I'm making a project in c + +.
I am now creating help, so if you push a button or F1.
but I do not know how to make this.
can someone help me
Thanks in advance

jongen joeri

Recommended Answers

All 4 Replies

what operating system? what compiler? GUI or console? You have left out a lot of info that we need to help you.

gui visual studio windows 7

mfc, win32 api, windows forms, or something else?

For button push, just implemement it on the OnButtonClick even handler (might be called something else depending on what gui you are using).

For F1 you will have to override the WinProc() event handler or enable a keyboard event handler function. Some of these google links might help you.

I'm pretty sure, that I can do something with this information.

thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.