Z.K.
2007-11-05 18:31:59 UTC
I am trying to get access to my toolbar with this command form my ViewForm,
but I keep getting the error that it is not a member of CWnd. What am I
doing wrong?
CControlBar *pMyControlBar = (CControlBar
*)::AfxGetMainWnd()->GetControlBar(IDR_MAINFRAME);
Z.K.
but I keep getting the error that it is not a member of CWnd. What am I
doing wrong?
CControlBar *pMyControlBar = (CControlBar
*)::AfxGetMainWnd()->GetControlBar(IDR_MAINFRAME);
Z.K.