Hi Mark,
Thanks for your post!
Just as Shawn said in his post, we didn't call DefWndProc in Base.OnPaint
method when the UserPaint flag is set. So if you would like to do some
customizing after the default painting, you need override the WndProc and
handle the WM_PAINT and other messages as you did in native codes, ofcourse
it requires full trust.
Could you also share with us that What effect would you like to get, maybe
some community members have some idea on it.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, "online" should be removed before
sending.