You need to handle the complete drawing of the dialog and its not some flag or something. you can try the TransparentBlt function to get the effect.