Вниз
Скачать: CL | DM;

chm   Найти похожие ветки 

← →
shtam   (2007-08-09 13:36) [0]

помогите ктознает как открыть файл справки(CHM) в моей форме а не как самостаятельную форму


← →
Сергей М. ©   (2007-08-09 16:01) [1]

Гуглить-то умеем ?

http://www.google.ru/search?q=Delphi+%D1%81%D0%BF%D1%80%D0%B0%D0%B2%D0%BA%D0%B0+CHM&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:ru:official&client=firefox-a


← →
Lacmus ©   (2007-08-09 18:34) [2]

>shtam   (09.08.07 13:36)


type
 HH_WinType = record
   cbStruct: Integer;
   fUniCodeStrings: bool;
   pszType: PChar;
   fsValidMembers: Longint;
   fsWinProperties: Longint;
   pszCaption: PChar;
   dwStyles: Longint;
   dwExStyles: Longint;
   rcWindowPos: TRect;
   nShowState: Integer;
   hwndHelp: THandle;
   hwndCaller: THandle;
   paInfoTypes: ^HH_InfoType;
   hwndToolbar: THandle;
   hwndNavigation: THandle;
   hwndHTML: THandle;
   iNavWidth: Integer;
   rcHTML: TRect;
   pszToc: PChar;
   pszIndex: PChar;
   pszFile: PChar;
   pszHome: PChar;
   fsToolbarFlags: Longint;
   fNotExpanded: bool;
   curNavType: Integer;
   tabPos: Integer;
   idNotify: Integer;
 end;
 PHH_WinType = ^HH_WinType;

procedure TForm27.Button1Click(Sender: TObject);
var
 pWinType: PHH_WINTYPE;
begin
 pWinType := nil;
 if HtmlHelp(Handle, "test.chm>main", HH_GET_WIN_TYPE, LongInt(@pWinType)) = 0 then begin
   pWinType.dwStyles := pWinType.dwStyles or WS_CHILD;
   if HtmlHelp(Handle, "test.chm", HH_SET_WIN_TYPE, LongInt(pWinType)) = 0 then
     ShowMessage("HH_SET_WIN_TYPE - OK")
 end else
   ShowMessage("HH_GET_WIN_TYPE - Fail");
 HtmlHelp(Handle, "test.chm", HH_DISPLAY_TOPIC, 0);
end;



← →
alshtam   (2007-08-14 07:41) [3]

спасибо огромное все получилось



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.014 c
8-1164899993
drnet_ua
2006-11-30 18:19
2007.09.09
копирование круглой области


2-1187272661
loeg
2007-08-16 17:57
2007.09.09
Web и Image


2-1187436539
fulkon
2007-08-18 15:28
2007.09.09
Делфи и пользователи под виндой!!


1-1183280902
JanMihail
2007-07-01 13:08
2007.09.09
Как узнать позицию каретки в чужом окне?


2-1187203851
JetAPI
2007-08-15 22:50
2007.09.09
В TListView, TextOut не прорисовывает цвета.




   Наверх