April 19th, 1999, 03:49 PM
Hi,
I want to make a dialog with a bitmap on it and an edit box with transparent background.
I tried CMyBitmapDialog::OnCtlColor and pDC->SetBkMode(TRANSPARENT) and return m_HollowBrush but the problem
is that this is not working because when you type some characters than press backspace then Windows uses m_HollowBrush
and nothing will be deleted (== repainted with the background) but repainted with hollow == nothing.
Has anybody solved this problem?
Please give me a help or any link to sample sources.
Thank you very much,
Herbie
I want to make a dialog with a bitmap on it and an edit box with transparent background.
I tried CMyBitmapDialog::OnCtlColor and pDC->SetBkMode(TRANSPARENT) and return m_HollowBrush but the problem
is that this is not working because when you type some characters than press backspace then Windows uses m_HollowBrush
and nothing will be deleted (== repainted with the background) but repainted with hollow == nothing.
Has anybody solved this problem?
Please give me a help or any link to sample sources.
Thank you very much,
Herbie