How do I draw a bitmap in the background of a dialog?
The trick is to override the OnEraseBkgnd handler. Here's one way of doing it:
BOOL CTestbed2Dlg::OnEraseBkgnd(CDC* pDC)
{
//if u load the bitmap in pDC using BitBlt() fn
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment