Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to share memory betwenne two process Pin
pepeR26-Jun-00 0:26
pepeR26-Jun-00 0:26 
AnswerRe: How to share memory betwenne two process Pin
Alex Gorev26-Jun-00 3:34
Alex Gorev26-Jun-00 3:34 
Generalado exception occured where recordset opened too big. Pin
tica25-Jun-00 22:48
tica25-Jun-00 22:48 
QuestionHow to display data on the thread? Pin
Edel Alva25-Jun-00 22:45
sussEdel Alva25-Jun-00 22:45 
AnswerRe: How to display data on the thread? Pin
Alex Gorev26-Jun-00 3:39
Alex Gorev26-Jun-00 3:39 
GeneralRe: How to display data on the thread? Pin
Edel Alva26-Jun-00 16:58
sussEdel Alva26-Jun-00 16:58 
GeneralFile Copying Question Pin
woltman25-Jun-00 18:11
woltman25-Jun-00 18:11 
GeneralSwitching MFC Views in Win2000 Pin
Jeff Ellis25-Jun-00 16:14
sussJeff Ellis25-Jun-00 16:14 
I have a small routine for switching the current view in an MFC SDI application that works fine in Win95/98. when I run it under Win2000 it does not work. The return codes indicate success, but the window never gets repainted with my new view. Any one run into this yet? Here is the code:

BOOL CMainFrame::SwitchView(eViews eView)
{
CView* pOldView = GetActiveView();
CView* pNewView;
switch(eView)
{
case eView1:
pNewView = (CView*) new CView1;
break;
default:
pNewView = (CView*) new CView2;
break;
}

CCreateContext context;
context.m_pCurrentDoc = pOldView->GetDocument();
pNewView->Create(NULL, NULL, 0L, CFrameWnd::rectDefault, this, eView, &context);
pNewView->OnInitialUpdate();
SetActiveView(pNewView);
pNewView->ShowWindow(SW_SHOW);
pOldView->ShowWindow(SW_HIDE);
::SetWindowWord(pNewView->m_hWnd, GWL_ID, AFX_IDW_PANE_FIRST);
RecalcLayout();
delete pOldView;

m_eCurrentView = eView;
return TRUE;
}
GeneralProblems changing the background color of a CEdit Pin
Joan Murt25-Jun-00 8:38
sussJoan Murt25-Jun-00 8:38 
GeneralMemory leak Pin
Member 403225-Jun-00 2:54
Member 403225-Jun-00 2:54 
GeneralRe: Memory leak Pin
Tim Deveaux25-Jun-00 13:09
Tim Deveaux25-Jun-00 13:09 
Questionhow to get icon out of file extension ? Pin
Yariv25-Jun-00 1:51
Yariv25-Jun-00 1:51 
AnswerRe: how to get icon out of file extension ? Pin
Mike Dunn25-Jun-00 6:57
Mike Dunn25-Jun-00 6:57 
QuestionHandled Error not handled??? Pin
Matthias Steinbart23-Jun-00 2:51
sussMatthias Steinbart23-Jun-00 2:51 
AnswerRe: Handled Error not handled??? Pin
Tim Deveaux23-Jun-00 5:41
Tim Deveaux23-Jun-00 5:41 
GeneralRe: Handled Error not handled??? Pin
Tim Deveaux23-Jun-00 8:23
Tim Deveaux23-Jun-00 8:23 
GeneralSetCapture and Accelerator Keys Pin
Ingo22-Jun-00 23:13
Ingo22-Jun-00 23:13 
GeneralResource editor component Pin
Amir Wassermann22-Jun-00 8:25
sussAmir Wassermann22-Jun-00 8:25 
GeneralTooltip with differnt fonts possible Pin
Andreas Mauer22-Jun-00 7:46
sussAndreas Mauer22-Jun-00 7:46 
GeneralRe: Tooltip with differnt fonts possible Pin
Mike Dunn22-Jun-00 7:57
Mike Dunn22-Jun-00 7:57 
GeneralRe: Tooltip with differnt fonts possible Pin
Chris Maunder27-Jun-00 13:15
cofounderChris Maunder27-Jun-00 13:15 
GeneralCapturing F10 Pin
Chris Mancini22-Jun-00 5:43
Chris Mancini22-Jun-00 5:43 
GeneralRe: Capturing F10 Pin
solex22-Jun-00 21:32
solex22-Jun-00 21:32 
Generalreplication with ODBC Pin
peanut9022-Jun-00 4:38
peanut9022-Jun-00 4:38 
GeneralAttach to Process.. PROBLEM! Pin
Jignesh Patel22-Jun-00 3:46
Jignesh Patel22-Jun-00 3:46 

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.