Click to See Complete Forum and Search --> : Bitmap background in dialog box


XLOGIC11
June 24th, 2002, 12:25 PM
Windows CE Pocket PC 2002

I'm having a problem getting a bitmap background in a dialog box to display properly. The bitmap displays ok. But where the static dialog controls are the area has not been painted. At first I thought I had WS_CLIPCHILDREN set on (which would cause this problem) but it is not set. The ONCTLCOLOR routine has a HOLLOW_BRUSH which should show the bitmap as the background of the control but instead shows junk from the previous window.

Does Windows CE force WS_CLIPCHILDREN on all dialog boxes? I

Any idea's

Thanks

/Ron

alanr
June 24th, 2002, 12:32 PM
It has been my experience that CE does indeed force WS_CLIPCHILDREN on all dialogs by default.... I have found no way around this, I await anybody else's knowledge on how to do so... I have been tinkering with this for almost a ayear here and there....