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
 Load image file
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

save0804

Korea
20 Posts

Posted - Jun 26 2017 :  19:37:18  Show Profile  Reply
I'm building an image viewer with Delphi.
How do I double-click an image file on the desktop to load it into imageenview but load it directly?
Do you have a demo that I can see?

xequte

38616 Posts

Posted - Jun 26 2017 :  20:13:20  Show Profile  Reply
Hi

The code needed here is not in ImageEn, but in associating your application as the default handler for that file type in Windows. That way, when you double-click a file type (e.g. a .jpeg file) in Explorer, Windows will launch your program to display it.

Try the links at:

https://www.google.com/search?q=associate+file+with+application+delphi


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

save0804

Korea
20 Posts

Posted - Jun 26 2017 :  21:22:22  Show Profile  Reply
Do you have any demonstrations you can see?
Go to Top of Page

xequte

38616 Posts

Posted - Jun 27 2017 :  22:45:31  Show Profile  Reply
Hi

There a lot of examples of this already on the web. It is quite simple to do.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: