Solved

Delphi Programming question

Posted on 1997-07-01
1
174 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now