Click here to Skip to main content
15,924,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to resolve Regsvr32 Error? Pin
Franz Klein22-Nov-04 2:43
Franz Klein22-Nov-04 2:43 
GeneralRe: How to resolve Regsvr32 Error? Pin
Antony M Kancidrowski22-Nov-04 4:58
Antony M Kancidrowski22-Nov-04 4:58 
Generalhelp in DrawItem() Pin
Tripura.K21-Nov-04 21:29
Tripura.K21-Nov-04 21:29 
Generalto wake up lcd Pin
chels21-Nov-04 21:17
chels21-Nov-04 21:17 
Generaltab control in vc++ Pin
vc-programmer-21-Nov-04 20:56
vc-programmer-21-Nov-04 20:56 
GeneralRe: tab control in vc++ Pin
Yulianto.21-Nov-04 21:14
Yulianto.21-Nov-04 21:14 
GeneralRe: tab control in vc++ Pin
vc-programmer-21-Nov-04 21:36
vc-programmer-21-Nov-04 21:36 
GeneralRe: tab control in vc++ Pin
vc-programmer-21-Nov-04 22:28
vc-programmer-21-Nov-04 22:28 
>>>>>>>>>>>>>>>This is my error>>>>>>>>>>>>>>
MyTabCtrl.cpp(54) : error C2275: 'CMyTabDlg' :
illegal use of this type as an expression
MyTabdlg.h(13) :
see declaration of CMyTabDlg'



>>>>>>>>>>>>>>>This is My code>>>>>>>>>>>>>>>>

//MyTabCtrl.cpp
CDialog *m_tabPages[2];

//MyTabCtrl.cpp
void CMyTabCtrl::Init()
{
m_tabCurrent=0;

m_tabPages[0]->Create(CBiometric_TabDlg,this);
//what i use parameter
m_tabPages[1]->Create(CBiometric_TabDlg,this);

m_tabPages[0]->ShowWindow(SW_SHOW);
m_tabPages[1]->ShowWindow(SW_HIDE);

SetRectangle();
}

//MyView.h
CMyTabCtrl m_tab;

//MyView.cpp
void CMyView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
m_tab.InsertItem(0, _T("One"));
m_tab.InsertItem(1, _T("Two"));
m_tab.Init();
}


GeneralCHtmlView Pin
alex.barylski21-Nov-04 20:13
alex.barylski21-Nov-04 20:13 
GeneralRe: CHtmlView Pin
BaldwinMartin23-Nov-04 10:14
BaldwinMartin23-Nov-04 10:14 
Generalsend and receive a byte Pin
chels21-Nov-04 20:11
chels21-Nov-04 20:11 
GeneralRe: send and receive a byte Pin
BaldwinMartin23-Nov-04 10:15
BaldwinMartin23-Nov-04 10:15 
Generalprogramming lcd Pin
chels21-Nov-04 19:01
chels21-Nov-04 19:01 
GeneralRe: programming lcd Pin
Ryan Binns21-Nov-04 19:53
Ryan Binns21-Nov-04 19:53 
GeneralVisual C++ 6.0 Pin
max_gundam1521-Nov-04 16:29
max_gundam1521-Nov-04 16:29 
GeneralRe: Visual C++ 6.0 Pin
ThatsAlok21-Nov-04 17:32
ThatsAlok21-Nov-04 17:32 
GeneralFind your apps path Pin
Don1221-Nov-04 15:27
Don1221-Nov-04 15:27 
GeneralRe: Find your apps path Pin
Jack Puppy21-Nov-04 16:19
Jack Puppy21-Nov-04 16:19 
GeneralPicture Problem Pin
Kehllendros21-Nov-04 15:27
Kehllendros21-Nov-04 15:27 
GeneralRe: Picture Problem Pin
BaldwinMartin23-Nov-04 10:18
BaldwinMartin23-Nov-04 10:18 
GeneralFind your apps path Pin
Don1221-Nov-04 15:19
Don1221-Nov-04 15:19 
GeneralRe: Find your apps path Pin
ThatsAlok21-Nov-04 17:21
ThatsAlok21-Nov-04 17:21 
GeneralRe: Find your apps path Pin
BaldwinMartin23-Nov-04 10:24
BaldwinMartin23-Nov-04 10:24 
GeneralIterations with GUI's in Windows Pin
vsapuy21-Nov-04 15:00
vsapuy21-Nov-04 15:00 
GeneralIrda Com port without MFC Pin
jhop@earthling.net21-Nov-04 12:04
jhop@earthling.net21-Nov-04 12:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.