1
Vote

AutoHide not working on windowsformshost - not repaint background

description

HI, I'm working on Windows 8 and I have found that the AutoHide panel when is opened on a panel with a windowsformshost not works correctly, it seem that the background is not repainted so it is visible the background of the WindosForms control under the autohide control.
Perhaps is a render problem on Windows 8, but I have found a similar problem using the HwndHost even on Windows 7, can you try even the other issue with Id# 15504, and tell me if it's fixable,
Thanks.
I have added 2 image of the sample app, in witch I have painted the background of the Windows Form control with a blue color to me it more clearly visible.

file attachments

comments

mrSteel wrote Jan 12 at 9:10 AM

I have the same problem and don't know how to deal with it (seems still a problem with the latest AD release Dec4/12). If you have found a work-around I'd be happy to hear from you!

mach22 wrote Jan 13 at 11:17 AM

you have to add WS_CLIPCHILDREN | WS_CLIPSIBLINGS in the parameters of the creation of the host window