|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Tim Tabor (tltabor
EARTHLINK.NET)Date: Thu Apr 19 2001 - 17:04:06 CDT
Argh. I thought I was close. When you say "the view", do
you mean the folder view (which you're responsible for), or
the tree view (which explorer is responsible for)?
Also, just to make sure we're tracking - I didn't mention
refresh.
// tim
> -----Original Message-----
> From: Distributed COM-Based Code [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
> Behalf Of Alan Anderson
> Sent: Thursday, April 19, 2001 5:59 PM
> To: DCOM
DISCUSS.MICROSOFT.COM
> Subject: Re: Namespace extension folders
>
>
> Yes thats pretty much the case, Although the view is updated directly and
> not through refresh.
>
> On Thu, 19 Apr 2001 13:31:21 -0400, Tim Tabor
> <tltabor
EARTHLINK.NET> wrote:
>
> >In short, you can update your folder view but can't force explorer's tree
> >view to update?
> >
> >> -----Original Message-----
> >> From: Distributed COM-Based Code [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
> >> Behalf Of Anderson, Alan
> >> Sent: Thursday, April 19, 2001 1:08 PM
> >> To: DCOM
DISCUSS.MICROSOFT.COM
> >> Subject: Re: Namespace extension folders
> >>
> >>
> >> The view is not the problem. From the views context menu I can
> add a new
> >> folder item (and display it). Adding the new folder to the folder
> >> tree is my
> >> problem as I've not been able to trigger a refresh from my
> IShellView or
> >> IContextMenu objects.
> >>
> >> I have tried to navigate back to the parent pidl using
> IShellBrowser and
> >> also tried sending the parent WM_KEYUP/WM_KEYDOWN to simulate
> >> pressing F5. I
> >> too thought that SHChangeNotify would be the solution, but nothing
> happens
> >> when call it with the new pidl or a path, neither does refreshing
> >> the parent
> >> pidl. Since SHChangeNotify doesnt return any errors, I don't know if
> there
> >> is a problem with my pidl generator, everything else seems to work.
> >>
> >> My next plan is to attack the tree control and manually insert
> >> the folder -
> >> there must be a better way.
> >>
> >> Until I find a solution, each time a new folder is added, my
> >> users with need
> >> to hit F5 - not ideal.
> >>
> >> Thanks
> >> Alan.
> >>
> >> -----Original Message-----
> >> From: Tim Tabor [mailto:tltabor
EARTHLINK.NET]
> >> Sent: 19 April 2001 15:41
> >> To: DCOM
DISCUSS.MICROSOFT.COM
> >> Subject: Re: Namespace extension folders
> >>
> >>
> >> Maybe I know where you are. In order to
> >> receive the notification messages from a control
> >> displayed in a folder view, you need to
> >> create both a parent window and the child control.
> >> You can handle the notifications in the parent
> >> (or reflect them back to the control).
> >>
> >> // tim
> >>
> >> > -----Original Message-----
> >> > From: Distributed COM-Based Code
> [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
> >> > Behalf Of Tim Tabor
> >> > Sent: Thursday, April 19, 2001 10:19 AM
> >> > To: DCOM
DISCUSS.MICROSOFT.COM
> >> > Subject: Re: Namespace extension folders
> >> >
> >> >
> >> > Well, ordinarily when an application or a shell extension
> >> > handler updates an item in the shell, it calls
> >> > SHChangeNotify to advise the shell of the change. But
> >> > since you're a shell extension, you shouldn't need
> >> > to do this - you have direct control of the view.
> >> >
> >> > Can you explain the situation a bit?
> >> >
> >> > // tim
> >> >
> >> > > -----Original Message-----
> >> > > From: Distributed COM-Based Code
> [mailto:DCOM
DISCUSS.MICROSOFT.COM]
> On
> >> > > Behalf Of Anderson, Alan
> >> > > Sent: Thursday, April 19, 2001 6:43 AM
> >> > > To: DCOM
DISCUSS.MICROSOFT.COM
> >> > > Subject: OT: Namespace extension folders
> >> > >
> >> > >
> >> > > I'm developing a namespace extension and have hit a problem with
> >> > > inserting/removing and renaming items. After the item has been
> >> > modified in
> >> > > the view, how do I notify the folder that it needs to update?
> >> > >
> >> > > Thanks
> >> > > Alan.
> >> > >
> >> > > ----------------------------------------------------------------
> >> > > Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> >> > > contains important info. Save time, search the archives at
> >> > > http://discuss.microsoft.com/archives/index.html .
> >> > > To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
> >> >
> >> > ----------------------------------------------------------------
> >> > Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> >> > contains important info. Save time, search the archives at
> >> > http://discuss.microsoft.com/archives/index.html .
> >> > To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
> >>
> >> ----------------------------------------------------------------
> >> Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> >> contains important info. Save time, search the archives at
> >> http://discuss.microsoft.com/archives/index.html .
> >> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
> >>
> >> ----------------------------------------------------------------
> >> Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> >> contains important info. Save time, search the archives at
> >> http://discuss.microsoft.com/archives/index.html .
> >> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
> >
> >----------------------------------------------------------------
> >Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> >contains important info. Save time, search the archives at
> >http://discuss.microsoft.com/archives/index.html .
> >To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
>
> ----------------------------------------------------------------
> Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]