问题描述
BEGIN_DISPATCH_MAP(CEM_OptionCtrl,COleControl)
//{{AFX_DISPATCH_MAP(CEM_OptionCtrl)
DISP_STOCKPROP_BACKCOLOR()
DISP_STOCKPROP_FORECOLOR()
DISP_STOCKPROP_ENABLED()
DISP_STOCKPROP_TEXT()
//}} AFX_DISPATCH_MAP
END_DISPATCH_MAP(
添加Text Stock属性后,我尝试更改Text.
我认为应修改OnTextChanged()方法.
但是我不知道该怎么做.帮我!!请~~
-------------------------------------------------- -------------
谢谢你的回答.
我想念我如何将财产提供给使用它的人.
我的ocx将在Visual Basic中使用,并且text属性将被修改
属性表.
所以我应该使用另一种方式.
救救我吧!
谢谢!
BEGIN_DISPATCH_MAP(CEM_OptionCtrl, COleControl)
//{{AFX_DISPATCH_MAP(CEM_OptionCtrl)
DISP_STOCKPROP_BACKCOLOR()
DISP_STOCKPROP_FORECOLOR()
DISP_STOCKPROP_ENABLED()
DISP_STOCKPROP_TEXT()
//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP(
After add a Text Stock property, and I tried to change a Text.
I think that OnTextChanged() mathod should be modified.
But I don''t know how I can make it. Help me!! Plz~
---------------------------------------------------------------
Thnak u for answer.
I miss how I provide the property to a person who use it.
My ocx will be used visual basic, and text property will be modified
property sheet.
So I shoud use another way.
Help me!!
thank you!
推荐答案
这篇关于如何在ocx中更改按钮文本(或标题)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!