|
-
June 24th, 2002, 02:22 AM
#1
"Edit" based control in ATL
Hi all
I am describing a problem in the following, it might seem to you as very trivial, but any hint/link in this regard would be much usefull; and would be welcome.
On the basis of "code reuse" thinking I am trying hard to make an ActiveX control (in ATL Wizard Jargon: a full control) based on Edit control i.e. when wizard asks on which already present control do you want your control to base? the answer is "Edit".
This may be thought as an effort to duplicate the Edit Control available in Visual Basic (however it is not; but very close to it).
I was hoping to get most of the functionality of edit control within this ActiveX control. As far as usual look and feel is concerned, it is such.
In the very begining, being in the same ATL Wizard it offered some stock properties to support, and I selected "Text." But no matter how hard I tried this stock "Text" property never worked the way one anticipate. In fact it didn't work at all.
Note: Any hint where (if) am I confused about stock properties?
Then I implemented this "Text" property from scratch. And apparantly it worked.
Later, during testing this control in VB, I noticed that any text written during design time is not displayed at run time.
Any hint what am I doing wrong? Or if I am misguided somewhere?
TIA
Kamran
Last edited by mksh68; June 24th, 2002 at 02:24 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|