Click here to Skip to main content
16,017,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple files Pin
Andrew Admire1-Jun-05 9:49
Andrew Admire1-Jun-05 9:49 
GeneralIE plugin Pin
Tender_Nail1-Jun-05 3:52
Tender_Nail1-Jun-05 3:52 
GeneralRe: IE plugin Pin
ThatsAlok1-Jun-05 18:20
ThatsAlok1-Jun-05 18:20 
GeneralSupported file types in DirectShow Pin
mssg1-Jun-05 2:37
mssg1-Jun-05 2:37 
GeneralRe: Supported file types in DirectShow Pin
Momotte1-Jun-05 2:41
Momotte1-Jun-05 2:41 
QuestionWhat happened to my CString? Pin
IlanTal1-Jun-05 1:50
IlanTal1-Jun-05 1:50 
GeneralMicrosoft Visual C++ Code Library: "Buffer Overrun" (link.exe) Pin
MahatmaG1-Jun-05 1:50
MahatmaG1-Jun-05 1:50 
GeneralHiding a CPropertyPage at runtime Pin
tabor251-Jun-05 1:45
tabor251-Jun-05 1:45 
Hello,
I need to know how to hide a CPropertyPage at runtime in my app. I thought that it could be done by first removing all the pages

while (m_sheet.GetPageCount()) {
m_sheet.RemovePage(0);
}

and than adding the pages (except the one i want to hide) to the sheet again

m_sheet.AddPage(&m_tree, 0);
m_sheet.AddPage(&m_calculate,7);
m_sheet.AddPage(&m_cad,12);

The problem is that removing a page in the way i did will destroy the page and adding the page will recreate it. But I need to hold the state of the page furthermore. Maybe someone has an idea!

Best regards,

Tabor


GeneralRe: Hiding a CPropertyPage at runtime Pin
David Crow1-Jun-05 2:20
David Crow1-Jun-05 2:20 
GeneralRe: Hiding a CPropertyPage at runtime Pin
tabor251-Jun-05 8:08
tabor251-Jun-05 8:08 
GeneralRe: Hiding a CPropertyPage at runtime Pin
laiju3-Jun-05 11:22
laiju3-Jun-05 11:22 
GeneralRe: Hiding a CPropertyPage at runtime Pin
David Crow3-Jun-05 16:37
David Crow3-Jun-05 16:37 
GeneralRe: Hiding a CPropertyPage at runtime Pin
PJ Arends4-Jun-05 9:49
professionalPJ Arends4-Jun-05 9:49 
GeneralRe: Hiding a CPropertyPage at runtime Pin
laiju4-Jun-05 9:55
laiju4-Jun-05 9:55 
GeneralCWnd refresh Pin
jamesrgoodwin1-Jun-05 0:41
jamesrgoodwin1-Jun-05 0:41 
GeneralRe: CWnd refresh Pin
ThatsAlok1-Jun-05 0:53
ThatsAlok1-Jun-05 0:53 
GeneralRe: CWnd refresh Pin
jamesrgoodwin1-Jun-05 1:04
jamesrgoodwin1-Jun-05 1:04 
Generalpush button Pin
ask_you31-May-05 23:48
ask_you31-May-05 23:48 
GeneralRe: push button Pin
Nilesh K.31-May-05 23:56
Nilesh K.31-May-05 23:56 
GeneralRe: push button Pin
ask_you1-Jun-05 0:12
ask_you1-Jun-05 0:12 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 0:20
Nilesh K.1-Jun-05 0:20 
GeneralRe: push button Pin
ask_you1-Jun-05 0:35
ask_you1-Jun-05 0:35 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 16:20
Nilesh K.1-Jun-05 16:20 
QuestionHow CreateFile can fail??? Pin
Dimitris Vikeloudas31-May-05 23:16
Dimitris Vikeloudas31-May-05 23:16 
AnswerRe: How CreateFile can fail??? Pin
Cedric Moonen31-May-05 23:36
Cedric Moonen31-May-05 23:36 

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.