|
|
|
date: Tue, 22 Apr 2008 09:11:00 -0700,
group: microsoft.public.win32.programmer.ui
back
InfoTip problem
Hi,
I have written a small application to extract information from some of my
files, and display it as an info tip.
Everything works locally (with the files on my PC), but as all of these
files are stored on a different PC I need to get the info tip working across
the network, does anyone have any idea how to go about registering for this?
If I watch the calls to the registry with Regmon, for any infotip over the
network, there seems to be no lookup except whether to display a tip or not,
and then just the file size and type are displayed, which must be coming from
somewhere, but where?
Cheers!
date: Tue, 22 Apr 2008 09:11:00 -0700
author: MonkeyHunter
Re: InfoTip problem
Hi Dave,
Thanks for the input.
The files are on a mapped network drive, but I have also tried navigating
to the files using a UNC path, I have tried different combinations of Windows
for hosting the files XP to XP, XP to 2K etc.
For testing purposes ive cut everything down to just work with file
extensions, and am working with zero k files, over a quick network; so it's
not that.
> What's the significance of the files being on a different PC?
This is of course what im trying to get to the bottom of, there seems to be
a difference in the way the shell handles infotips for network files, as it
looks up whether to display them or not in the registry, but then does not
look up the infotip for the extension to display like normal. However it does
display an infotip, but it just contains the File Type and Size for all file
types on the network. What i really need to know is where this infotip comes
from, so I can somehow register my code...
You can check this out if you want by hovering over a word file on a network
share, it will only display the Type and size, as opposed to the plethora of
information you usually get.
Cheers!
"David Lowndes" wrote:
> > I have written a small application to extract information from some of my
> >files, and display it as an info tip.
> >
> >Everything works locally (with the files on my PC), but as all of these
> >files are stored on a different PC
>
> What's the significance of the files being on a different PC?
>
> Presumably they're being viewed in exactly the same way, just that
> they're in a network shared directory.
>
> Are these particularly large files, or on a particularly slow network
> connection?
>
> Dave
>
date: Wed, 23 Apr 2008 02:00:03 -0700
author: MonkeyHunter
InfoTip problem Solution (QuickTip)
Ok, after some more digging using Regmon, it turns out that when you hover
over files in a network share the shell looks up QuickTip before InfoTip. So
now I can get everything working.
For anyone interested, more information on this is available (easy when you
know what your looking for!) here:
http://windowsxp.mvps.org/quicktip.htm
Cheers,
Scott.
"MonkeyHunter" wrote:
> Hi Dave,
>
> Thanks for the input.
>
> The files are on a mapped network drive, but I have also tried navigating
> to the files using a UNC path, I have tried different combinations of Windows
> for hosting the files XP to XP, XP to 2K etc.
>
> For testing purposes ive cut everything down to just work with file
> extensions, and am working with zero k files, over a quick network; so it's
> not that.
>
> > What's the significance of the files being on a different PC?
>
> This is of course what im trying to get to the bottom of, there seems to be
> a difference in the way the shell handles infotips for network files, as it
> looks up whether to display them or not in the registry, but then does not
> look up the infotip for the extension to display like normal. However it does
> display an infotip, but it just contains the File Type and Size for all file
> types on the network. What i really need to know is where this infotip comes
> from, so I can somehow register my code...
>
> You can check this out if you want by hovering over a word file on a network
> share, it will only display the Type and size, as opposed to the plethora of
> information you usually get.
>
> Cheers!
>
>
> "David Lowndes" wrote:
>
> > > I have written a small application to extract information from some of my
> > >files, and display it as an info tip.
> > >
> > >Everything works locally (with the files on my PC), but as all of these
> > >files are stored on a different PC
> >
> > What's the significance of the files being on a different PC?
> >
> > Presumably they're being viewed in exactly the same way, just that
> > they're in a network shared directory.
> >
> > Are these particularly large files, or on a particularly slow network
> > connection?
> >
> > Dave
> >
date: Wed, 23 Apr 2008 02:43:00 -0700
author: MonkeyHunter
Re: InfoTip problem Solution (QuickTip)
>Ok, after some more digging using Regmon, it turns out that when you hover
>over files in a network share the shell looks up QuickTip before InfoTip. So
>now I can get everything working.
>
>For anyone interested, more information on this is available (easy when you
>know what your looking for!) here:
>
>http://windowsxp.mvps.org/quicktip.htm
Scott,
Thanks for that - something did ring a bell with me wrt slow
connections, I just wasn't aware of the details.
FWIW, it's also documented on MSDN under the topic titled "Property
Lists":
"
InfoTip Properties displayed in an Info Tip when a user hovers over an
item.QuickTip. Note: This value was present in Windows XP.
QuickTip Properties displayed when it is difficult to retrieve
properties directly from an item, such as when the item must be
accessed over a slow network connection. It is recommended that the
properties named here, such as Type or Size, do not require opening
the file stream to determine their value. Note: This value was present
in Windows XP.
"
Dave
date: Wed, 23 Apr 2008 12:10:02 +0100
author: David Lowndes lid
|
|