如何更改属性表上的文本“应用"按钮 [英] How can I change the text on a property sheet APPLY button

查看:98
本文介绍了如何更改属性表上的文本“应用"按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改属性表应用"按钮上的文本,但我不知道控件的ID或HWND.我有属性表的HWND.有什么想法吗?

I'd like to change the text on a property sheet APPLY button but I don't know the control's ID or HWND. I do have the property sheet's HWND. Any ideas?

推荐答案

我发现了几个实例,其中包括以下定义...

I found a couple of instances where folks included the following defines...

#define IDD_APPLYNOW 0x3021
#define IDD_DLGFRAME 0x3022
#define IDD_BACK 0x3023
#define IDD_NEXT 0x3024
#define IDD_FINISH 0x3025
#define IDD_DIVIDER 0x3026
#define IDD_TOPDIVIDER 0x3027

通过上面的IDD_APPLYNOW,我可以更改按钮上的文本,

Using IDD_APPLYNOW per above I was able to change the text on the button,

SetDlgItemText (hwndPS,0x3021,"Validate");

对其他符号可能是什么没有太多的了解;看起来有些像向导属性表.

Don't have much of an idea what the other symbols might be; look like some are for wizard property sheets.

这篇关于如何更改属性表上的文本“应用"按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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