如何在向导模式的属性表中添加属性页 [英] How add propertypages in a propertysheet of wizard mode

查看:92
本文介绍了如何在向导模式的属性表中添加属性页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我想在我的属性表中添加属性页面。我会告诉你我的意图,即最初我创建了一个propertysheet并添加了4个属性页面。现在处于向导模式,因为我们是Next,Back,Cancel,用于在页面之间切换。我想在我点击下一步按钮时添加不同的页面。另外我有第一个属性页面,其中包含三个按钮,如果单击第一个按钮,我必须添加一个页面,如果去第二个页面,我必须能够添加一个不同的页面同样地,当我点击第三个按钮时,我必须有一个不同的页面。我将显示页面流的顺序,





首页:



Button1:



Button2:



Button3:





返回下一页取消





如果单击Button1,则启用Next,然后单击Next,然后添加Page2。



if单击Button2,然后单击下一步,然后单击下一步,则应添加Page3。



如果单击Button3,则启用下一步,然后单击下一步。然后应该添加第4页。



我试过handlin在虚拟LRESULT OnWizardNext()方法中,它返回CPropertyPage :: OnWizardNext()。但它没有正常工作,任何人都可以帮助我。



先谢谢

Hi,


I Want add propertypages to my propertysheet .I will let you know my intention i.e,Initially I created a propertysheet and added 4 propertypages . Now in wizard mode as we Next,Back,Cancel which are used for switching between pages. I want add different pages when i click on Next button.Moreover i had first propertypage which consists of three buttons where if click first button i must add a page and again if go for second page i must be able to add a page which is different from the previous one.Similarly,when i click on the third button i must one more different page.I will show the sequence of pages flow,


FirstPage:

Button1:

Button2:

Button3:


Back Next Cancel


if "Button1" is clicked then Next will be enabled and then click Next then Page2 should be added.

if "Button2" is clicked then Next will be enabled and then click Next then Page3 should be added.

if "Button3" is clicked then Next will be enabled and then click Next then Page4 should be added.

I tried handling it in "virtual LRESULT OnWizardNext()" method ,which returns CPropertyPage::OnWizardNext(). But it is not working fine ,can anyone please help me .

Thanks In Advance

推荐答案

这篇关于如何在向导模式的属性表中添加属性页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