single-click or double-click to open a file??

C

Chen Zhuo

Hi, all
I want to program to check whether in windows explorer, a file is
opened by single-click or double-click. Anyone knows where is the
registry key to store this information?
Thanks a lot!

Regards,
Chen Zhuo
 
M

Mark V

In said:
Hi, all
I want to program to check whether in windows explorer, a
file is
opened by single-click or double-click. Anyone knows where is
the registry key to store this information?
Thanks a lot!

W2K
Using REGMON from Sysinternals it appears to be a ShellState change.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

I cannot tell you how to interpret the binary data stored there
however.
 
C

Chen Zhuo

Mark said:
In microsoft.public.win2000.registry Chen Zhuo wrote:




W2K
Using REGMON from Sysinternals it appears to be a ShellState change.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

I cannot tell you how to interpret the binary data stored there
however.

Yeap! It's there, at the 5th byte of ShellState value!
I know how to read the value in the Visual C++
Thanks a lot ya!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top