|
Hi,
I have created a wizard using property pager in vc++ mfc. I used the following to add a header.
CWizSheet pex("New Property Sheet");
pex.m_psh.dwFlags |= PSH_WIZARD97;
Please can you tell me
1)How do I add a bitmap to the header?
2)A background color/bitmap to the rest of the page?
3)How do I add the text to the header?
I have found many tutorial explaining how to create a wizard using property pages, but they do not explain how to add a header, bitmap and text to the header. Please help.
Thanks.
Tara
Fortitudine Vinsinues!
|
|
|
|
|
hi all
I have MFC application and a public method
void CProject::Something(CButtonDerivedClass bButton)
{
}
When in OnInitDialog I call this method, I get error :
...
Something(m_bDerivedButton);
...
error : Error 1 error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h 1814
Please help if you can.
thanks
-- modified at 6:47 Wednesday 14th June, 2006
|
|
|
|
|
At a guess, it looks like the compiler can't make a copy of your class. So, can you pass it as a pointer or reference ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Am also think the same. Need to pass the pointer or reference to the function.
Please tel ur result.
yours faithfully
ajeeshcv
|
|
|
|
|
HI,
HOW TO HANDLE WM_DISPLAYCHANGE MESSAGE
|
|
|
|
|
either check for this message in the WindProc
or add the following entry in message map
ON_MESSAGE( WM_DISPLAYCHANGE, OnDisplayChanged )
now add a new function with name and proto
LRESULT OnDisplayChanged( WPARAM wParam, LPARAM lParam )
nave
|
|
|
|
|
|
|
Can you be more specific
whitesky
|
|
|
|
|
Your post doesn't describe itself clearly. What problem are you having?
My guess : Probably you are writing to invalid memory location.
or you are using an invalid pointer somewhere
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Use your debugger to locate te problem. Learn how to use it properly because it is much more helpfull than a forum.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Can't give you my 5 this time. Last time I was voted down for giving you a 5.
(This time I expect to be voted down just beacuse I didn't give you a 5).
|
|
|
|
|
|
i did it...
no matter the votes i get for that.
Cedric gave a true answer, he deserved it, so i give him the vote that expresses at best the value of his post
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
If you can accept to be voted down, so can I.
Cedric got my 5 as well.
|
|
|
|
|
|
Just go for it!
Seriously, it seems as if some of the posters doesn't know about the debugger, or even what a great tool the debugger is.
|
|
|
|
|
|
I guess they think it's complicated when the truth is the opposite:
Guessing what's wrong, now *that's* difficult!
But we know that, it's just a matter of spreading the word (IMO).
BTW, where's my 1?
|
|
|
|
|
|
OK, you can give it to me another day...
|
|
|
|
|
Hey ! dont keep it in your pockets, It's gonna harm your internals
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
|
|
|
|
|
It is reassuring that these are the people who get our outsourced jobs...
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
|
toxcct wrote: is it you who gave me '1' here ??
noooooooooooooooooooooooooo!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|