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

  • Thread starter Thread starter Chen Zhuo
  • Start date Start date
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
 
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.
 
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!
 
Back
Top