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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, October 19, 2007 5:41:25 AM(UTC)

sarghir  
sarghir

Groups: Registered
Posts: 9


I'm trying to manually display and update the magnifier glass over an image displayed using LImageViewer. Can I do this using L_StartMagGlass and L_UpdateMagGlass?

Thanks,
Arg
 

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, October 19, 2007 6:35:25 AM(UTC)

BoydP  
Guest

Groups: Guests
Posts: 3,022

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

Yes you could certainly use those functions with LBitmapWindow because you can use LBitmapWindow::GetBitmapWnd for the HWND of the window and LBitmapBase::GetHandle to get the BITMAPHANDLE of the bitmap.  You can then use that data to call L_StartMagGlass. 

Also you can create your own class and inherit LBitmapWindow to override LBitmapWindow::MagGlassCallback, but you must make sure to call LBitmapWindow::EnableCallBack(TRUE) first.
 
#3 Posted : Friday, October 19, 2007 8:28:23 AM(UTC)

sarghir  
sarghir

Groups: Registered
Posts: 9


Sorry, but the question was about using magnifier API functions with LImageViewer not LBitmapWindow.
 
#4 Posted : Thursday, November 1, 2007 4:27:41 AM(UTC)

BoydP  
Guest

Groups: Guests
Posts: 3,022

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

Similiar functions exist in the LImageViewer class...have you tried using LImageViewer::GetCellWindowHandle and LImageViewer::GetBitmapHandle and then passing that data to L_StartMagGlass?
 
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.071 seconds.