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

C / C++ / MFC

 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian7-Dec-10 23:55
professionalRajesh R Subramanian7-Dec-10 23:55 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian8-Dec-10 0:02
professionalRajesh R Subramanian8-Dec-10 0:02 
GeneralRe: Process exit memory released? Pin
vipin_nvk8-Dec-10 0:34
vipin_nvk8-Dec-10 0:34 
GeneralRe: Process exit memory released? Pin
Rajesh R Subramanian8-Dec-10 0:36
professionalRajesh R Subramanian8-Dec-10 0:36 
AnswerRe: Process exit memory released? Pin
Rajesh R Subramanian7-Dec-10 23:32
professionalRajesh R Subramanian7-Dec-10 23:32 
AnswerRe: Process exit memory released? Pin
Cedric Moonen8-Dec-10 0:16
Cedric Moonen8-Dec-10 0:16 
AnswerRe: Process exit memory released? Pin
Maximilien8-Dec-10 1:42
Maximilien8-Dec-10 1:42 
AnswerRe: Process exit memory released? Pin
Niklas L8-Dec-10 21:58
Niklas L8-Dec-10 21:58 
QuestionHow can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 18:08
Le@rner7-Dec-10 18:08 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 19:44
professionalRajesh R Subramanian7-Dec-10 19:44 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 20:00
bleedingfingers7-Dec-10 20:00 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 20:29
Le@rner7-Dec-10 20:29 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 20:48
professionalRajesh R Subramanian7-Dec-10 20:48 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 23:30
bleedingfingers7-Dec-10 23:30 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 23:35
Le@rner7-Dec-10 23:35 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 23:57
professionalRajesh R Subramanian7-Dec-10 23:57 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
trotwa7-Dec-10 22:18
trotwa7-Dec-10 22:18 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 22:20
Le@rner7-Dec-10 22:20 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 22:57
professionalRajesh R Subramanian7-Dec-10 22:57 
QuestionCToolBar Button Flickers. [modified] Pin
janaswamy uday7-Dec-10 17:54
janaswamy uday7-Dec-10 17:54 
Hi All,

I am getting flicker when Disable the CToolBar Buttons when ON_UPDATE_COMMAND_UI message with
CmdUI->Enable(FALSE) twice depending on some condition.
But everytime I move my mouse the grayed-out button flickers.
Un-grayed buttons do not flicker. Any Prolem whith this.

Code
-------


void CMainFrame::OnUpdateFileDeleteplans(CCmdUI* pCmdUI)
{
bool bExecuteSQLWin = false;

if(bExecuteSQLWin)
pCmdUI->Enable(FALSE);
else
pCmdUI->Enable();

pCmdUI->Enable(CheckOpenPlans()); --> Here i added with a Function CheckOpenPlans().......>==========//

}

bool CMainFrame::CheckOpenPlans()
{
CMDIChildWnd* MyWnd = NULL;
MyWnd = MDIGetActive();
CView* pView = NULL;

if(MyWnd != NULL)
{
pView = (CView*) MyWnd->GetActiveView();
if((pView->IsKindOf(RUNTIME_CLASS(CSelectQueryView)) || pView->IsKindOf(RUNTIME_CLASS(OpenPlansTreeView))))
{
MyWnd = NULL;
pView = NULL;
return false;
}
else
{
MyWnd = NULL;
pView = NULL;
return true;
}
}

return true;
}

modified on Monday, December 20, 2010 12:29 AM

QuestionIs there any DB2 driver for VC Pin
cy163@hotmail.com7-Dec-10 13:40
cy163@hotmail.com7-Dec-10 13:40 
QuestionVC FLEX Pin
cy163@hotmail.com7-Dec-10 13:38
cy163@hotmail.com7-Dec-10 13:38 
AnswerRe: VC FLEX Pin
KingsGambit7-Dec-10 21:43
KingsGambit7-Dec-10 21:43 
AnswerRe: VC FLEX Pin
Cool_Dev8-Dec-10 21:17
Cool_Dev8-Dec-10 21:17 
Question890916 - CTabbedPane Pin
ilostmyid27-Dec-10 2:32
professionalilostmyid27-Dec-10 2:32 

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.