Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory buffer size Pin
hatemtalbi26-Jun-06 3:30
hatemtalbi26-Jun-06 3:30 
QuestionRe: Memory buffer size Pin
David Crow26-Jun-06 3:46
David Crow26-Jun-06 3:46 
AnswerRe: Memory buffer size Pin
hatemtalbi26-Jun-06 3:48
hatemtalbi26-Jun-06 3:48 
GeneralRe: Memory buffer size Pin
David Crow26-Jun-06 3:50
David Crow26-Jun-06 3:50 
GeneralRe: Memory buffer size Pin
hatemtalbi26-Jun-06 3:53
hatemtalbi26-Jun-06 3:53 
QuestionHow to create CTabCtrl with dialog as laying Pin
NoName II26-Jun-06 2:29
NoName II26-Jun-06 2:29 
AnswerRe: How to create CTabCtrl with dialog as laying Pin
Hamid_RT26-Jun-06 2:41
Hamid_RT26-Jun-06 2:41 
GeneralRe: How to create CTabCtrl with dialog as laying Pin
NoName II26-Jun-06 23:06
NoName II26-Jun-06 23:06 
did as u say....



CMyDialog *MyDialog;//in MainDlg header file
MyDialog = new CMyDialog; //in mainDlg constructor

CMainDlg::OnInitDialog{
TC_ITEM TabItem;
TabItem.mask = TCIF_TEXT;
TabItem.pszText = _T("111111");
m_tabctrl.InsertItem( 0, &TabItem );
TabItem.mask = TCIF_PARAM;
TabItem.lParam = (LPARAM)MyDialog;
m_tabctrl.SetItem(0, &TabItem);
VERIFY(MyDialog->Create(CMyDialog::IDD, &m_tabctrl));
MyDialog->ShowWindow(SW_SHOW);
}




CMyDialog constructor
CMyDialog::CMyDialog(CWnd* pParent /*=NULL*/)
: CDialog(CMyDialog::IDD, pParent)
{
/*this->Create(CThumbViewDlg::IDD, pParent);
this->ShowWindow(SW_NORMAL);*/

}



error in HWND CDataExchange::PrepareCtrl
if (pSite == NULL)
{
TRACE(traceAppMsg, 0, "Error: no data exchange control with ID 0x%04X.\n", nIDC);
ASSERT(FALSE);
AfxThrowNotSupportedException();//<-------------------------------------|
}
GeneralRe: How to create CTabCtrl with dialog as laying Pin
Hamid_RT27-Jun-06 1:40
Hamid_RT27-Jun-06 1:40 
AnswerRe: How to create CTabCtrl with dialog as laying Pin
Sarath C26-Jun-06 2:42
Sarath C26-Jun-06 2:42 
AnswerRe: How to create CTabCtrl with dialog as laying Pin
Zac Howland26-Jun-06 4:10
Zac Howland26-Jun-06 4:10 
AnswerRe: How to create CTabCtrl with dialog as laying Pin
Sam Hobbs26-Jun-06 14:02
Sam Hobbs26-Jun-06 14:02 
QuestionWhat is wrong with this? Pin
James R. Twine26-Jun-06 2:27
James R. Twine26-Jun-06 2:27 
AnswerRe: What is wrong with this? Pin
Sarath C26-Jun-06 2:39
Sarath C26-Jun-06 2:39 
JokeRe: What is wrong with this? Pin
James R. Twine26-Jun-06 2:45
James R. Twine26-Jun-06 2:45 
GeneralRe: What is wrong with this? Pin
Zac Howland26-Jun-06 4:15
Zac Howland26-Jun-06 4:15 
JokeRe: What is wrong with this? Pin
James R. Twine26-Jun-06 4:56
James R. Twine26-Jun-06 4:56 
AnswerRe: What is wrong with this? [modified] Pin
Viorel.26-Jun-06 2:47
Viorel.26-Jun-06 2:47 
JokeRe: What is wrong with this? Pin
James R. Twine26-Jun-06 3:02
James R. Twine26-Jun-06 3:02 
GeneralRe: What is wrong with this? [modified] Pin
ovidiucucu26-Jun-06 3:43
ovidiucucu26-Jun-06 3:43 
JokeRe: What is wrong with this? Pin
James R. Twine26-Jun-06 5:02
James R. Twine26-Jun-06 5:02 
AnswerRe: What is wrong with this? Pin
ovidiucucu26-Jun-06 3:35
ovidiucucu26-Jun-06 3:35 
AnswerRe: What is wrong with this? Pin
Sarath C26-Jun-06 3:48
Sarath C26-Jun-06 3:48 
GeneralRe: What is wrong with this? Pin
Naveen26-Jun-06 3:52
Naveen26-Jun-06 3:52 
GeneralRe: What is wrong with this? Pin
Sarath C26-Jun-06 4:25
Sarath C26-Jun-06 4:25 

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.