赞
踩
ProUIDialogCreate()创建对话框
| ProUIDialogCreate | ( | |
| char* dialog_name | ||
| /* (In) | ||
| The name of the dialog | ||
| */ | ||
| char* resource | ||
| /* (In) | ||
| The name of the resource file | ||
| */ | ||
其中 dialog_name 为对话框的名称 如下:

resource为资源文件的名称

建议两个名称命名一样的
char *dialog_CeShi="CeShi";
ProUIDialogCreate(dialog_CeShi,dialog_CeShi); 即可完成创建对话框
注意 :对话框的资源文件 上图的“CeShi.res”文件 最好放在自定义的文件夹中的 ../text\chinese_cn\resource中 否则无法自动找到资源文件 对话框创建不成功!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。