M
M O J O
(using VB.net)
Hi,
I've created my own component inheriting from the RichTextBox.
I override the WndProc's WM_NCPAINT so I can draw my own border (color).
When I set my BorderColor property, then I want to refresh my component
to draw the new bordercolor.
I've tried with invalidate and refresh, but none of those make the
WndProc's WM_NCPAINT to be called.
How do I make the WndProc's WM_NCPAINT to be called in my component?
Thanks!
M O J O
Hi,
I've created my own component inheriting from the RichTextBox.
I override the WndProc's WM_NCPAINT so I can draw my own border (color).
When I set my BorderColor property, then I want to refresh my component
to draw the new bordercolor.
I've tried with invalidate and refresh, but none of those make the
WndProc's WM_NCPAINT to be called.
How do I make the WndProc's WM_NCPAINT to be called in my component?
Thanks!
M O J O