Mainfrm and xxxView
iapishy vot takyiu strochky v CxxxView:
int position = ((CMainFrame *) AfxGetMainWnd( )) ->m_wndSlideCtrl.GetPos() ;
a on mne daiot oshibky :
error C2065: 'CMainFrame' : undeclared identifier
error C2059: syntax error : ')'
shtoeto maglo bi bit'????
Pamogite pogalysta
#include "mainfrm.h"
:)