chris b
May 28th, 1999, 11:08 AM
I am writing an app using MFC. I created a class:
CFormCommandView derived from CFormView. I want to embed a slider control in it. I did it using a Class Wizard, but obviously something is wrong - when I call SetRange I get an 'assertion failed' notice - it looks like my slider is not attached to any window - ASSERT(::IsWindow(m_hWnd)) fails.
What's wrong? MSDN says I do not have to call Create when I use Wizard.
Thank you very much in advance!
CFormCommandView derived from CFormView. I want to embed a slider control in it. I did it using a Class Wizard, but obviously something is wrong - when I call SetRange I get an 'assertion failed' notice - it looks like my slider is not attached to any window - ASSERT(::IsWindow(m_hWnd)) fails.
What's wrong? MSDN says I do not have to call Create when I use Wizard.
Thank you very much in advance!