A
anand
Hi All,
Are ownerdraw buttons supported in C# ?
I have an active X control which I would like to use in CSharp.
Buttons have a style BS_OWNERDRAW, and to do custom drawing you have
to handle WM_DRAWITEM message. It works greate in all languages except
CSharp and VB.net.
As soon as I change the style of the window (by chanding a property of
the Active X control) to BS_OWNERDRAW, it crashes with a NULL pointer
exception.
Any ideas?
Thanks in advance
Anand
Are ownerdraw buttons supported in C# ?
I have an active X control which I would like to use in CSharp.
Buttons have a style BS_OWNERDRAW, and to do custom drawing you have
to handle WM_DRAWITEM message. It works greate in all languages except
CSharp and VB.net.
As soon as I change the style of the window (by chanding a property of
the Active X control) to BS_OWNERDRAW, it crashes with a NULL pointer
exception.
Any ideas?
Thanks in advance
Anand