Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!
Posted
Updated 22-Feb-10 19:49pm
v3

1 solution

Asin the text to SetText PROPERTY.

.SetText="text"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900