Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mouse hook conversion error Pin
_tasleem7-Jul-06 0:24
_tasleem7-Jul-06 0:24 
QuestionRemote File Copying [modified] Pin
shibumong6-Jul-06 23:40
shibumong6-Jul-06 23:40 
AnswerRe: Remote File Copying Pin
David Crow7-Jul-06 3:18
David Crow7-Jul-06 3:18 
Questionhow to get the selected item from listbox. Pin
Amit Agarrwal6-Jul-06 23:11
Amit Agarrwal6-Jul-06 23:11 
AnswerRe: how to get the selected item from listbox. Pin
jalsa G6-Jul-06 23:20
jalsa G6-Jul-06 23:20 
GeneralRe: how to get the selected item from listbox. Pin
Amit Agarrwal7-Jul-06 1:06
Amit Agarrwal7-Jul-06 1:06 
GeneralRe: how to get the selected item from listbox. Pin
David Crow7-Jul-06 3:19
David Crow7-Jul-06 3:19 
QuestionCDialog and CPropertyPage Pin
Anu_Bala6-Jul-06 23:06
Anu_Bala6-Jul-06 23:06 
Hi i have issue that i created one dialog as CGraphconf and then i invoke this dialog by using button.It works properly and i configured the things.I have 2 more dialogs of this kind.So, i planned to combine these three in to propertypage.So, i did.But assertion error occurs in DoModal() of propertySheet class.
Just i commented all the things in OnInitDialog() in CGraphconf.
Then it works properly.When i remove this comments it again give assertion error.BOOL CGraphPageConf::OnInitDialog()
{
CPropertyPage::OnInitDialog();
CString GStr;
CComboBox cb1,*cb2,*cb3;
cb1 = (CComboBox*)GetDlgItem(IDC_BOXDETAIL1);
cb2 = (CComboBox*)GetDlgItem(IDC_BOXDETAIL2);
cb3 = (CComboBox*)GetDlgItem(IDC_BOXDETAIL3);
GStr="EMPTY";
cb1->AddString(GStr); cb2->AddString(GStr);
cb3->AddString(GStr);
ReadGraphicsPageConfigFile();

if(goGroupList.IsEmpty())
ReadGroupDataBase();
if(OTrendList.IsEmpty())
ReadTrendDataBase();
POSITION Pos=goGroupList.GetHeadPosition();
while(Pos)
{
GStr.Format("GROUP%02d",((CGroupInfo *)goGroupList.GetAt(Pos))->GetGroupNo());
cb1->AddString(GStr);
cb2->AddString(GStr);
cb3->AddString(GStr); goGroupList.GetNext(Pos);
}

Pos=OTrendList.GetHeadPosition();
while(Pos)
{
GStr.Format("TREND%02d",((CTrendInfo *)OTrendList.GetAt(Pos))->GetPageNo());
cb1->AddString(GStr);
cb2->AddString(GStr);
cb3->AddString(GStr); OTrendList.GetNext(Pos);
}
return TRUE; }
This is that OnInitDialog() function in my dialog.
AnswerRe: CDialog and CPropertyPage Pin
Justin Tay6-Jul-06 23:19
Justin Tay6-Jul-06 23:19 
GeneralRe: CDialog and CPropertyPage Pin
huynhnb7-Jul-06 0:40
huynhnb7-Jul-06 0:40 
QuestionC++ App and USB Device Pin
phyrex6-Jul-06 23:02
phyrex6-Jul-06 23:02 
AnswerRe: C++ App and USB Device Pin
phyrex6-Jul-06 23:04
phyrex6-Jul-06 23:04 
GeneralRe: C++ App and USB Device Pin
Steve S6-Jul-06 23:29
Steve S6-Jul-06 23:29 
GeneralRe: C++ App and USB Device Pin
phyrex6-Jul-06 23:34
phyrex6-Jul-06 23:34 
QuestionCallBack in C++ class Pin
Daniel Kanev6-Jul-06 22:50
Daniel Kanev6-Jul-06 22:50 
AnswerRe: CallBack in C++ class Pin
Naveen6-Jul-06 23:05
Naveen6-Jul-06 23:05 
GeneralRe: CallBack in C++ class Pin
Daniel Kanev6-Jul-06 23:24
Daniel Kanev6-Jul-06 23:24 
GeneralRe: CallBack in C++ class Pin
Naveen6-Jul-06 23:26
Naveen6-Jul-06 23:26 
GeneralRe: CallBack in C++ class Pin
ThatsAlok7-Jul-06 0:33
ThatsAlok7-Jul-06 0:33 
GeneralRe: CallBack in C++ class Pin
Daniel Kanev7-Jul-06 1:07
Daniel Kanev7-Jul-06 1:07 
AnswerRe: CallBack in C++ class Pin
Justin Tay6-Jul-06 23:14
Justin Tay6-Jul-06 23:14 
GeneralRe: CallBack in C++ class Pin
Daniel Kanev7-Jul-06 1:06
Daniel Kanev7-Jul-06 1:06 
AnswerRe: CallBack in C++ class Pin
David Crow7-Jul-06 3:23
David Crow7-Jul-06 3:23 
QuestionClass communication Pin
HakunaMatada6-Jul-06 22:41
HakunaMatada6-Jul-06 22:41 
AnswerRe: Class communication Pin
ThatsAlok6-Jul-06 22:57
ThatsAlok6-Jul-06 22:57 

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.