Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: problem with dynamic constructors, (cannot convert string literal to (char *) ). Pin
Joe Woodbury6-Mar-18 6:14
professionalJoe Woodbury6-Mar-18 6:14 
Questiondebugging a Boost serialization assertion Pin
Alexander Kindel5-Mar-18 21:56
Alexander Kindel5-Mar-18 21:56 
AnswerRe: debugging a Boost serialization assertion Pin
Jochen Arndt5-Mar-18 22:32
professionalJochen Arndt5-Mar-18 22:32 
GeneralRe: debugging a Boost serialization assertion Pin
Alexander Kindel5-Mar-18 23:48
Alexander Kindel5-Mar-18 23:48 
QuestionDouble Click on ProgressBar Pin
Fedrer5-Mar-18 20:09
Fedrer5-Mar-18 20:09 
QuestionRe: Double Click on ProgressBar Pin
Maciej Los5-Mar-18 20:24
mveMaciej Los5-Mar-18 20:24 
AnswerRe: Double Click on ProgressBar Pin
Fedrer5-Mar-18 20:42
Fedrer5-Mar-18 20:42 
QuestionRe: Double Click on ProgressBar Pin
David Crow6-Mar-18 2:24
David Crow6-Mar-18 2:24 
AnswerRe: Double Click on ProgressBar Pin
Victor Nijegorodov5-Mar-18 21:16
Victor Nijegorodov5-Mar-18 21:16 
QuestionHow to add tabs to CView Class? Pin
Sampath5794-Mar-18 22:42
Sampath5794-Mar-18 22:42 
AnswerRe: How to add tabs to CView Class? Pin
Victor Nijegorodov5-Mar-18 5:13
Victor Nijegorodov5-Mar-18 5:13 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5795-Mar-18 5:41
Sampath5795-Mar-18 5:41 
GeneralRe: How to add tabs to CView Class? Pin
jeron15-Mar-18 9:31
jeron15-Mar-18 9:31 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5795-Mar-18 18:41
Sampath5795-Mar-18 18:41 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu5-Mar-18 20:42
_Flaviu5-Mar-18 20:42 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5795-Mar-18 20:43
Sampath5795-Mar-18 20:43 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu5-Mar-18 22:03
_Flaviu5-Mar-18 22:03 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5795-Mar-18 22:51
Sampath5795-Mar-18 22:51 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu5-Mar-18 23:21
_Flaviu5-Mar-18 23:21 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5796-Mar-18 0:26
Sampath5796-Mar-18 0:26 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu6-Mar-18 0:33
_Flaviu6-Mar-18 0:33 
GeneralMessage Closed Pin
6-Mar-18 0:44
Sampath5796-Mar-18 0:44 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu6-Mar-18 1:16
_Flaviu6-Mar-18 1:16 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5796-Mar-18 1:44
Sampath5796-Mar-18 1:44 
Hey sorry for the wrong indentation. Its working absolutely fine with same piece of code. The problem is what i mentioned earlier i.e., the coordinates what i provided does not show the tab control in my split window. I changed the values with hit and trail and some portion of tab control is visible on split window.

if (!m_tab.Create(CMFCTabCtrl::STYLE_3D, CRect(500, -500, 900, 300), this, 1, CMFCTabCtrl::LOCATION_BOTTOM))
	{
		TRACE(_T("Failed to create output tab window\n"));
		return -1;
	}


The values 500,-500,900,300 shown the control on my window. I need to write logic to show this control at the bottom of split window.

Thanks for your support. Now, i will tweak this and try to add tabs to it. In case of any block i will post it back.
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu6-Mar-18 1:50
_Flaviu6-Mar-18 1:50 

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.