Click here to Skip to main content
16,017,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to make an indicator Pin
David Crow4-Jun-07 3:32
David Crow4-Jun-07 3:32 
GeneralRe: how to make an indicator Pin
vivekphlp4-Jun-07 23:38
vivekphlp4-Jun-07 23:38 
GeneralRe: how to make an indicator Pin
David Crow5-Jun-07 2:37
David Crow5-Jun-07 2:37 
GeneralRe: how to make an indicator Pin
vivekphlp5-Jun-07 18:31
vivekphlp5-Jun-07 18:31 
QuestionAdding a new image (img tag) to the document in Internet Explorer Pin
ajitatif angajetor4-Jun-07 1:30
ajitatif angajetor4-Jun-07 1:30 
QuestionHow to align toolbars? Pin
Anurag Gandhi4-Jun-07 1:13
professionalAnurag Gandhi4-Jun-07 1:13 
GeneralRe: How to align toolbars? Pin
Rajkumar R4-Jun-07 1:24
Rajkumar R4-Jun-07 1:24 
GeneralRe: How to align toolbars? Pin
Anurag Gandhi4-Jun-07 1:38
professionalAnurag Gandhi4-Jun-07 1:38 
Following is the complete functiom:
Similar is the function for other two toolbars also.
bool CMainFrame::AddMarginToolbar()<br />
{<br />
	//Combo ToolBar.//<br />
	if (!m_MarginToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP<br />
		| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||<br />
		!m_MarginToolBar.LoadToolBar(IDR_MARGIN))<br />
	{<br />
		TRACE0("Failed to create Case toolbar\n");<br />
		return false;      // fail to create<br />
	}<br />
	m_MarginToolBar.SetWindowTextW(_T("Margin"));<br />
		<br />
	m_MarginToolBar.EnableDocking(CBRS_ALIGN_ANY);<br />
	EnableDocking(CBRS_ALIGN_ANY);<br />
	DockControlBar(&m_MarginToolBar);<br />
	return true;<br />
}


I want that next toolbar should appear automatically previous first toolbar.
Thanks a lot in advance.

Anurag Gandhi.

AnswerRe: How to align toolbars? [modified] Pin
Rajkumar R4-Jun-07 3:21
Rajkumar R4-Jun-07 3:21 
GeneralRe: How to align toolbars? Pin
Anurag Gandhi4-Jun-07 5:24
professionalAnurag Gandhi4-Jun-07 5:24 
QuestionVector of Pointers Pin
Kevin Brydon4-Jun-07 0:35
Kevin Brydon4-Jun-07 0:35 
AnswerRe: Vector of Pointers Pin
Maximilien4-Jun-07 0:56
Maximilien4-Jun-07 0:56 
AnswerRe: Vector of Pointers Pin
CPallini4-Jun-07 0:57
mveCPallini4-Jun-07 0:57 
GeneralRe: Vector of Pointers Pin
Rajkumar R4-Jun-07 1:19
Rajkumar R4-Jun-07 1:19 
GeneralRe: Vector of Pointers Pin
Kevin Brydon4-Jun-07 1:43
Kevin Brydon4-Jun-07 1:43 
GeneralRe: Vector of Pointers Pin
Matthew Faithfull4-Jun-07 2:09
Matthew Faithfull4-Jun-07 2:09 
GeneralRe: Vector of Pointers Pin
Kevin Brydon4-Jun-07 2:17
Kevin Brydon4-Jun-07 2:17 
GeneralRe: Vector of Pointers Pin
Matthew Faithfull4-Jun-07 2:38
Matthew Faithfull4-Jun-07 2:38 
GeneralRe: Vector of Pointers Pin
Kevin Brydon4-Jun-07 2:39
Kevin Brydon4-Jun-07 2:39 
GeneralRe: Vector of Pointers Pin
CPallini4-Jun-07 2:14
mveCPallini4-Jun-07 2:14 
GeneralRe: Vector of Pointers Pin
Kevin Brydon4-Jun-07 2:23
Kevin Brydon4-Jun-07 2:23 
GeneralRe: Vector of Pointers Pin
Maximilien4-Jun-07 3:05
Maximilien4-Jun-07 3:05 
AnswerRe: Vector of Pointers Pin
Rajkumar R4-Jun-07 3:41
Rajkumar R4-Jun-07 3:41 
GeneralRe: Vector of Pointers Pin
Kevin Brydon4-Jun-07 5:16
Kevin Brydon4-Jun-07 5:16 
GeneralRe: Vector of Pointers Pin
Stephen Hewitt4-Jun-07 15:04
Stephen Hewitt4-Jun-07 15:04 

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.