Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delphi Programming question

Posted on 1997-07-01
1
Medium Priority
?
195 Views
Last Modified: 2012-05-04
I would like to put a "What's this?" function in my program. I have already put a button with question mark in title bar to use this function. Now I would like to put the same function in menu or toolbar, but I don't what to do when user triggers this function in menu or toolbar.
0
Comment
Question by:marko020397
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 0 total points
ID: 1338061
I'm not sure what you're asking, but the following line might work to simulate a press on the question mark in the title bar.

Add in eg MenuItemClick handler:
PostMessage(Handle, WM_SYSCOMMAND, SC_CONTEXTHELP, 0);

Regards,

Erik.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question