7.6.  Controls not support by MFC

Microsoft Visual C++/Microsoft Foundation Classes


7.6.  Controls not support by MFC

7.6.1. Why doesn't MFC support the new controls provided by IE?

7.6.2. Why doesn't MFC have toolbars like the Office 97 applications?

7.6.3. Why doesn't MFC support command bar menus like the Visual C++ IDE?

A: The new user interface style provided by IE is implemented by a version of COMCTL32.DLL that's still in beta. The beta import library, DLL, and documentation is available in the ActiveX 3.01 SDK and is available for download from Microsoft's web site. Since the controls are still in beta, MFC doesn't support them. When they're available in their final version, you can assume that a version of MFC that supports them will be forthcoming.

The IDE and the Office applications do not use the COMCTL32.DLL

implementations of those controls, and therefore aren't concerned with the release state of the system implementation library.

-.B ekiM - [email protected].

Note: the IE control is called Rebar and there was a very good MSJ article about it. It is useful ONLY if you want to implement IE3/4 style toolbars. The toolbars in VC++ 5.x and Office 97 are different - they are called Command bars. THEY ARE NOT REBARS - the differences?

  • Rebars "slide" around.
  • Rebars aren't customizable (to my knowledge)
  • Command bars have cool floating menus too (rebar may do this eventually)
  • Command bars are less clunky.
  • Command bars don't have a transparent background.
  • Command bars are implemented inside of Office97/DevStudio - they are not available for developers to use, Rebar will be as part of a common control DLL.
  • Both have a "cool" or "flat" look and feel where the button reacts to the mouse movement by displaying a border.
  • I don't think Rebars are vertically dockable.

If you want to play with rebar you need the files COMMCTRL.H and COMCTL32.LIB that comes with the ActiveX SDK available at

http://www.microsoft.com/intedev/sdk/.

Also, for more information take a look at the REBAR-Sample available at http://www.microsoft.com/win32dev/ui/rebar.htm

FYI, Stingray Software has implemented Office97/DevStudio style command bars in Objective Toolkit - check out the demo at http://www.stingray.com.