Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, August 24, 2004 1:21:12 PM(UTC)

Groups: Registered
Posts: 2


Each common dialog has at least two events, the FileLoad event and the HelpDlg event. I cannot work out from the examples how to use them in my C++ MFC project. Do they fire a message and hence does that mean they must be caught in the WindowsProc message handeler?




Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, May 13, 2005 10:07:48 AM(UTC)


Groups: Tech Support
Posts: 33

Thanks: 3 times

The FileLoad event is triggered for each file selected by the user to be opened using the Open dialog box when the user want to open multiple files at the same time.
This event will be triggered only if OPEN_ALLOWMULTI is set in the UIFlags property.

The DlgHelp event is triggered when the user clicks on the Help Button on any dialog. To include a help button in a dialog, ShowHelpButton property must be set to VARIANT_TRUE.

In order to handle these events in MFC, you must create a sink class, and add an event handler for the event(s) you wish to process.  A good place to start with this, is the following Microsoft link:

Also, you should work throught the tutorial “Updating a Gauge and Detecting a User Interrupt” in the LEADTOOLS Main COM Object helpfile.  This tutorial shows how to create a sink class for the LEADTOOLS ILEADRasterProcess COM Object and handle its ProgressStatus event.


Ike Starnes
LEAD Technologies, Inc.

LEAD Technologies, Inc.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.049 seconds.