When I draw an image to a dialog using GDI+, controls are covered by the image
C / C++ / MFC
5
Posts
4
Posters
0
Views
1
Watching
-
When I click them, they become visible again.
void CMyDlg::OnPaint()
{
...
Graphics g(GetSafeHwnd());
g.DrawImage(m_pMemBmp,0,0);
} -
When I click them, they become visible again.
void CMyDlg::OnPaint()
{
...
Graphics g(GetSafeHwnd());
g.DrawImage(m_pMemBmp,0,0);
}I don't have any great experience with GDI+ as such, but it may help if you tick the "Clip children" style for your dialog box. Iain.
-
When I click them, they become visible again.
void CMyDlg::OnPaint()
{
...
Graphics g(GetSafeHwnd());
g.DrawImage(m_pMemBmp,0,0);
} -
I don't have any great experience with GDI+ as such, but it may help if you tick the "Clip children" style for your dialog box. Iain.