May 8th, 1999, 07:57 AM
I've have an ATL ActiveX control in which I've set the m_bAutoSize to TRUE and I've set the extent and natural size. Though when the control's OnDraw is called, it's called with the draw rectangle 1 pixel wider than it should be. I don't know how or why that extra pixel gets there, but I think it has to do with the persistent data initialization.And since the control only draws the correct size, the result looks ugly. Please, anyone who can shed some light on this??
/Rob
/Rob