size : 481
uploaded_on : Wed Oct 14 00:00:00 1998
modified_on : Wed Dec 8 14:03:17 1999
title : Context help
org_filename : ContextHelp.txt
author : Yorai Aminove
authoremail :
description : Context sensitive help in "What's this" mode
keywords :
tested : not tested yet
submitted_by : Mike Orriss
submitted_by_email : mjo@3kcc.co.uk
uploaded_by : nobody
modified_by : nobody
owner : nobody
lang : plain
file-type : text/plain
category : delphi-system32bit
__END_OF_HEADER__
Does anyone have code or experience creating a What's This? Menu option? I want the user to be able to click What's this? and then on a control and receive context sensitive help.
Post a WM_SYSCOMMAND message with the SC_CONTEXTHELP command:
PostMessage(Handle, WM_SYSCOMMAND, SC_CONTEXTHELP, 0);
This will change the cursor, and would send a WM_HELP message (which Delphi handles automatically) based on the HelpContext property of the control you click.
Yorai Aminov