systan
asked on
your idea using shellFolderView without the timer
Your idea using shellFolderView without the timer.
hi,
I've done this in Delphi, vb.NET and C#.
I've manage to get the path of the last top explored window,
But, I used the timer, every time a top level window clicked?, I get the path and the filename.
But, I used the timer.
Whats your idea without using the timer?
hi,
I've done this in Delphi, vb.NET and C#.
I've manage to get the path of the last top explored window,
But, I used the timer, every time a top level window clicked?, I get the path and the filename.
But, I used the timer.
Whats your idea without using the timer?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Oh, I did use the <WinEventHook{detect windows switching}>, but I did not like the procedure, so I decided to use the timer.
Ok, I'll follow both of your recommendations.
thank you Delphi Experts.
For .NET users I don't know why all of you are speechless if there are Delphi geeks.
I'll bet back later.
Ok, I'll follow both of your recommendations.
thank you Delphi Experts.
For .NET users I don't know why all of you are speechless if there are Delphi geeks.
I'll bet back later.
ASKER
>>I do not have clear view yet of what you are trying to do
I'm trying to automate the detection of explored window path.
sample:
you have opened 2 windows;
my documents, and my pictures
when you click an item name <could be a folder or a file> to my documents?, it displays the item on the form, when you click an item name directly to my pictures?, then it displays the item name.
I don't really know if I got it right, but I did use the timer to get it, with the help of shellfolderview.
>>But of what I understood, you can use OnClick by adding flags which detect the changes in the selection.
A mouse hook? No, it can't, conflicts with shellfolderview
>>the error,
An outgoing call cannot be made since the application is dispatching an input-synchronous call.
>>Use a thread LOL
I can't figure it out
I'm trying to automate the detection of explored window path.
sample:
you have opened 2 windows;
my documents, and my pictures
when you click an item name <could be a folder or a file> to my documents?, it displays the item on the form, when you click an item name directly to my pictures?, then it displays the item name.
I don't really know if I got it right, but I did use the timer to get it, with the help of shellfolderview.
>>But of what I understood, you can use OnClick by adding flags which detect the changes in the selection.
A mouse hook? No, it can't, conflicts with shellfolderview
>>the error,
An outgoing call cannot be made since the application is dispatching an input-synchronous call.
>>Use a thread LOL
I can't figure it out
ASKER
I can't use the Onkey, I still use the shellFolderview.
thanks
thanks
Hey Systan
Use a thread LOL