Click here to Skip to main content
15,904,156 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Connection String Couldn't Connect Pin
leon de boer18-Mar-18 4:20
leon de boer18-Mar-18 4:20 
AnswerRe: Connection String Couldn't Connect Pin
leon de boer15-Mar-18 16:49
leon de boer15-Mar-18 16:49 
GeneralRe: Connection String Couldn't Connect Pin
Brennan Salibrici16-Mar-18 2:45
Brennan Salibrici16-Mar-18 2:45 
QuestionRe: Connection String Couldn't Connect Pin
David Crow16-Mar-18 16:43
David Crow16-Mar-18 16:43 
Questionproblem in operator overloading of >> & << ? Pin
Tarun Jha15-Mar-18 7:47
Tarun Jha15-Mar-18 7:47 
AnswerRe: problem in operator overloading of >> & << ? Pin
CPallini15-Mar-18 10:47
mveCPallini15-Mar-18 10:47 
QuestionCan we include two Message Maps in one class? Pin
Sampath57914-Mar-18 23:23
Sampath57914-Mar-18 23:23 
AnswerRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan14-Mar-18 23:32
mveRichard MacCutchan14-Mar-18 23:32 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57914-Mar-18 23:39
Sampath57914-Mar-18 23:39 
AnswerRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 0:53
professionalJochen Arndt15-Mar-18 0:53 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 1:08
Sampath57915-Mar-18 1:08 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 4:19
Sampath57915-Mar-18 4:19 
GeneralRe: Can we include two Message Maps in one class? Pin
Victor Nijegorodov15-Mar-18 4:48
Victor Nijegorodov15-Mar-18 4:48 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 6:25
Sampath57915-Mar-18 6:25 
GeneralRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 4:50
professionalJochen Arndt15-Mar-18 4:50 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 6:57
Sampath57915-Mar-18 6:57 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 7:11
mveRichard MacCutchan15-Mar-18 7:11 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 7:31
Sampath57915-Mar-18 7:31 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 8:03
mveRichard MacCutchan15-Mar-18 8:03 
QuestionHow to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 6:42
Sampath57914-Mar-18 6:42 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
Richard MacCutchan14-Mar-18 7:06
mveRichard MacCutchan14-Mar-18 7:06 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 21:58
_Flaviu14-Mar-18 21:58 
Yes, it could work, but not like you tried above ... think that m_CView is the same CView instance on every tab, which is impossible ... but you can try to create a new instance on every AddView call, something like that:
C++
AddView(new CYourView(),_T("Tab1"));
AddView(new CYourView(),_T("Tab2"));

this is simplistic approach, that I wrote it just you see the point, but in a real situation, you have to elaborate this: create any instance of CYourView object you need, add every one of them in an array of pointers, and supply this pointers on AddView call as first argument. Do you understand what I say ?
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 22:41
_Flaviu14-Mar-18 22:41 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 22:55
Sampath57914-Mar-18 22:55 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 23:08
_Flaviu14-Mar-18 23:08 

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.