Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMore property sheet questions Pin
bcemick25-Feb-05 9:46
bcemick25-Feb-05 9:46 
Sorry to have to ask these, but Project Sheets (and working with tabs in general) is completely knew to me and the MSDN is vague on some of these things.

Okay, so I have my Property Sheet set up and I've added 5 Property Pages to it. In each page is a list control (report style) that has to have headers for each column. I can set the headers with the first one (PropertyPage) but none of the others (PropertyPage1, PropertyPage2, etc). Is there something that I'm missing as how to reference those particular pages?

Next, adding buttons (yes, I asked this before; sorry for the repeat question). I know how to create the buttons, but for some reason they're not showing up in the Propery Sheet at all. I don't want buttons in the Property Pages, but rather outside of them on the Sheet itself. Right now, it looks something like this:

pWnd = GetParent();
m_btnRead.Create("Text Goes Here", WS_VISIBLE | BS_PUSHBUTTON, CRect(10, 50, 100, 208), pWnd, 1);

I've also tried replacing "pWnd" with "this". Nothing. No button anywhere. Again, am I missing how to correctly reference the Sheet?

Any help is greatly appreciated.
GeneralRe: More property sheet questions Pin
David Crow25-Feb-05 9:51
David Crow25-Feb-05 9:51 
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 10:03
bcemick25-Feb-05 10:03 
GeneralRe: More property sheet questions Pin
David Crow25-Feb-05 10:05
David Crow25-Feb-05 10:05 
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 10:13
bcemick25-Feb-05 10:13 
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 11:11
bcemick25-Feb-05 11:11 
GeneralRe: More property sheet questions Pin
David Crow26-Feb-05 3:16
David Crow26-Feb-05 3:16 
GeneralRe: More property sheet questions Pin
PJ Arends25-Feb-05 14:00
professionalPJ Arends25-Feb-05 14:00 
QuestionHow To: USB communications Pin
bouli25-Feb-05 9:09
bouli25-Feb-05 9:09 
AnswerRe: How To: USB communications Pin
namaskaaram27-Feb-05 17:19
namaskaaram27-Feb-05 17:19 
GeneralSwitch between Unicode and ANSI Pin
hyling25-Feb-05 8:24
hyling25-Feb-05 8:24 
GeneralRe: Switch between Unicode and ANSI Pin
David Crow25-Feb-05 9:07
David Crow25-Feb-05 9:07 
GeneralRe: Switch between Unicode and ANSI Pin
hyling25-Feb-05 9:42
hyling25-Feb-05 9:42 
GeneralRe: Switch between Unicode and ANSI Pin
hyling25-Feb-05 11:04
hyling25-Feb-05 11:04 
GeneralAnimate Control and AVI file. Pin
TUMB25-Feb-05 5:10
TUMB25-Feb-05 5:10 
GeneralRe: Animate Control and AVI file. Pin
namaskaaram27-Feb-05 17:16
namaskaaram27-Feb-05 17:16 
GeneralEnumWindows error Pin
cj_rahul25-Feb-05 4:48
cj_rahul25-Feb-05 4:48 
GeneralRe: EnumWindows error Pin
PJ Arends25-Feb-05 6:02
professionalPJ Arends25-Feb-05 6:02 
GeneralRe: EnumWindows error Pin
ThatsAlok25-Feb-05 17:43
ThatsAlok25-Feb-05 17:43 
GeneralAdd buttons to a Property Sheet Pin
bcemick25-Feb-05 4:44
bcemick25-Feb-05 4:44 
GeneralRe: Add buttons to a Property Sheet Pin
PJ Arends25-Feb-05 6:47
professionalPJ Arends25-Feb-05 6:47 
GeneralRe: Add buttons to a Property Sheet Pin
bcemick25-Feb-05 7:57
bcemick25-Feb-05 7:57 
GeneralResource in .lib Pin
Hades_G25-Feb-05 3:51
Hades_G25-Feb-05 3:51 
GeneralRe: Resource in .lib Pin
Blake Miller25-Feb-05 4:54
Blake Miller25-Feb-05 4:54 
QuestionHow to connect to sql database without ODBC ? Pin
gecool25-Feb-05 3:28
gecool25-Feb-05 3:28 

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.