Click here to Skip to main content
15,916,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionload bmp picture. Pin
a04.lqd28-Dec-09 3:32
a04.lqd28-Dec-09 3:32 
AnswerRe: load bmp picture. Pin
Cedric Moonen28-Dec-09 4:14
Cedric Moonen28-Dec-09 4:14 
AnswerRe: load bmp picture. Pin
Richard MacCutchan28-Dec-09 6:25
mveRichard MacCutchan28-Dec-09 6:25 
QuestionRe: load bmp picture. Pin
David Crow28-Dec-09 10:04
David Crow28-Dec-09 10:04 
Questionstructure checking Pin
kk.tvm28-Dec-09 1:04
kk.tvm28-Dec-09 1:04 
AnswerRe: structure checking [modified] Pin
KingsGambit28-Dec-09 1:09
KingsGambit28-Dec-09 1:09 
GeneralRe: structure checking Pin
Madhu Nair28-Dec-09 4:13
Madhu Nair28-Dec-09 4:13 
AnswerRe: structure checking Pin
Richard MacCutchan28-Dec-09 1:10
mveRichard MacCutchan28-Dec-09 1:10 
GeneralRe: structure checking Pin
Luc Pattyn28-Dec-09 3:29
sitebuilderLuc Pattyn28-Dec-09 3:29 
GeneralRe: structure checking Pin
CPallini28-Dec-09 3:47
mveCPallini28-Dec-09 3:47 
GeneralRe: structure checking Pin
Bram van Kampen28-Dec-09 13:26
Bram van Kampen28-Dec-09 13:26 
GeneralRe: structure checking Pin
CPallini28-Dec-09 20:44
mveCPallini28-Dec-09 20:44 
GeneralRe: structure checking Pin
Richard MacCutchan28-Dec-09 5:17
mveRichard MacCutchan28-Dec-09 5:17 
GeneralRe: structure checking Pin
Luc Pattyn28-Dec-09 5:29
sitebuilderLuc Pattyn28-Dec-09 5:29 
GeneralRe: structure checking Pin
Richard MacCutchan28-Dec-09 5:42
mveRichard MacCutchan28-Dec-09 5:42 
GeneralRe: structure checking Pin
Luc Pattyn28-Dec-09 5:44
sitebuilderLuc Pattyn28-Dec-09 5:44 
GeneralRe: structure checking Pin
Richard MacCutchan28-Dec-09 6:26
mveRichard MacCutchan28-Dec-09 6:26 
AnswerRe: structure checking Pin
CPallini28-Dec-09 1:28
mveCPallini28-Dec-09 1:28 
GeneralRe: structure checking Pin
kk.tvm30-Dec-09 19:45
kk.tvm30-Dec-09 19:45 
QuestionNamed pipes cross domains Pin
vikramlinux27-Dec-09 22:56
vikramlinux27-Dec-09 22:56 
QuestionSQL + _RecordsetPtr [modified] Pin
NVCprog27-Dec-09 22:34
NVCprog27-Dec-09 22:34 
QuestionA Bug with MFC Aero Wizards ? Pin
Ahmed Charfeddine27-Dec-09 22:18
Ahmed Charfeddine27-Dec-09 22:18 
I am using MFC 9.0 to create Aero Wizard on Vista.

Evrything seems to be OK : creating a prpertysheet, setting the PSH_AEROWIZARD, adding propertypages, etc.
However the next and back buttons only work when the following functions of the currently active page are returning the zero value :

LRESULT OnWizardNext();

LRESULT OnWizardBack();

When the return value is zero, the framework uses the order by which the developer called CPropertySheet::AddPage for each page instance as an information rules for navigation.

However, the developer is allowed, according to the application logic, to override those function and return the dialog resource ID of specific page. That case, the framework navigates to this latter one instead of the default page.

example :
LRESULT CPage1::OnWizardNext()
{
    // TODO: Add your specialized code here and/or call the base class
    return CPage3::IDD;
}

When the PSH_AEROWIZARD flag is set, unfortunately, this is not accepted : the next and back button do not work.

What's going on ? Is this a bug ?

In this case, is there a way how I can intercept the next and back clicks so I can make explicit calls to CPropertySheet::SetActivePage ?


Thank you in advance.

Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx

AnswerRe: A Bug with MFC Aero Wizards ? Pin
Greg Marr13-Jan-10 12:08
Greg Marr13-Jan-10 12:08 
QuestionPragmas in C Pin
Razanust27-Dec-09 21:19
Razanust27-Dec-09 21:19 
AnswerRe: Pragmas in C [modified] Pin
Nuri Ismail27-Dec-09 21:36
Nuri Ismail27-Dec-09 21: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.