社区
VC.NET
帖子详情
!!!请教:如何实现象mfc wizard类型的界面?
faroceanman
2005-02-28 09:12:56
请教大侠,如何实现象mfc wizard类型的界面,即点击界面上的选项能出现不同的界面。
...全文
145
11
打赏
收藏
!!!请教:如何实现象mfc wizard类型的界面?
请教大侠,如何实现象mfc wizard类型的界面,即点击界面上的选项能出现不同的界面。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
11 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
faroceanman
2005-03-21
打赏
举报
回复
解决了!
sky
2005-03-14
打赏
举报
回复
用tabctrl控件
faroceanman
2005-03-10
打赏
举报
回复
up
Kudeet
2005-03-10
打赏
举报
回复
www.codeproject.com/property
faroceanman
2005-03-07
打赏
举报
回复
up,哪位大侠支持一下
tudou614
2005-03-05
打赏
举报
回复
MARK
faroceanman
2005-03-04
打赏
举报
回复
可能是我描述的不清楚,大家打开mfc wizard后,wizard就会要你选择“应用程序类型”“数据库支持”等,我所要的效果就是这样,点击左侧的选项,可以出现不同的界面操作。
faroceanman
2005-03-04
打赏
举报
回复
.NET上用vc++实现
faroceanman
2005-03-04
打赏
举报
回复
我是想在.NET上实现,我不需要next到下一个界面,只需要象在mfc wizard 中一样,选择左侧的选项,出现不同的界面供我操作。
灿爸.
2005-02-28
打赏
举报
回复
你要好好努力呀~
路漫漫,其修远兮,吾将上下而求索~
灿爸.
2005-02-28
打赏
举报
回复
namespace CapabilityPlus
{
/// <summary>
/// 返回窗体
/// </summary>
public class FrmBack : System.Windows.Forms.Form
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public FrmBack()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.Size = new System.Drawing.Size(300,300);
this.Text = "FrmBack";
}
#endregion
}
}
namespace CapabilityPlus
{
/// <summary>
/// 下一步窗体
/// </summary>
public class FrmNext : System.Windows.Forms.Form
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public FrmNext()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.Size = new System.Drawing.Size(300,300);
this.Text = "FrmNext";
}
#endregion
}
}
namespace CapabilityPlus
{
/// <summary>
/// 向导窗体
/// </summary>
public class wizard : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnNext;
private System.Windows.Forms.Button btnBack;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public wizard()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.btnNext = new System.Windows.Forms.Button();
this.btnBack = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// btnNext
//
this.btnNext.Location = new System.Drawing.Point(0, 8);
this.btnNext.Name = "btnNext";
this.btnNext.TabIndex = 0;
this.btnNext.Text = "Next";
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
//
// btnBack
//
this.btnBack.Location = new System.Drawing.Point(0, 48);
this.btnBack.Name = "btnBack";
this.btnBack.TabIndex = 1;
this.btnBack.Text = "Back";
this.btnBack.Click += new System.EventHandler(this.btnBack_Click);
//
// wizard
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(552, 173);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.btnBack,
this.btnNext});
this.Name = "wizard";
this.Text = "wizard";
this.ResumeLayout(false);
}
#endregion
private void btnNext_Click(object sender, System.EventArgs e)
{
//上一步
FrmBack back = new FrmBack();
back.ShowDialog();
}
private void btnBack_Click(object sender, System.EventArgs e)
{
//下一步
FrmNext next = new FrmNext();
next.ShowDialog();
}
}
ObjectARX
MFC
Class
Wizard
中DialogID创建失败
在使用CAD2017 + VS2015 + ARX2017时,遇到ObjectARX
MFC
Class
Wizard
无法创建DialogID的问题。通过修改不同版本的ARX
Wizard
相关文件夹中的default.htm和default.js文件,替换特定classid,以及调整CAD安装目录路径,可以解决此问题,使得
MFC
Class
Wizard
能够成功创建。
C#
Wizard
功能
实
现
本文介绍如何使用
MFC
框架创建自定义
Wizard
组件,包括
Wizard
Form和
Wizard
Page类的使用方法,以及如何定制
界面
和处理不同页面的事件。
MFC
导航
界面
这篇博客介绍了如何在
MFC
环境中构建一个导航
界面
。通过步骤a到k详细阐述了如何从新建工程开始,添加对话框资源,创建CPropertyPage和CPropertySheet类的派生类,重载相关函数以
实
现页面间的导航逻辑,并最终设置启动时显示导航
界面
。涉及到的关键技术包括CPropertyPage和CPropertySheet的使用,以及
MFC
类的继承和事件处理。
vc
wizard
1
本文介绍了使用
MFC
实
现向导
界面
(
Wizard
)的方法,包括禁用NEXT按钮直至输入有效内容、动态添加属性页
实
现分支逻辑及直接跳转至特定页面等功能。提供了具体的代码示例。
MFC
对话框控件和变量
类型
本文介绍了如何使用
MFC
的Add Member Variable
Wizard
为对话框控件添加成员变量,并详细阐述了不同
类型
的控件所对应的可用选项及其值。
VC.NET
7,539
社区成员
27,670
社区内容
发帖
与我相关
我的任务
VC.NET
.NET技术 VC.NET
复制链接
扫一扫
分享
社区描述
.NET技术 VC.NET
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章