Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Pragmas in C Pin
sashoalm27-Dec-09 23:06
sashoalm27-Dec-09 23:06 
AnswerRe: Pragmas in C Pin
Richard MacCutchan27-Dec-09 23:19
mveRichard MacCutchan27-Dec-09 23:19 
AnswerRe: Pragmas in C Pin
Bram van Kampen28-Dec-09 1:31
Bram van Kampen28-Dec-09 1:31 
GeneralRe: Pragmas in C //Is this a Bug in CP?? Pin
Bram van Kampen28-Dec-09 1:42
Bram van Kampen28-Dec-09 1:42 
GeneralRe: Pragmas in C //Is this a Bug in CP?? Pin
Nuri Ismail28-Dec-09 3:29
Nuri Ismail28-Dec-09 3:29 
GeneralRe: Pragmas in C //Is this a Bug in CP?? Pin
Bram van Kampen28-Dec-09 13:30
Bram van Kampen28-Dec-09 13:30 
QuestionError on CString Pin
Anu_Bala27-Dec-09 17:08
Anu_Bala27-Dec-09 17:08 
AnswerRe: Error on CString PinPopular
LunaticFringe27-Dec-09 17:24
LunaticFringe27-Dec-09 17:24 
GeneralRe: Error on CString Pin
Anu_Bala27-Dec-09 17:46
Anu_Bala27-Dec-09 17:46 
GeneralRe: Error on CString Pin
Rajesh R Subramanian27-Dec-09 19:27
professionalRajesh R Subramanian27-Dec-09 19:27 
QuestionDeveloping a gui toolkit Pin
bi0phaz327-Dec-09 16:03
bi0phaz327-Dec-09 16:03 
AnswerRe: Developing a gui toolkit Pin
«_Superman_»27-Dec-09 16:10
professional«_Superman_»27-Dec-09 16:10 
GeneralRe: Developing a gui toolkit Pin
bi0phaz327-Dec-09 16:12
bi0phaz327-Dec-09 16:12 
GeneralRe: Developing a gui toolkit Pin
«_Superman_»27-Dec-09 16:15
professional«_Superman_»27-Dec-09 16:15 

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.