Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++6 Pin
Jijo.Raj28-Aug-08 2:51
Jijo.Raj28-Aug-08 2:51 
GeneralRe: Visual C++6 Pin
susanne128-Aug-08 3:17
susanne128-Aug-08 3:17 
QuestionRe: Visual C++6 Pin
David Crow28-Aug-08 3:27
David Crow28-Aug-08 3:27 
GeneralRe: Visual C++6 Pin
Jijo.Raj28-Aug-08 3:29
Jijo.Raj28-Aug-08 3:29 
AnswerRe: Visual C++6 Pin
super_ttd28-Aug-08 7:33
super_ttd28-Aug-08 7:33 
GeneralRe: Visual C++6 Pin
susanne128-Aug-08 21:26
susanne128-Aug-08 21:26 
GeneralRe: Visual C++6 Pin
super_ttd30-Aug-08 23:29
super_ttd30-Aug-08 23:29 
QuestionCListCTrl Hyperlink Problem Pin
Dhiraj kumar Saini28-Aug-08 2:03
Dhiraj kumar Saini28-Aug-08 2:03 
Hi,

I am using ClistCtrl Control with two column one displays the URL and the other displays the time.
I want that the url should appear as a hyperlink rather than a normal text and on clicking it the specified url should open in a browser

The code is as follows:

void CGetFootDlg::GetFootPrintURL(int n,CString strResponseFootPrints,CString g_strDelimFLD)
{
if(n>-1)
{
if(strResponseFootPrints.IsEmpty())
return;
CStringArray* ptrstrArray = CParser::Parse(strResponseFootPrints,g_strDelimFLD);

int j=ptrstrArray->GetSize()-1;
TCHAR szName[] = _T("Sandra C. Anschwitz");
::IsWindow(m_lstGetFootPrints.m_hWnd);
for(int i=0; i<ptrstrarray->GetSize(); i++)
{
LV_ITEM lvItem;
ZeroMemory(&lvItem, sizeof(LVITEM));
lvItem.mask = LVIF_TEXT;
lvItem.iSubItem = 0;
lvItem.iItem = i;
lvItem.pszText = szName;
lvItem.iImage = 0;

int nItem=m_lstGetFootPrints.InsertItem(i,szName);
int start=0,end=0,len;
CString str,strFPurl,strFDuration;
str=ptrstrArray->GetAt(i);
strFPurl=strFDuration=str;
len=str.GetLength();
end=strFPurl.Find(' ',0);
strFPurl=strFPurl.Mid(0,end);
start=strFDuration.Find(':',end+1);
strFDuration=strFDuration.Mid(start+1,len-1);

m_lstGetFootPrints.SetItemText(nItem,0,strFPurl);
m_lstGetFootPrints.SetItemText(nItem,1,strFDuration);
}
}
}

Can anyone help me.
Thanks

Dhiraj Kumar Saini
AnswerRe: CListCTrl Hyperlink Problem Pin
Nibu babu thomas28-Aug-08 2:40
Nibu babu thomas28-Aug-08 2:40 
QuestionKeyboard and Mouse State Pin
Alan Chambers28-Aug-08 1:58
Alan Chambers28-Aug-08 1:58 
AnswerRe: Keyboard and Mouse State Pin
Nibu babu thomas28-Aug-08 2:38
Nibu babu thomas28-Aug-08 2:38 
GeneralRe: Keyboard and Mouse State Pin
Alan Chambers28-Aug-08 4:09
Alan Chambers28-Aug-08 4:09 
Questionshared memeory concepts in windows Pin
manju23reddy28-Aug-08 1:52
manju23reddy28-Aug-08 1:52 
AnswerRe: shared memeory concepts in windows Pin
Rajesh R Subramanian28-Aug-08 1:58
professionalRajesh R Subramanian28-Aug-08 1:58 
AnswerRe: shared memeory concepts in windows Pin
Jijo.Raj28-Aug-08 2:54
Jijo.Raj28-Aug-08 2:54 
Questionerror calling in dll Pin
VCProgrammer28-Aug-08 1:07
VCProgrammer28-Aug-08 1:07 
AnswerRe: error calling in dll Pin
Mark Salsbery28-Aug-08 5:55
Mark Salsbery28-Aug-08 5:55 
QuestionClient-Server program Pin
nisha0000028-Aug-08 0:49
nisha0000028-Aug-08 0:49 
AnswerRe: Client-Server program [modified] Pin
onlyjaypatel28-Aug-08 1:27
onlyjaypatel28-Aug-08 1:27 
AnswerRe: Client-Server program Pin
Jijo.Raj28-Aug-08 2:39
Jijo.Raj28-Aug-08 2:39 
AnswerRe: Client-Server program Pin
Hamid_RT28-Aug-08 23:06
Hamid_RT28-Aug-08 23:06 
QuestionHaving problem in figuring out the logic (c++) Pin
raesa28-Aug-08 0:35
raesa28-Aug-08 0:35 
AnswerRe: Having problem in figuring out the logic (c++) Pin
Cedric Moonen28-Aug-08 0:49
Cedric Moonen28-Aug-08 0:49 
GeneralRe: Having problem in figuring out the logic (c++) Pin
raesa28-Aug-08 0:57
raesa28-Aug-08 0:57 
GeneralRe: Having problem in figuring out the logic (c++) Pin
Cedric Moonen28-Aug-08 2:04
Cedric Moonen28-Aug-08 2: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.