Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2002, 11:41 AM
3esosi3 3esosi3 is offline
Junior Member
 
Join Date: Dec 2002
Posts: 3
Default Application contextual Menu in windows explorer

I have an editor created with delphi. I have created a contextual menu in windows explorer to open the selected files with my editor exemple (open with myeditor). Works fine with one file, but when I select more than one file it opens my application the same number of times as the number of files selected.

Basically, I would like to do something similar to Ultraedit, Open multiple files from windows explorer contextual menu.

From Here I dont know were to go!

Thank!

Marc Guerin
Reply With Quote
  #2  
Old 12-20-2002, 02:51 AM
PetrB PetrB is offline
Senior Member
 
Join Date: Jul 2002
Posts: 530
Default RE: Application contextual Menu in windows explorer

Hi,
you don't specify if your program is opened many times as you selected files but with first file or with every selected file.
I supose you have open your application x-times for every of selected files.
Try test multiinstance of your program when it's start. If you see programm running, find his main window and send some message with FileName otherwise call some function like OpenNewEditWindow(FileName).
On this server you found a lots of articles about multiinstance and sending messages.

If it help you please give me a point.
PB
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 05:19 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.