Click here to Skip to main content
15,905,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying Bitmap on a button [modified] Pin
led mike11-Jul-06 5:28
led mike11-Jul-06 5:28 
GeneralRe: Displaying Bitmap on a button Pin
safigh11-Jul-06 5:36
safigh11-Jul-06 5:36 
AnswerRe: Displaying Bitmap on a button [modified] Pin
ldaoust11-Jul-06 5:34
ldaoust11-Jul-06 5:34 
AnswerRe: Displaying Bitmap on a button Pin
David Crow11-Jul-06 6:17
David Crow11-Jul-06 6:17 
QuestionHow to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 5:12
method00711-Jul-06 5:12 
AnswerRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
led mike11-Jul-06 5:25
led mike11-Jul-06 5:25 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 6:03
method00711-Jul-06 6:03 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
led mike11-Jul-06 6:47
led mike11-Jul-06 6:47 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 7:17
method00711-Jul-06 7:17 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
led mike11-Jul-06 8:50
led mike11-Jul-06 8:50 
QuestionRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
David Crow11-Jul-06 6:16
David Crow11-Jul-06 6:16 
AnswerRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 6:18
method00711-Jul-06 6:18 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
David Crow11-Jul-06 6:56
David Crow11-Jul-06 6:56 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 7:22
method00711-Jul-06 7:22 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
David Crow11-Jul-06 7:53
David Crow11-Jul-06 7:53 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 8:35
method00711-Jul-06 8:35 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
David Crow11-Jul-06 8:48
David Crow11-Jul-06 8:48 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
method00711-Jul-06 8:55
method00711-Jul-06 8:55 
GeneralRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
David Crow11-Jul-06 9:07
David Crow11-Jul-06 9:07 
AnswerRe: How to add webbrowser controle to visual c++ 6 MFC project Pin
Maximilien11-Jul-06 7:59
Maximilien11-Jul-06 7:59 
QuestionGeneral C++ programming Pin
Lloydkl11-Jul-06 4:38
Lloydkl11-Jul-06 4:38 
AnswerRe: General C++ programming Pin
led mike11-Jul-06 4:44
led mike11-Jul-06 4:44 
AnswerRe: General C++ programming Pin
David Crow11-Jul-06 4:56
David Crow11-Jul-06 4:56 
QuestionCToolBarCtrl, SetMetrics Pin
Yokeldj11-Jul-06 4:34
Yokeldj11-Jul-06 4:34 
Hi there,

Has anybody out there got any experiece using the "SetMetrics" function of a CToolBarCtrl ?.

What i am trying to achieve is to have some spacing between my toolbar buttons.

The current implementation that i have is as follows -

CToolBarCtrl& rToolbarCtrl = m_wndToolBar.GetToolBarCtrl();

TBMETRICS tbMetrics = { 0 };
tbMetrics.cbSize = sizeof( TBMETRICS );
tbMetrics.dwMask = ( TBMF_PAD | TBMF_BARPAD | TBMF_BUTTONSPACING );

rToolbarCtrl.GetMetrics( &tbMetrics );

tbMetrics.cxButtonSpacing += 10;

rToolbarCtrl.SetMetrics( &tbMetrics );

Now with this the buttons still seem to be set at the original spacing.

Could anybody shed some light on my problem.

Regards.

QuestionProblem with Digital Display CStatic control Pin
Semion_N11-Jul-06 4:01
Semion_N11-Jul-06 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.