Questions tagged [cmfctoolbar]

CMFCToolBar is a MFC class to handle toolbars

The CMFCToolBar class resembles CToolBar class, but provides additional support for user interface features. These include flat toolbars, toolbars with hot images, large icons, pager buttons, locked toolbars, rebar controls, text under images, background images, and tabbed toolbars. The CMFCToolBar class also contains built-in support for user customization of toolbars and menus, drag-and-drop between toolbars and menus, combo box buttons, edit box buttons, color pickers, and roll-up buttons.

Official documentation

41 questions
0
votes
1 answer

CMFCToolBarDateTimeCtrl - appearance

I try add CMFCToolBarDateTimeCtrl to CMFCToolBar. I found ToolbarDateTimePicker sample. In my application I implemented CMFCToolBarDateTimeCtrl the same like in the sample. The problem is that date picker looks otherwise than in sample's app. Print…
Ahemski
  • 93
  • 8
0
votes
1 answer

How to Add PNG Image as Button Image in CMFCToolBar?

Seems like CMFCToolBar Allowing only BITMAP Images ( which are of color depth 24 ) to place on Buttons. How to get rid of this limitation. i am neither able to place a PNG nor a bit map with color depth 32 (alpha channel included). i tried attaching…
0
votes
1 answer

Reference on Tutorial on CMFCToolbar customization?

I have looked through all possible MSDN articles, and have browsed a lot of web content in order to find tutorial on usage of the class CMFCToolbar. There is very little information, and it almost is about basic features of the class. I am looking…
spin_eight
  • 3,925
  • 10
  • 39
  • 61
0
votes
1 answer

How to add options check menu to CMFCToolBar to allow multiple checks at time

I want to add a menu button to a CMFCToolbar that allow checking multiple options at a time, when I add a menu and check an item on click the menu is closed I need a menu like the menu in the customization button as in the following image
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
0
votes
1 answer

why The Customize button in CMFCToolbar is ugly on large icons

When the toolbar is large the icon of the customize button is ugly how to fix this as you see it is stretched and lead to bad resolution, is there anyway to fix it?
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
0
votes
1 answer

CMFCToolbar and CMDIFrameWnd

I am converting some CToolbars to CMFCToolbars, my CMainFrame inherits from a CMDIFrameWnd class. However I can find no way to dock a CPane / CMFCToolbar to a CMDIFrameWnd, every tutorial or source I have seen uses a CMDIFrameWndEx as the CMainFrame…
diox8tony
  • 348
  • 3
  • 13
0
votes
2 answers

Disabling customization only on MFC menu bar

When using the MFC feature pack in VS2010, is it possible to disable the customization feature on the CMFCMenuBar but leave it enabled on the toolbars? We don't want users dragging menus around but they're free to change the toolbars. We disabled…
sleepp
  • 47
  • 1
  • 7
0
votes
1 answer

Capture paste event in CMFCToolBarEditBoxButton

We have an MFC SDI application in VS2010 with a CMFCToolBar containing a CMFCToolBarEditBoxButton. Is there a way to handle the paste event when a user pastes something into that edit box? We handle ON_COMMAND(ID_EDIT_PASTE, OnEditPaste) in the…
sleepp
  • 47
  • 1
  • 7
0
votes
2 answers

Enabling\disabling CMFCToolBar buttons when embedded in pane

I know the best way to enable/disable a button from CMFCToolBar is to use int b_id = m_ToolBar.CommandToIndex(ID_BUTTON); m_ToolBar.SetButtonStyle(b_id,TBBS_DISABLED); but that does not seem to work when the toolbar is embedded inside a…
RobNHood
  • 119
  • 1
  • 2
  • 11
-1
votes
1 answer

How to add description in dynamically created CMFCToolbar's ToolTip?

The CMFCToolbar Inherits the function EnableToolTip which does not help the developer if he is creating the toolbar dynamically and not adding the Description and title in resource. I made an extension for CMFCToolBar and wrote a function : BOOL…
Fatima A.
  • 41
  • 13
-2
votes
1 answer

Tool bars are getting rearranged

I am using VC++ MFC and have the following toolbars in my software. While working with different screens and software is minimized, if we disconnect the other screen, the toolbars get messed up after restoring the application. Also that issue…
1 2
3