Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 4:44
lindag178314-May-06 4:44 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler14-May-06 6:13
Gary R. Wheeler14-May-06 6:13 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 15:33
lindag178314-May-06 15:33 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 15:46
lindag178314-May-06 15:46 
GeneralRe: trouble with calculations Pin
Gary R. Wheeler15-May-06 13:00
Gary R. Wheeler15-May-06 13:00 
AnswerRe: trouble with calculations Pin
Stephen Hewitt13-May-06 5:47
Stephen Hewitt13-May-06 5:47 
AnswerRe: trouble with calculations Pin
Saurabh.Garg13-May-06 16:20
Saurabh.Garg13-May-06 16:20 
GeneralRe: trouble with calculations Pin
lindag178313-May-06 21:29
lindag178313-May-06 21:29 
GeneralRe: trouble with calculations Pin
Justin Tay13-May-06 23:59
Justin Tay13-May-06 23:59 
GeneralRe: trouble with calculations Pin
lindag178314-May-06 0:46
lindag178314-May-06 0:46 
GeneralRe: trouble with calculations Pin
Saurabh.Garg14-May-06 15:04
Saurabh.Garg14-May-06 15:04 
Questionmysql database Pin
J512198213-May-06 2:13
J512198213-May-06 2:13 
AnswerRe: mysql database Pin
Hamid_RT13-May-06 3:58
Hamid_RT13-May-06 3:58 
AnswerRe: mysql database Pin
Kleser13-May-06 4:56
Kleser13-May-06 4:56 
Questiongetstdhandle returns INVALID_HANDLE_VALUE Pin
e_prabhu13-May-06 2:02
e_prabhu13-May-06 2:02 
AnswerRe: getstdhandle returns INVALID_HANDLE_VALUE Pin
Hamid_RT13-May-06 5:01
Hamid_RT13-May-06 5:01 
AnswerRe: getstdhandle returns INVALID_HANDLE_VALUE Pin
Ryan Binns13-May-06 22:21
Ryan Binns13-May-06 22:21 
QuestionError in List Box Pin
Anu_Bala13-May-06 1:57
Anu_Bala13-May-06 1:57 
Hi,
In my project i am adding some name and i displayed in ListBox.I can add,edit and delete the name in listbox.Each time i updated my ListBox ny using one function
CTag::UpdateListBox()
{
CTagBase* Temp;
CListBox* mWnd = (CListBox*)GetDlgItem(IDC_LIST_POINT);
mWnd->ResetContent();
POSITION pos = goTagList.GetHeadPosition();
while(pos)
{
Temp = (CTagBase *) goTagList.GetAt(pos);
mWnd->AddString(Temp->GetTagInfo());
goTagList.GetNext(pos);
}
UpdateData(FALSE);
}
In GetTagInfo function
CString CTagAlrmLgt::GetTagInfo()
{
CString TempData;
char Temp[50];
TempData = TagName + (CString)"\t" + (CString) Description + (CString)"\t" + (CString)"\t";
return TempData;
}
This is iam doing in GetTagName.
And the ListBox is loaded with full details.But my problem is when i closed the dialog and when again i opened the dialog,the details are not correct and it shows some different characters.I dont know the reason.
I called UpdateListBox() function in OnInitDialog()
AnswerRe: Error in List Box Pin
Hamid_RT13-May-06 3:32
Hamid_RT13-May-06 3:32 
QuestionCustom media player Pin
anupam113-May-06 0:54
anupam113-May-06 0:54 
AnswerRe: Custom media player Pin
Justin Tay13-May-06 3:02
Justin Tay13-May-06 3:02 
AnswerRe: Custom media player Pin
Hamid_RT13-May-06 3:17
Hamid_RT13-May-06 3:17 
GeneralRe: Custom media player Pin
ThatsAlok13-May-06 4:16
ThatsAlok13-May-06 4:16 
GeneralRe: Custom media player Pin
Hamid_RT13-May-06 4:30
Hamid_RT13-May-06 4:30 
GeneralRe: Custom media player Pin
ThatsAlok14-May-06 22:26
ThatsAlok14-May-06 22:26 

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.