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



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, December 23, 2008 1:20:19 AM(UTC)


Groups: Registered
Posts: 15


I am currently using v13 and intend to upgrade to v16. I would like to know if the following classes are available in LeadTools v16? If not, what are the corresponding classes and where can I find help files related to the same?
1. CLEADSaveType derived from COleDispatchDriver
2. CLEADScrollInfo derived from COleDispatchDriver

We make use of MFC 7.2.




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 : Tuesday, December 23, 2008 5:45:27 AM(UTC)

Adam Boulad  

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Many things have changed in our ActiveX controls since v13.

These 2 classes are MFC wrapper classes for objects that were part of LEADTOOLS 13 ActiveX controls. The first one (LEADSaveType) was part of the LEAD imaging common dialogs. These dialogs have been re-designed and are completely different in version 16. For more info, see the following "Version History" topics in the LEADTOOLS 16 Common Dialog COM objects help file:
- Version 14
- Changes from Version 14 to Version 14.5
- Changes from Version 14.5 to Version 16

About the LEADScrollInfo, there is a similar class in our Main OCX 16 MFC demos, which you can find in the following folder:
[LEADTOOLS ActiveX 16 folder]\Examples\OCX\MSVC\
#3 Posted : Sunday, December 28, 2008 7:36:07 PM(UTC)


Groups: Registered
Posts: 15

Thanks for your response,

We use LeadDlg with the following functions in version 13. Are these functionalities available in version 16? If not, could you
please provide their corresponding functions.


 LeadDlg.SetDialogTitle("Choose Folder containing TIFF Images to Organize");
 LeadDlg.SetInitialDir( theApp.m_Path );


 LeadDlg.UnlockSupport(L_SUPPORT_PDF, "PDF Unlock Key String");

The hierarchy of the dialog classes seem to have changed. Since we do not make use of .Net classes in our project,
I need to make use of C++ Class Library - Common Dialog help. Please correct me if I am wrong.


#4 Posted : Tuesday, December 30, 2008 1:00:29 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)


The first thing to decide is which LEADTOOLS programming interface you would like to use.

In your old code, it appears you were using the LEAD Main OCX. Although this works with C++, and MFC will wrap the OCX objects in classes you can use, this will not give you the full power of LEADTOOLS, because the Main OCX does not contain all LEADTOOLS functions.

Therefore, I recommend using the C-style DLL API functions, or the LEAD C++ Class Library.

The functions you asked about have the following equivalents in the C++ Classes:
For the Contrast Dialog, use the LDialogColor::DoModalContrast
For the File Open dialog, use the LDialogFile::DoModalOpen
For the File Save dialog, use the LDialogFile::DoModalSave

These are all in the LEADTOOLS Imaging Common Dialogs C++ Class Library help file.

Maen Badwan
LEADTOOLS Technical Support
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-2024, Yet Another Forum.NET
This page was generated in 0.192 seconds.