EmbeddedWB

Updates

  • January 14, 2001 (ver. 1.15):

    This version includes a couple of the most requested features: DeleteIEHistory, DeleteIECache.

    Also added: procedure GetThumbnail(var Image: TImage); You can call this method at any time (e.g. in OnProgressChange).

    New property addded to printoptions, so it is possible to include HTML in header-files. (Similar to printout from Outlook Express).
     
    Fixed Result in OnGetDropTarget, so the browser as default accept dropped urls. (Thanks, Christian)

    Undocumented functions SHLockShared, SHUnlockShared and SHFreeShared is not available in Windows 95 and caused problems when loaded dynamically. Fixed in IEConst.

    Fixed problem in procedure Hook (dynamically created instances caused AV if not destroyed in same order as they were created order).

    You will need IECommon 1.01 to install Embeddedwb 1.15



  • July 27, 2000 (ver. 1.14):

    DDE enhancements and Property UseDDE added to enable/disable DDE-fix for folder-navigation. (Thanks to Mathias Walter).

    Fixed resource leak (TMargins, NavigatePidl).

    DDE-fix for folder-navigation  now works on a non-toplevel form (Thanks to Mauro Castaldo for useful hints).

    Moved function Loaded to Public.

    Fixed subrange error in function Invoke.

    Replaced IDochostUIHandler with IDocHostUIHandler2 and  added new Eventhandler  OnGetOverrideKeyPath for IE 5.5 users. It is never called if you use IE 5.0.

    Added new IE 5.5 constants to IEConst (Thanks, Pete) and added ENABLE_INPLACE_NAVIGATION, IME_ENABLE_RECONVERSION to UserInterfaceOptions.

    New Property fpExceptions to disable/enable 
    floating-point exceptions. For more info, see discussion in the Delphi-Webbrowser Mailinglist, message 1472, message 1668 (Alexei Reatov) and message 2214 (Ian Bakker).

    Utility functions moved to IEUtils. IEUtils is used by most components on this website.

    Fixed bug in OnDropTarget. (Thanks to Christian Lovis).

 

  • May 13, 2000 (ver. 1.13):

    EmbeddedWB no longer opens an instance of IE when it navigates in folders. See more info:

    http://support.microsoft.com/support/kb/articles/Q189/6/34.ASP


    (Thanks to Mauro Castaldo for help with declarations to the undocumented shell32 function calls).


    New properties:

      PrintProperties: Portrait/landscape, margins, header, footer.
      ReplaceCaption: Replace caption on dialogs.
     
    Useragent

    New Events:

     
    OnShowDialog


    New Functions:

    Frame functions:

    GetFrame(FrameNo : Integer) : IWebbrowser2;
    FrameCount : Integer;
    SaveFrameToStream(FrameNo : Integer; AStream: TSTream);
    SaveFrameToStrings(FrameNo : Integer; AStrings : TStrings);
    SaveFrameToFile(FrameNo : Integer; FName : String);
    LoadFrameFromStream (FrameNo : Integer; AStream : TStream);
    LoadFrameFromStrings (FrameNo : Integer; AStrings : TStrings);


    Replaced and removed properties:
     
    UseHook
      SetPrintHeader

    Fixed bugs:
      in Function Encode. (Thanks, Henri)
      in Downloadoptions.

 

  • January 23, 2000 (ver. 1.12):

    Mathias Walter improved messagehandling code.

    Access Violation on exit from application has been reported. It seems to be related to IE 5.01 128-bit after visiting pages with Scripts.
    See the Delphi-Webbrowser mailinglist for more about this problem. 

 

  • January 8, 2000 (ver. 1.11):

    Mathias Walter has again improved the messagehandling. It fixes the accelerator-keys problem. With D5, it uses the browser window proc instead of the global message handler. With D4, the global message handler is still necessary.
    See the Delphi-Webbrowser newsgroup for discussions about key-problems in TWebbrowser. 

    New event Added: OnQueryClose. It's fired, every time a browser windows close procedure is called. Useful to prevent closing of the webbrowser from window.close-buttons etc. (Thanks to Mathias Walter).

    Since must users have removed the default "Internet Explorer Components" package in Delphi 5 and replaced it with newer version of shdocvw_tlb.pas and mshtml_tlb.pas, the uses clauses in EmbeddedWB is changed from shdocvw to shdocvw_tlb. 



  • December 27, 1999 (ver. 1.10)

    Property UseHook added. If TRUE your application.icon will be added to all dialogboxes and "Internet Explorer" or "Microsoft Internet Explorer" be replaced with your application.title. You can also use this feature to disable script-error dialogs by adding a single line of code.
    (I have not tested this implementation much, but if it does not turn out to have unpredicted sideeffects (comments welcomed!) I will use it for adding extended print options (direction, copies, margins, header, footer etc) to coming versions of the component).

    also added following functions:

    ShowMailClient;
    ShowNewsClient;
    ShowAddressBook;
    ShowCalendar; //If installed
    ShowInternetCall; (Messenger) //If installed
    PrintPreview; (IE 5.5 only)

    OnQueryService; 

    Created easy access to SecurityManager and ZoneManager objects. See Zones & Security for examples of use.

    Updated constants and fixed bug in GetHostInfo.

  • December 1, 1999 (ver. 1.09)

    Quick new update: All known bugs fixed in messagehandler(!!!) Big thanks again to Mathias Walter.
    Also fixed the missing D4-compatibility in 1.08 and a stupid bug in function Invoke.

    Changed Webpage Getting Started. Fix in D4 forms.pas no longer needed for messagehandling.

  • November 29, 1999 (ver. 1.08)

    Messagehandling is the never ending Webbrowser-problem. The Delphi 5-fix did not fix much of the problem.
    Thanks to Mathias Walther a new powerful messagehandler has been added to EmbeddedWB. There are still a few problems, but in my opinion the best messagehandler seen yet.

    Thanks to Neil Moss for improving the code for Download Options. His code also gave me the idea to make it easier to set user interface (DOCHOST_UI_FLAGS).

    Following functions has been added:

    RegisterNameSpace(clsid : tguid);
    UnRegisterNameSpace;
    RegisterMimeFilter(clsid : tguid; mime: pwidechar);
    UnRegisterMimeFilter(mime : pwidechar);

    See utilities and Section APP for more info.

  • September 5, 1999 (ver. 1.07)

    Updates for Delphi 5
    Changed messagehandling (see Getting Started)

    added webpage: Getting Started
    Fixed bug in sample on OnGetHostInfo (Thanks Marino)

  • August 20, 1999 

    Added  Tips & Tricks page

  • August 10, 1999 (ver. 1.06)

    Added functions: (see Utilities)

    function SaveToStream
    function SaveToStrings
    function SaveToFile
    function LoadFromStream
    function LoadFromStrings
    procedure AssignDocument

    Minor changes to:

    Function Encode
    Function Invoke
    DownloadOptions
    PageSetup

    Added webpage: OnNewWindow2
    Updates: Utilities
    Changed samle in OnShowContextMenu

 

  • August 7, 1999 (Ver. 1.05)

    Fixed bugs in:

    IEMessageHandler (thanks, Gerard)
    OnDropTarget (thanks, Suat)
    Go (Thanks, Zareh)
    SetFocusToDoc

    Added webpage: OnShowMessage
    Added sample to OnGetHostInfo


  • july 31, 1999 (ver. 1.04)

    Changed code for messagehandling so Webbrowser can receive focus. 

    Added procedure SetFocusToDoc. (see Utilities)

    fixed bug in Zoomvalue (thanks, Chris)

    Added property DownloadOptions and implemented Idispatch and handling of DISPID_AMBIENT_DLCONTROL in Idispatch.Invoke.

    Added HtmlHelp ApiCall and property HelpFile for OnShowHelp.

    Added Webpages: DownloadOptions and OnShowhelp

  • july 28, 1999 (ver. 1.03)

    Added version for Delphi 5 (preview). In Delphi 5 is THTML replaced with MS Webbrowser.

    Added helper-functions for Navigate2: StringtoVarArray, VarArraytoString and Encode.

    Added webpage: Navigate2