Code Comments
Programming Forum and web based access to our favorite programming groups.Hi! I got a resizeable window (windows forms), and I'd like to paint the borders myself but keep the resizable borders working. Now I could set the borderstyle to none and do all the work (changing cursor when over border, resizing in different directions regarding where one clicks and moves), but I'd be rather happy if there would be a way just to change how the border looks but keep windows doing the work. Is there a way to change the looks of the resizable border without changing the feel? Thanks, Sam
Post Follow-up to this messageYou need to override the WndProc() method of your control and handle the NC_PAINT method. There should be more than enough out there for you to figure it out. Just Google up "WndProc NC_PAINT C#" Or something like that... you'll find what you're looking for.
Post Follow-up to this messageYou need to override the WndProc() method of your control and handle the NC_PAINT method. There should be more than enough out there for you to figure it out. Just Google up "WndProc NC_PAINT C#" Or something like that... you'll find what you're looking for.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.