Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Wed, 26 Mar 2008 13:36:40 +0530,    group: microsoft.public.platformsdk.shell        back       


Explorer Band   
Hi,

I would like to create a new band for windows explorer (only) and place it 
at the bottom of the file list window.

Could anyone guide me how to go about it ?
date: Wed, 26 Mar 2008 13:36:40 +0530   author:   coldair

Re: Explorer Band   
coldair wrote:
> I would like to create a new band for windows explorer (only) and
> place it at the bottom of the file list window.

http://msdn2.microsoft.com/en-us/library/bb776819.aspx

-- 
Jim Barry, Microsoft MVP
date: Wed, 26 Mar 2008 11:34:19 -0000   author:   Jim Barry

Re: Explorer Band   
Please advise me, how to go about the following

#1. I would like to add a shortcut key for my horizontal bar, just like 
Ctrl+E for search vertical band, how to go about it ?

#2. I would like to load my band as soon as the explorer.exe opens ?

#3. I would like to show explorer band only for windows explorer, not 
internet explorer.  How to go about it ?

Thanks

coldAir

"Jim Barry"  wrote in message 
news:#I63VVzjIHA.4244@TK2MSFTNGP06.phx.gbl...
> coldair wrote:
>> I would like to create a new band for windows explorer (only) and
>> place it at the bottom of the file list window.
>
> http://msdn2.microsoft.com/en-us/library/bb776819.aspx
>
> -- 
> Jim Barry, Microsoft MVP
date: Mon, 31 Mar 2008 15:41:35 +0530   author:   coldair

Re: Explorer Band   
Most of that was asked about 8 posts back.
I don't know about your first question, and I
don't see why you need a hotkey if you're going
to always load the bar.
  At any rate, for 2 and 3:

http://support.microsoft.com/kb/255920

  That link explains how to write a simple BHO that
can load your bar in all Explorer/IE windows. In the
BHO's IObjectWithSite SetSite sub you get a pointer
to the IE instance of the window that's loading. I've
done this in VB6, and I've come to assume that anyone
who doesn't bother to mention the language they're
working in is using C++. :)  So... I can give you directions
according to VB6 but you'd need to figure out the C++
equivalent:

   In my BHO I assign the incoming IE pointer from
SetSite to an IE object declared "WithEvents", which means
that I can use event subs for that IE.

  I then add a sub for IE's DocumentComplete event.

  In that event sub I test the TypeName of IE.Document
for the window that's just loaded my BHO.
I don't know the C++ equivalent of that. In VB, VarType
returns a numeric value that indicates the data type
of a variant. TypeName returns a descriptive string.
When you check that value for Explorer/IE, a folder
window returns something like "ShellFolderView" and
IE returns something like "HTML Document". I don't
remember offhand exactly what the strings are, but it's safe
to just test for the substring "Folder" in order to identify
an Explorer window.

  The page I linked shows how to always load your bar
by calling IE's ShowBrowserBar method from SetSite.
In the scenario I'm describing, ShowBrowserBar is called from
the IE DocumentComplete event sub *only* if
TypeName(IE.Document) contains "Folder". That method
works from Win9x through WinXP, at least, to always load
an Explorer Bar in folders and never in IE. I haven't
tested in Vista.

>
> #1. I would like to add a shortcut key for my horizontal bar, just like
> Ctrl+E for search vertical band, how to go about it ?
>
> #2. I would like to load my band as soon as the explorer.exe opens ?
>
> #3. I would like to show explorer band only for windows explorer, not
> internet explorer.  How to go about it ?
>
> Thanks
>
> coldAir
>
> "Jim Barry"  wrote in message
> news:#I63VVzjIHA.4244@TK2MSFTNGP06.phx.gbl...
> > coldair wrote:
> >> I would like to create a new band for windows explorer (only) and
> >> place it at the bottom of the file list window.
> >
> > http://msdn2.microsoft.com/en-us/library/bb776819.aspx
> >
> > --
> > Jim Barry, Microsoft MVP
>
date: Mon, 31 Mar 2008 10:18:05 -0400   author:   mayayana

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us