Spiro Posted March 15, 2004 Posted March 15, 2004 Hi, i'm making my control inherited from System.Windows.Forms.UserControl. In paint event i draw two column headers (i draw from scratch, rectangles and lines). When cursor is on border of those headers it has to change from Arrow to VSplit. I've done this in sub wich handles MyBase.MouseMove and this works fine in runtime. But, ListView control allows changing header width in design mode. My control doesn't fire this event in design mode. Is this possible to do from UserControl? Quote
*Gurus* divil Posted March 15, 2004 *Gurus* Posted March 15, 2004 Override the GetHitTest method in your designer so that area of the control has mouse actions passed to the control and not the designer. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.