Tips
Thursday, May 10, 2007
How do I draw a bitmap in the background of a dialog?
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
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment