Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ optimization problem Pin
Antony M Kancidrowski2-Jul-04 2:35
Antony M Kancidrowski2-Jul-04 2:35 
GeneralRe: C++ optimization problem Pin
Paul Ranson2-Jul-04 3:01
Paul Ranson2-Jul-04 3:01 
QuestionC++ in "Hardware structures" stand point question: Does the ALU handle any floading points operations? or will the processor let the FPU handles them? Pin
Link26001-Jul-04 13:29
Link26001-Jul-04 13:29 
AnswerRe: C++ in "Hardware structures" stand point question: Does the ALU handle any floading points operations? or will the processor let the FPU handles them? Pin
Ryan Binns1-Jul-04 14:21
Ryan Binns1-Jul-04 14:21 
GeneralDynamic controls Pin
richiebabes1-Jul-04 11:47
richiebabes1-Jul-04 11:47 
GeneralRe: Dynamic controls Pin
Yawar Maajed1-Jul-04 12:22
Yawar Maajed1-Jul-04 12:22 
GeneralRe: Dynamic controls Pin
richiebabes1-Jul-04 12:30
richiebabes1-Jul-04 12:30 
GeneralRe: Dynamic controls Pin
Yawar Maajed1-Jul-04 13:11
Yawar Maajed1-Jul-04 13:11 
ShowWindow is THE API to use to show and hide windows, if your window does not exist yet, the function will assert.
Try making sure that the window you are calling this function on is valid before you call this function.
an exmaple of this would be
Page::OnInitDialog();
{
BOOL ret = CPropertyPage::OnInitDialog();
CWnd *pWnd = GetDlgItem(IDC_MY_WINDOW);
if (!pWnd || !::IsWindow(pWnd->GetSafeHwnd())
{
ASSERT(FALSE);
}
else
pWnd->ShowWindow(SW_HIDE); // or whatever you want to do with it.
}

Did you use classwizard to generate control variables for your window objects?
/yawar
GeneralWindow title bar - detecting drag end Pin
Anonymous1-Jul-04 11:39
Anonymous1-Jul-04 11:39 
GeneralRe: Window title bar - detecting drag end Pin
Anonymous1-Jul-04 11:41
Anonymous1-Jul-04 11:41 
GeneralRe: Window title bar - detecting drag end Pin
Yawar Maajed1-Jul-04 12:19
Yawar Maajed1-Jul-04 12:19 
GeneralRe: Window title bar - detecting drag end Pin
Yawar Maajed1-Jul-04 12:21
Yawar Maajed1-Jul-04 12:21 
GeneralRe: Window title bar - detecting drag end Pin
Ravi Bhavnani1-Jul-04 13:42
professionalRavi Bhavnani1-Jul-04 13:42 
QuestionHow do you get the path to the WIndows desktop? Pin
Terry O'Nolley1-Jul-04 11:02
Terry O'Nolley1-Jul-04 11:02 
AnswerRe: How do you get the path to the WIndows desktop? Pin
Yawar Maajed1-Jul-04 11:19
Yawar Maajed1-Jul-04 11:19 
GeneralRe: How do you get the path to the WIndows desktop? Pin
Terry O'Nolley1-Jul-04 12:07
Terry O'Nolley1-Jul-04 12:07 
AnswerRe: How do you get the path to the WIndows desktop? Pin
palbano1-Jul-04 11:20
palbano1-Jul-04 11:20 
QuestionHow to write a program to auto-fill an HTML page? Pin
Anonymous1-Jul-04 10:42
Anonymous1-Jul-04 10:42 
AnswerRe: How to write a program to auto-fill an HTML page? Pin
Anders Molin1-Jul-04 13:51
professionalAnders Molin1-Jul-04 13:51 
GeneralWindows Hook Pin
Nick Parker1-Jul-04 10:21
protectorNick Parker1-Jul-04 10:21 
GeneralRe: Windows Hook Pin
palbano1-Jul-04 11:15
palbano1-Jul-04 11:15 
GeneralRe: Windows Hook Pin
Antti Keskinen1-Jul-04 11:23
Antti Keskinen1-Jul-04 11:23 
GeneralRe: Windows Hook Pin
Jeremy Falcon1-Jul-04 13:07
professionalJeremy Falcon1-Jul-04 13:07 
QuestionHow to program a toolbar for IE? Pin
Anonymous1-Jul-04 10:06
Anonymous1-Jul-04 10:06 
AnswerRe: How to program a toolbar for IE? Pin
Antti Keskinen1-Jul-04 10:27
Antti Keskinen1-Jul-04 10:27 

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.