【LibUIDK界面库系列文章】RC控件语法



作者:刘树伟


MSDN资源:
ms-help://MS.MSDNQTR.v90.en/tools/tools/resource_definition_statements.htm
资源定义,列出了各种资源、控件的名称。点击名称,可以查看相应名称的语法。
索引关键字:resource compiler, resource-definition statements

下面是整理的控件语法:
DEFPUSHBUTTON  text, id, x, y, width, height [, style [, extended-style]]
PUSHBUTTON  text, id, x, y, width, height [[, style [[, extended-style]]]]
LTEXT   text, id, x, y, width, height [[, style [[, extended-style]]]]
CTEXT   text, id, x, y, width, height [, style [, extended-style]]
RTEXT   text, id, x, y, width, height [[, style [[, extended-style]]]]
GROUPBOX  text, id, x, y, width, height [[, style [[, extended-style]]]]
AUTO3STATE  text, id, x, y, width, height [, style [, extended-style]] // 由VC保存后,会自动转成CONTROL(class为"Button")类型。
AUTOCHECKBOX  text, id, x, y, width, height [, style [, extended-style]]
AUTORADIOBUTTON text, id, x, y, width, height [, style [, extended-style]]
CHECKBOX  text, id, x, y, width, height [, style [, extended-style]]
PUSHBOX  text, id, x, y, width, height [[, style [[, extended-style]]]]
RADIOBUTTON  text, id, x, y, width, height [[, style [[, extended-style]]]]
STATE3   text, id, x, y, width, height [[, style [[, extended-style]]]]

ICON   text, id, x, y, [[width, height, style [[, extended-style]]]]


EDITTEXT  id, x, y, width, height [[, style [[, extended-style]]]]
COMBOBOX  id, x, y, width, height [, style [, extended-style]]
LISTBOX  id, x, y, width, height [[, style [[, extended-style]]]]
SCROLLBAR  text, id, x, y, width, height [[, style [[, extended-style]]]] // 但实际上,没有text参数。


CONTROL  text, id, class, style, x, y, width, height [, extended-style]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值