ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnFolderMView clone on a second monitor
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

giancarlo

Italy
65 Posts

Posted - Nov 06 2014 :  03:20:10  Show Profile  Reply
I have to reproduce on a second monitor the same "view" o a ImageEnFolderMView... is possible to syncronize the scroll?
Or maybe is possibile to take a screenshot of the ImageEnFolderMView area? (so i can use a single imagenview in the secondo monitor instead of the ImageEnFolderMView.
I have already the same thumbnails on both ImageEnFolderMView

Thank you

xequte

39142 Posts

Posted - Nov 09 2014 :  13:42:08  Show Profile  Reply
Hi

If the secondary view is non-interactive (display only) then you would be best to use something like a TPaintBox and simply draw its content every time the view of the TImageEnFolderMView changes.

You can use the PaintToCanvas method to output to a secondary canvas (though there are probably faster ways of canvas cloning) every time the OnViewChange event fires.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

giancarlo

Italy
65 Posts

Posted - Nov 11 2014 :  01:27:19  Show Profile  Reply
Thank you Nigel.
I've first tried the PaintToCanvas but i need to fit the captured image on the second monitor, so i used the an ImageEnFolderMView.PaintTo(myBMP) to grab a tbitmap then i put into an imagenview with autofit :)

The event OnViewChange is fired only on the scroll but i clone the list also in the select event.

that solution works absolute perfeclty as i need :)

thank you again

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: