15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Internet Explorer type Toolbar

Vikram H.N -- vikramh@ampersand.soft.net
Wednesday, December 04, 1996

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove. 
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net



George Grant -- doubleg@ix.netcom.com
Thursday, December 05, 1996

[Mini-digest: 12 responses]

It's called a CoolBar, as far as I know. There's an article in this =
month's (or last month's) MSJ about it and the new related controls that =
come with the latest version of Internet Explorer. It should be exactly =
what you need... They're pretty feature-rich.

Or you could just "roll your own." Heh heh...


----------
From: 	Vikram H.N[SMTP:vikramh@ampersand.soft.net]
Sent: 	Tuesday, December 03, 1996 11:33 PM
To: 	'mfc-l@netcom.com'
Subject: 	Internet Explorer type Toolbar

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove.=20
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net


-----From: "Abhijit Gore" 

Hi ,
   Hv a look at
   http://www.microsoft.com/win32dev/ui/rebar.htm
 This Page describes how U can Create a  CoolBar  ( Internet Explorer type
Toolbar ) using ActivesX SDK

>    How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
> application. There in Explorer the buttons of the Toolbar change the
> state  when  they get a focus or OnMouse move.  Here in MFC there is no
> event for the toolbar button such as OnMousemove. 
> Thanks
> Vikram
> Ampersand Software Applications Limited.
> #68,14th Cross, 1st Block, R.T.Nagar,
> BANGALORE,INDIA
> 
> 
> Phone: 3336173,3334978.
> email:vikram@ampersand.soft.net
-----From: "Serge Wautier" 

> From: Vikram H.N 
> Subject: Internet Explorer type Toolbar
> 
> Environment: VC++4.0,NT 3.51
> 
> Hi ,
> 
>    How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
> application.

Hi,

"CoolBars" (IE toolbars) are part of a new set of common controls that has
not been released yet by Microsoft. You'll have to wait a while if you want
to implement them in your app.

FYI, there is a series of 2 articles in the recent MSJ (around late summe i
think) about this new controls.

Regards,


Serge Wautier,
Techno Trade s.a.
Belgium
serge.wautier@ontonet.be
http://www.tbox.fr


-----From: Luke Stephens 

I would also like to know the answer to this.  Will this be supported in the next version of MFC?

----------
From: 	Vikram H.N
Sent: 	Wednesday, December 04, 1996 1:03 AM
To: 	'mfc-l@netcom.com'
Subject: 	Internet Explorer type Toolbar

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove. 
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net
-----From: Andi Giri 

Use the new  Coolbar (Ie3.0 toolbars)  control.
An example was published by MSJ, Oct. 1996, in the article " Previewing
the Common Controls DDL for Microsoft Internet Explorer 4.0, Part I" by
Strohm
Armstrong.
You can download the source from the MSJ WWW site.
If u want a zip, I can send u an attachment.
Remember to use the new commctrl.h released with the Active X SDK.

Andi

>
>>>Environment: VC++4.0,NT 3.51
>
>>>Hi ,
>
>>>   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
>>>application. There in Explorer the buttons of the Toolbar change the
>>>state  when  they get a focus or OnMouse move.  Here in MFC there is
>>>>>no event for the toolbar button such as OnMousemove. 
>>>Thanks
>>>Vikram
>>>Ampersand Software Applications Limited.
>>>#68,14th Cross, 1st Block, R.T.Nagar,
>>>BANGALORE,INDIA
>
>
>Phone: 3336173,3334978.
>email:vikram@ampersand.soft.net
>
-----From: dobrin@itls.com

Hi,

Read the Microsoft Systems Journal for September and October. 
You have to have IE 3.0 installed, and you can write for now just 
SDK.

The new common controls have not been oficially released.

Dan.

> From:          "Vikram H.N" 
> To:            "'mfc-l@netcom.com'" 
> Subject:       Internet Explorer type Toolbar
> Date:          Wed, 4 Dec 1996 12:33:52 +0530
> Reply-to:      mfc-l@netcom.com

