I am invoking a create font dialog and after the user presses O.K.
I try to read out the selected font:
result = fontDialog.DoModal ()
if (result == IDOK)
The call to GetCurrentFont however results in a failed assertion
ASSERT(m_hWnd != NULL).
According to the documentation this function is intended to be called
after the user has pressed o.k. and the dialog is destroyed. So I cannot
understand the assertion.
Can you explain me whether this is right or wrong?