Click here to Skip to main content
15,921,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Has anyone encountered labels cutting off using the Ribbon Toolbar? Pin
Randor 9-Nov-09 12:42
professional Randor 9-Nov-09 12:42 
GeneralRe: Has anyone encountered labels cutting off using the Ribbon Toolbar? Pin
Dale Haessel9-Nov-09 12:54
Dale Haessel9-Nov-09 12:54 
GeneralRe: Has anyone encountered labels cutting off using the Ribbon Toolbar? Pin
Randor 10-Nov-09 6:45
professional Randor 10-Nov-09 6:45 
QuestionRibbon Bar creates multiple menu items with same name Pin
Dale Haessel9-Nov-09 7:10
Dale Haessel9-Nov-09 7:10 
AnswerRe: Ribbon Bar creates multiple menu items with same name Pin
Randor 9-Nov-09 8:13
professional Randor 9-Nov-09 8:13 
GeneralRe: Ribbon Bar creates multiple menu items with same name Pin
Dale Haessel9-Nov-09 9:35
Dale Haessel9-Nov-09 9:35 
GeneralRe: Ribbon Bar creates multiple menu items with same name Pin
Randor 9-Nov-09 10:54
professional Randor 9-Nov-09 10:54 
GeneralRe: Ribbon Bar creates multiple menu items with same name Pin
Dale Haessel9-Nov-09 12:37
Dale Haessel9-Nov-09 12:37 
Thx, for looking into this, here is image I see in XP:

http://img260.imageshack.us/img260/2356/peephelp.jpg[^]

I used the MDIRibbon InitRibbon and added the following:

to resource.h

#define ID_HELP2 33016
#define ID_HELP_SHOWHELPONSTARTUP 33017

to mainfrm.cpp just after pPanelWindow->Add (pBtnWindows);

CMFCRibbonButton* pBtnHelp = new CMFCRibbonButton (ID_HELP, _T("&Help"), 10, 11);
pBtnHelp->SetKeys(_T("H"));
pBtnHelp->AddSubItem(new CMFCRibbonLabel(_T("Help")));

CMFCRibbonButton* pBtnPeepHelp = new CMFCRibbonButton(ID_HELP2, _T("Peep &Help"), 10, 11, TRUE);
pBtnPeepHelp->SetToolTipText(_T("Peep Help"));
pBtnPeepHelp->SetDescription(_T("Get help using Peep."));
pBtnHelp->AddSubItem(pBtnPeepHelp);

CMFCRibbonButton* pBtnShowHelp = new CMFCRibbonCheckBox(ID_HELP_SHOWHELPONSTARTUP, _T("Show Help &On Startup"));
pBtnShowHelp->SetToolTipText(_T("Show Help On Startup"));
pBtnShowHelp->SetDescription(_T("Show Help file when starting Peep."));
pBtnPeepHelp->AddSubItem(pBtnShowHelp);
pPanelWindow->Add (pBtnHelp);
GeneralRe: Ribbon Bar creates multiple menu items with same name Pin
Randor 9-Nov-09 13:15
professional Randor 9-Nov-09 13:15 
QuestionIncrease mainframe window if right side of inserted view is out of MainFrames client area [modified] Pin
Fusshoeller9-Nov-09 7:05
Fusshoeller9-Nov-09 7:05 
AnswerRe: Increase mainframe window if right side of inserted view is out of MainFrames client area Pin
«_Superman_»9-Nov-09 8:02
professional«_Superman_»9-Nov-09 8:02 
GeneralRe: Increase mainframe window if right side of inserted view is out of MainFrames client area Pin
Fusshoeller9-Nov-09 8:33
Fusshoeller9-Nov-09 8:33 
AnswerRe: Increase mainframe window if right side of inserted view is out of MainFrames client area Pin
Fusshoeller10-Nov-09 22:20
Fusshoeller10-Nov-09 22:20 
Questionhow to use createprocess to create a new console window(cmd.exe) and run commands Pin
devgo9-Nov-09 7:03
devgo9-Nov-09 7:03 
AnswerRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
Randor 9-Nov-09 7:17
professional Randor 9-Nov-09 7:17 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
devgo9-Nov-09 7:28
devgo9-Nov-09 7:28 
QuestionRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
David Crow9-Nov-09 7:52
David Crow9-Nov-09 7:52 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
Randor 9-Nov-09 7:54
professional Randor 9-Nov-09 7:54 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
devgo9-Nov-09 9:18
devgo9-Nov-09 9:18 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
Randor 9-Nov-09 10:19
professional Randor 9-Nov-09 10:19 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
devgo9-Nov-09 10:56
devgo9-Nov-09 10:56 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
devgo11-Nov-09 9:15
devgo11-Nov-09 9:15 
GeneralRe: how to use createprocess to create a new console window(cmd.exe) and run commands Pin
Randor 11-Nov-09 16:34
professional Randor 11-Nov-09 16:34 
QuestionIs there a way to register an activeX ocx file with relative path and not full path? Pin
eyal_balla9-Nov-09 4:31
eyal_balla9-Nov-09 4:31 
AnswerRe: Is there a way to register an activeX ocx file with relative path and not full path? Pin
Chris Losinger9-Nov-09 5:34
professionalChris Losinger9-Nov-09 5:34 

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.