UG_Styler_v1分享资料_第1页
UG_Styler_v1分享资料_第2页
UG_Styler_v1分享资料_第3页
UG_Styler_v1分享资料_第4页
UG_Styler_v1分享资料_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1UI Styler功能 UG/Open UIStyler模块提供了强大的制作UG风格对话框的功能,主要包括以下方面: 为开发者提供了可视化操作环境,通过控件布局,实现可见即所得。 能够自动生成C模板文件,为用户编程提供了便利。 UIStyler创建的对话框可以被ManuScript调用,实现了UG菜单调用对话框的功能,将用户应用程序与UG无缝集成。23Box valueUSER_set_int_box_value(Int dialog_id, const char *item_id, int value); USER_ask_int_box_value(int dialog_id, cons

2、t char *item_id, int &value); 4Box valueUSER_set_string_box_value(int dialog_id, const char *item_id, char *string) USER_ask_string_box_value(int dialog_id, const char *item_id, char *string, int nchars)5Box valueint USER_set_real_box_value(int dialog_id, const char *item_id, double value)int US

3、ER_ask_real_box_value(int dialog_id, const char *item_id, double *value) 6Single ListUSER_insert_list_single_line();USER_delele_list_all();USER_set_list_all_dataUSER_ask_singlelist_select_line(int dialog_id, const char *item_id, int *line) USER_ask_singlelist_string_data(int dialog_id , const char *

4、item_id , char *string)USER_set_singlelist_select_line(int dialog_id, const char *item_id, int line)USER_ask_list_line_count(int dialog_id, const char *item_id, int *count)7Multi List ?USER_delele_list_all();USER_set_list_all_data();USER_ask_multi_line_string_data(int dialog_id, const char *item_id,

5、 char * *string, int *ncount)USER_set_singlelist_select_line(int dialog_id, const char *item_id, int line)USER_ask_list_line_count(int dialog_id, const char *item_id, int *count)USER_set_multi_line_string_data();?8Option MenuUSER_set_list_all_data();int USER_set_option_initialize_show(int dialog_id,

6、char *item_id, int index)int USER_ask_option_specify_line(int dialog_id, const char *item_id, int line, char* string, int nchars)USER_ask_option_select_line(int dialog_id, const char *item_id, char* string, int nchars) USER_set_singlelist_select_line()9USER_ask_colortool_activecolor(int dialog_id,char *item_id, int *active_color)USER_set_colortool_activecolor (int dialog_id,char *item_id, int ac

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论