Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: OpenOffice.org/DOCX/FB2 Viewer 
Author Message
Starina



PostPosted: Thu Nov 08, 2007 16:54    Post subject: Reply with quote

1) может придумать другое построение временных папок?

2) Английская статья с небольшим примером:
http://www.delphidabbler.com/articles?article=18

Также нашел компонент, которых этот интерфейс реализует EmbeddedWB:
http://www.bsalsa.com/

И вот как можно использовать метод:
Code:

  type
  TCustomizedWebBrowser = class(TWebBrowser, IDocHostUIHandler)
   ...

function TCustomizedWebBrowser.TranslateAccelerator(const lpMsg: PMSG;
  const pguidCmdGroup: PGUID; const nCmdID: DWORD): HRESULT;
begin
  Result := S_FALSE;
 
  with lpMsg^ do
    if (message = WM_KEYDOWN) and (GetKeyState(VK_CONTROL) >= 0) then
      begin
        MessageDlg(Char(wParam), mtWarning, [mbOK], 0);

        Result := S_OK;
      end
end;

Пока все, что смог.
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group