Questions tagged [bcg]

BCG is the abbreviation for the Business Components Gallery. It contains the BCGControlBar ("Business Components Gallery ControlBar"). It is an MFC extension library that allows you to create Microsoft Office and Microsoft Visual Studio-like applications with full customization options (Ribbons, customizable Toolbars, Menus etc.). The MFC controls used by Microsoft in the newer MFC versions (formerly called MFC-Next) are based on the code of BCG.

14 questions
3
votes
1 answer

How to change background color in static text visual studio?

I am trying to change background color of static text in our project. We use BCG library also. In h. file I have afx_msg HBRUSH CtlColor(CDC * pDC, CWnd * pWnd, UINT nCtlColor); COLORREF m_bckNewsClr; In cpp. I have: m_bckNewsClr = RGB(255, 255,…
Karol
  • 31
  • 4
3
votes
1 answer

Visual Studio 2013: "VC++ Directories" option missing

I am currently in the process of switching from VS 2012 to VS 2013. My solution is a C++ application which refers to CodeJock (http://www.codejock.com/) and BCG (http://www.bcgsoft.com/). And that's my problem: In VS 2012, I can add the paths to…
csoltenborn
  • 1,127
  • 1
  • 12
  • 22
1
vote
1 answer

BCG Virtual Grid how to display from a specific row

I have a CBCGPGridCtrl with virtual rows enabled (EnableVirtualMode). No problem with data display. On some event (right click from another window) I want to move the current visible part of the grid to a specific row. I couldn't find any specific…
Federico
  • 743
  • 9
  • 22
1
vote
0 answers

Do Atoms, HEVENT, and the HBITMP or HICON created with LoadImage automatically close when process closes?

I know memory leaks from allocations through malloc or new are cleaned up when a process exits as are file handles. But the question is are things like the HBITMAP / HICON handles loaded with LoadImage closed as well (not using LR_SHARED). Reason…
user3161924
  • 1,849
  • 18
  • 33
1
vote
0 answers

CListCtrl (MFC) converts MouseWheel event into "selected item changed" notification

When trying to implement the handling of SHIFT+MouseWheel events for a CListCtrl to scroll horizontally, I was surprised, that on SHIFT+MouseWheel_UP the CListCtrl item under the mouse cursor got selected, that the selection changed. The…
Martin Lemburg
  • 507
  • 2
  • 12
0
votes
0 answers

How to replace a point to legend in seaborn

i have this code sns.scatterplot(x="Profit_growth",y="Revenue_growth",data=df,hue="Category",palette='pastel') plt.show() and get this graph can i plot legend replace each point in graph (like this) i want to make BCG matrix
Stev W
  • 13
  • 4
0
votes
1 answer

Different width of View and Command in BCG Ribbon Main Panel (bug in BCG library)

Precondition: The application is MFC C++ that uses BCGControlBar library for UI rendering. Topic: We can add Backstage Views and Commands to BCG Ribbon Backstage Main Panel. Something like it: auto pBackstagePanel =…
23W
  • 1,413
  • 18
  • 37
0
votes
0 answers

MFC: How do you determine which CBCGPDockingControlBar is active/has focus?

Using BCGControlBar Pro using a wizard created app with multiple CBCGPDockingControlBar windows. My question is, how do I tell which one is active or has the focus? The normal GetForegroundWindow() and GetFocus() report the main frame. Thanks.
user3161924
  • 1,849
  • 18
  • 33
0
votes
2 answers

MFC/BCGP: Update CEditView's tab label without changing the contents of the CEditView?

When I have a SDI Document-View MFC application which uses CBCGPTabView as the main view, one of the tabs is a CEditView. If I send a custom message to the CBCGPTabView derived class and use GetTabControl().SetTabLabel() it not only changes the tab…
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

Resizing docked pane in STOCK Visual Studio 2012 MFC app leaves artifacts under Windows 10, why?

I support several Visual Studio 2012 MFC applications, and all of them are exhibiting the same bad behavior on Windows 10 only: resizing a docked pane (via mouse) leaves artifacts, i.e. garbage on the screen. The garbage looks like a series of lines…
0
votes
1 answer

Using BCGControlBar in MFC Extension DLL

I'm working on the MFC Extension DLL which exposes the only CDialog class. That dialog is a piece of common UI that a number of other applications use. All of those applications do use BCGControlBar so it's necessary to make the dialog in DLL look…
Roman
  • 425
  • 2
  • 12
0
votes
0 answers

Customize visual manager MFC & BCG library

I am working on our custom visual manager. As I know it is possible, if we derive our own visual manager from existing one. But the problem is to find to correct method which can allow me do the things below... Let me know please which methods are…
Karol
  • 31
  • 4
0
votes
2 answers

Controlling the display range in a history' chart in the BCG library

I am asking to the StackOverflow for the first time. If I rude to you, Tell me it. I will fix it. Thank you. Asking... In the BCG Library. Using Visual Studio 2012, MFC. I want to control the display of data range in the chart of historical. When I…
-1
votes
1 answer

How do I choose 1 row like this with code without manually clicking it in "CBCGPGridCtrl"?

I'm using CBCGPGridCtrl within MFC, but I don't know how to select row like this picture by code instead of manually clicking on the row using my mouse.
xhmcode
  • 1
  • 2