I'm trying to use the technique detailed in
to add a menu to a dialog. Namely,
CCeCommandBar *pCommandBar = (CCeCommandBar*)m_pWndEmptyCB;
The InsertMenuBar call gets an assertion failure due to the CommandBar
having a null m_hWnd. Even if I create a new CommandBar:
m_pbar = new CCeCommandBar();
the CommandBar's m_hWnd is null.
The pointers to the CommandBars in both cases are look like they're
pointing to otherwise-valid objects. Anyone know what's going on?
6. New to .Net
11. Null Connection
12. null modem