Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Problem with Digital Display CStatic control Pin
Sarath C11-Jul-06 4:37
Sarath C11-Jul-06 4:37 
GeneralRe: Problem with Digital Display CStatic control Pin
Semion_N11-Jul-06 5:12
Semion_N11-Jul-06 5:12 
GeneralRe: Problem with Digital Display CStatic control Pin
Sarath C11-Jul-06 17:34
Sarath C11-Jul-06 17:34 
QuestionRe: Problem with Digital Display CStatic control Pin
David Crow11-Jul-06 4:59
David Crow11-Jul-06 4:59 
AnswerRe: Problem with Digital Display CStatic control Pin
Semion_N11-Jul-06 7:38
Semion_N11-Jul-06 7:38 
AnswerRe: Problem with Digital Display CStatic control [modified] Pin
Semion_N11-Jul-06 8:23
Semion_N11-Jul-06 8:23 
GeneralRe: Problem with Digital Display CStatic control Pin
Semion_N11-Jul-06 18:52
Semion_N11-Jul-06 18:52 
QuestionGet Current Directory Pin
mehmetned11-Jul-06 4:00
mehmetned11-Jul-06 4:00 
AnswerRe: Get Current Directory Pin
_AnsHUMAN_ 11-Jul-06 4:29
_AnsHUMAN_ 11-Jul-06 4:29 
GeneralRe: Get Current Directory Pin
mehmetned11-Jul-06 4:45
mehmetned11-Jul-06 4:45 
GeneralRe: Get Current Directory Pin
David Crow11-Jul-06 5:02
David Crow11-Jul-06 5:02 
GeneralRe: Get Current Directory Pin
see me11-Jul-06 5:15
see me11-Jul-06 5:15 
AnswerRe: Get Current Directory Pin
Eric Dahlvang11-Jul-06 8:15
Eric Dahlvang11-Jul-06 8:15 
QuestionComunication between software Pin
NorGUI11-Jul-06 3:43
NorGUI11-Jul-06 3:43 
AnswerRe: Comunication between software Pin
Jun Du11-Jul-06 3:52
Jun Du11-Jul-06 3:52 
GeneralRe: Comunication between software Pin
earl11-Jul-06 4:01
earl11-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.