LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Should L_StartMagGlass work with LImageViewer?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, October 19, 2007 5:41:25 AM(UTC)
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
#2
Posted
:
Friday, October 19, 2007 6:35:25 AM(UTC)
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)
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)
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?
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Should L_StartMagGlass work with LImageViewer?
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.