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

C / C++ / MFC

 
GeneralRe: "cout" and "cin" won't work Pin
Verolix2-Nov-04 10:15
Verolix2-Nov-04 10:15 
GeneralMoving Horz ScrollBar Pin
manosza2-Nov-04 6:52
manosza2-Nov-04 6:52 
Generalpreferences in registry Pin
ehh2-Nov-04 6:37
ehh2-Nov-04 6:37 
GeneralRe: preferences in registry Pin
BlackDice2-Nov-04 6:46
BlackDice2-Nov-04 6:46 
GeneralRe: preferences in registry Pin
David Crow2-Nov-04 6:56
David Crow2-Nov-04 6:56 
GeneralRe: preferences in registry Pin
Blake Miller2-Nov-04 7:46
Blake Miller2-Nov-04 7:46 
GeneralRe: preferences in registry Pin
ehh3-Nov-04 6:47
ehh3-Nov-04 6:47 
GeneralSchool projects Pin
Izaquad2-Nov-04 6:29
Izaquad2-Nov-04 6:29 
GeneralRe: School projects Pin
David Crow2-Nov-04 6:57
David Crow2-Nov-04 6:57 
GeneralRe: School projects here is my code Pin
Izaquad2-Nov-04 7:32
Izaquad2-Nov-04 7:32 
GeneralRe: School projects here is my code Pin
David Crow2-Nov-04 7:52
David Crow2-Nov-04 7:52 
GeneralRe: lab8dat.txt Pin
Izaquad2-Nov-04 9:10
Izaquad2-Nov-04 9:10 
GeneralRe: School projects Pin
includeh102-Nov-04 7:27
includeh102-Nov-04 7:27 
GeneralRe: Tips Pin
Budric B.2-Nov-04 7:59
Budric B.2-Nov-04 7:59 
GeneralFeature request - Limit the Editor Window size in Visual Studio NET Pin
van12-Nov-04 6:27
van12-Nov-04 6:27 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
BlackDice2-Nov-04 6:40
BlackDice2-Nov-04 6:40 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
Henry miller2-Nov-04 8:00
Henry miller2-Nov-04 8:00 
QuestionHow to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 6:19
Cramp2-Nov-04 6:19 
AnswerRe: How to define an array of the object in class ( with code ) Pin
Joaquín M López Muñoz2-Nov-04 6:50
Joaquín M López Muñoz2-Nov-04 6:50 
GeneralRe: How to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 7:57
Cramp2-Nov-04 7:57 
GeneralBinary Image formation Pin
Jaso_O2-Nov-04 5:52
Jaso_O2-Nov-04 5:52 
GeneralRe: Not easy Pin
Budric B.2-Nov-04 6:50
Budric B.2-Nov-04 6:50 
GeneralRe: Not easy Pin
Jaso_O2-Nov-04 8:13
Jaso_O2-Nov-04 8:13 
GeneralSDI Project - Tool Bar Question. Pin
jerry1211a2-Nov-04 4:36
jerry1211a2-Nov-04 4:36 
GeneralRe: SDI Project - Tool Bar Question. Pin
Jack Puppy2-Nov-04 14:45
Jack Puppy2-Nov-04 14:45 
Not sure what version of VS you're using, but in 2003:

1) Go to the CMainFrame .h file, and comment out:
<br />
CToolBar    m_wndToolBar;<br />


2) Go to the CMainFrame::OnCreate in the .cpp file, and comment out:

<br />
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP<br />
		| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||<br />
		!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))<br />
{<br />
  TRACE0("Failed to create toolbar\n");<br />
  return -1;      // fail to create<br />
}<br />


and...

<br />
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);<br />
EnableDocking(CBRS_ALIGN_ANY);<br />
DockControlBar(&m_wndToolBar);<br />




Cool | :cool: Pssst. You see that little light on your monitor? That's actually a spy camera, and I'm tracking your every move...

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.