lcl: declare THelpInfo structure

git-svn-id: trunk@20825 -
This commit is contained in:
paul 2009-07-11 08:33:37 +00:00
parent 21337fbfae
commit 9afd4bf495
2 changed files with 15 additions and 1 deletions

View File

@ -564,7 +564,7 @@ end;
------------------------------------------------------------------------------}
function TApplication.ValidateHelpSystem: Boolean;
begin
Result:=HelpManager<>nil;
Result := HelpManager <> nil;
end;
{------------------------------------------------------------------------------

View File

@ -1154,6 +1154,17 @@ type
TDIBSection = tagDIBSECTION;
DIBSECTION = tagDIBSECTION;
tagHELPINFO = record
cbSize: DWORD;
iContextType: Integer;
iCtrlId: Integer;
hItemHandle: THandle;
dwContextId: DWORD;
MousePos: TPOINT;
end;
THelpInfo = tagHelpInfo;
PHelpInfo = ^THelpInfo;
const
RASTER_FONTTYPE = 1;
DEVICE_FONTTYPE = 2;
@ -1161,6 +1172,9 @@ const
GCP_DBCS = 1;
// context type
HELPINFO_WINDOW = $0001;
HELPINFO_MENUITEM = $0002;
//==============================================
// Background Modes