|
-
October 21st, 1999, 11:59 AM
#1
Subclassing controls
I am trying to write an OCX that subclasses an editbox. If I want to reposition the editbox so I can place a label in front of the control (via DrawText), how/where do I do this?
Thanks,
Chris Larmay
-
October 21st, 1999, 01:13 PM
#2
Me too
I would also like information about how to move/resize the edit control area for activex controls which subclass the edit control. I've already tried changing the CREATESTRUCT cx, cy, x, and y values passed via PreCreateWindow() and also tried deflating the CRect passed into DoSuperclassPaint() in the OnDraw() method without luck.
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
|