downhiller80
Platinum Member
OK very VERY basic programming here. I'm trying to remember the basics! Been too long . . .
void CMyPicDlg:😱nSize(UINT nType, int cx, int cy)
{
CDialog:😱nSize(nType, cx, cy);
////// MY CODE
m_bmp.SetWindowPos(NULL,0,0,cx,cy,NULL);
////// MY CODE
}
m_bmp is variable for a Tegosoft BMP ActiveX object.
Why when I run this do I get a Debug assertion error in line 290 of winocc.cpp?
Hell what IS a debug assertion error 🙂
Cheers
Seb
void CMyPicDlg:😱nSize(UINT nType, int cx, int cy)
{
CDialog:😱nSize(nType, cx, cy);
////// MY CODE
m_bmp.SetWindowPos(NULL,0,0,cx,cy,NULL);
////// MY CODE
}
m_bmp is variable for a Tegosoft BMP ActiveX object.
Why when I run this do I get a Debug assertion error in line 290 of winocc.cpp?
Hell what IS a debug assertion error 🙂
Cheers
Seb