> Environment: VC++4.0,NT 3.51
> 
> Hi ,
> 
>    How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
> application. There in Explorer the buttons of the Toolbar change the
> state  when  they get a focus or OnMouse move.  Here in MFC there is no
> event for the toolbar button such as OnMousemove. 
> Thanks
> Vikram
> Ampersand Software Applications Limited.
> #68,14th Cross, 1st Block, R.T.Nagar,
> BANGALORE,INDIA
> 
> 
> Phone: 3336173,3334978.
> email:vikram@ampersand.soft.net
> 
Dan Dobrin
Intertrans Logistics Solutions Ltd.
Richmond Hill, CANADA
e-mail : dan.dobrin@itls.com
phone  : (905) 771-8088, ext.251
-----From: "Kenneth A. Argo" 

It's part of a new control pack which is still in beta and cannot be =
shipped with products yet.  You can download it from MS site.  It comes =
with the ActiveX SDK.

Ken


----------
From:  Vikram H.N[SMTP:vikramh@ampersand.soft.net]
Sent:  Wednesday, December 04, 1996 2:04 AM
To:  'mfc-l@netcom.com'
Subject:  Internet Explorer type Toolbar

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove.=20
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net

-----From: Claus Michelsen 

Hi Vikram,

Microsoft has published an article at =
http://www.microsoft.com/win32dev/ui/rebar.htm which describes how to do =
it. I have not had time to try it out myself yet, but I would like to =
hear your experiences with it.


Best regards,
Claus Michelsen



-----Original Message-----
From:	Vikram H.N [SMTP:vikramh@ampersand.soft.net]
Sent:	4. december 1996 08:04
To:	'mfc-l@netcom.com'
Subject:	Internet Explorer type Toolbar

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove.=20
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net
-----From: Mike Blaszczak 

At 12:33 12/4/96 +0530, Vikram H.N wrote:
>Environment: VC++4.0,NT 3.51

>   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
>application. There in Explorer the buttons of the Toolbar change the
>state  when  they get a focus or OnMouse move.  Here in MFC there is no
>event for the toolbar button such as OnMousemove. 

What does Spy++ tell you about the Internet Explorer toolbars?


.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.

-----From: "Robert H. Mowery III" 

Check out the REBAR example at http://www.microsoft.com/win32dev
There is a sample application written in C and an article.  It was done by 
Nancy Clutis.  I is pretty good, but from my understanding you can not ship 
the comctrl32.dll since it is part of Explorer, so the end-user must have 
explorer 3.x on their machine already.  That is my understanding of the 
licensing issue.  The article and example are good though.

-Robert Mowery 

----------
From:  owner-mfc-l@majordomo.netcom.com on behalf of Vikram H.N
Sent:  Wednesday, December 04, 1996 2:04 AM
To:  'mfc-l@netcom.com'
Subject:  Internet Explorer type Toolbar

Environment: VC++4.0,NT 3.51

Hi ,

   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
application. There in Explorer the buttons of the Toolbar change the
state  when  they get a focus or OnMouse move.  Here in MFC there is no
event for the toolbar button such as OnMousemove. 
Thanks
Vikram
Ampersand Software Applications Limited.
#68,14th Cross, 1st Block, R.T.Nagar,
BANGALORE,INDIA


Phone: 3336173,3334978.
email:vikram@ampersand.soft.net
-----From: Richard Quist 

>Environment: VC++4.0,NT 3.51
>
>Hi ,
>
>   How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
>application. There in Explorer the buttons of the Toolbar change the
>state  when  they get a focus or OnMouse move.  Here in MFC there is no
>event for the toolbar button such as OnMousemove. 
>Thanks
>Vikram
>Ampersand Software Applications Limited.
>#68,14th Cross, 1st Block, R.T.Nagar,
>BANGALORE,INDIA
>
I saw the following on one of the newsgroups not too long ago...it might help:
----------------------------------------------------------------------------
----------
Subject:      100% MFC CoolBar like ToolBar
From:         "David Lantsman" 
Date:         1996/11/01
Message-Id:   <01bbc835$272e7ac0$8d4474c0@davidlan>
Organization: IBM Israel
Newsgroups:   comp.os.ms-Windows.programmer.tools.mfc



