i am makin one..but its hard!
BOOL CFastDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog.
// The framework does this automatically when
// the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
CRect rect(7, 7, 300, 300);
// TODO: Add extra initialization here
m_pDisplay->Create( NULL, //CWnd default
NULL, //has no name
WS_CHILD|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|WS_VISIBLE,
rect,
this, //this is the parent
0); //this should really be a different
// number... check resource.h
return TRUE; // return TRUE unless you set
// the focus to a control
}
plz help me out