Hello,

You can download a 100% MFC Application which implements a CoolBar like
ToolBar at: http://www.luckynet.co.il/~davidlan at the School Manager page.
This program was made by me, David Lantsman, and I didn't really sit and
worked hard on it. Therefore there might be some bugs there. If you're a
developer *please* correct them and mail me the updated version.

There is also a question, which is about the toolbar: How can I know when a
mouse enters or leaves the area of one button in a toolbar? I used some
technique but I'm sure there's a better one.

Visit me and download DBar!

Goodbye,	
	David

=======================================
     Sent by David Lantsman
         mailto:davidlan@luckynet.co.il

Visit me at: http://www.luckynet.co.il/~davidlan
=======================================
Rich
(rquist@ultranet.com)
-----From: "Kashito Raiva" 

Two things to notice:
1. These buttons are on a dialog box.
2. They are based on OCX controls.

So look around for a 3D-button control (I use the one from my Visual Basic
App). It has the mouse-move function from which you can change the
bevel-edge of your button simulating what the explorer does.

HTH

----------
> From: Vikram H.N 
> To: 'mfc-l@netcom.com'
> Subject: Internet Explorer type Toolbar
> Date: Tuesday, December 03, 1996 11:03 PM
> 
> Environment: VC++4.0,NT 3.51
> 
> Hi ,
> 
>    How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
> application. There in Explorer the buttons of the Toolbar change the
> state  when  they get a focus or OnMouse move.  Here in MFC there is no
> event for the toolbar button such as OnMousemove. 
> Thanks
> Vikram
> Ampersand Software Applications Limited.
> #68,14th Cross, 1st Block, R.T.Nagar,
> BANGALORE,INDIA
> 
> 
> Phone: 3336173,3334978.
> email:vikram@ampersand.soft.net



Sairam Pamulapati -- psairam@ix.netcom.com
Monday, December 09, 1996

Hi,

Look at the following Microsoft site.

http://www.microsoft.com/win32dev/ui/rebar.htm

It has a sample code for "cool bar", they call it "rebar". 
The site also has a good word document with good explanation of the code.

enjoy
Sairam

----------
> From: Vikram H.N 
> To: 'mfc-l@netcom.com'
> Subject: Internet Explorer type Toolbar
> Date: Wednesday, December 04, 1996 2:03 AM
> 
> Environment: VC++4.0,NT 3.51
> 
> Hi ,
> 
>    How can I get a Internet Explorer (3.0) Type Toolbar in my /vc++
> application. There in Explorer the buttons of the Toolbar change the
> state  when  they get a focus or OnMouse move.  Here in MFC there is no
> event for the toolbar button such as OnMousemove. 
> Thanks
> Vikram
> Ampersand Software Applications Limited.
> #68,14th Cross, 1st Block, R.T.Nagar,
> BANGALORE,INDIA
> 
> 
> Phone: 3336173,3334978.
> email:vikram@ampersand.soft.net



Mike Blaszczak -- mikeblas@nwlink.com
Thursday, December 12, 1996

At 22:58 12/9/96 -0500, Sairam Pamulapati wrote:

>Look at the following Microsoft site.
>
>http://www.microsoft.com/win32dev/ui/rebar.htm
>
>It has a sample code for "cool bar", they call it "rebar". 
>The site also has a good word document with good explanation of the code.

Unfortunately, this article ignores the advice in the CC_INFO.DOC
file from the ActiveX 3.01 SDK.  That files explains that these
controls aren't ready for prime time and are not final versions of
the shipping code.

.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.





| Вернуться в корень Архива |