Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Download Management Pin
Mike Dimmick13-Jan-04 2:13
Mike Dimmick13-Jan-04 2:13 
GeneralRe: Download Management Pin
abhinarulkar14-Jan-04 3:40
abhinarulkar14-Jan-04 3:40 
GeneralImporting JPEG in MFC Pin
hurr1can312-Jan-04 21:04
hurr1can312-Jan-04 21:04 
GeneralRe: Importing JPEG in MFC Pin
l a u r e n12-Jan-04 21:17
l a u r e n12-Jan-04 21:17 
GeneralRe: Importing JPEG in MFC Pin
Selvam R12-Jan-04 22:02
professionalSelvam R12-Jan-04 22:02 
GeneralRe: Importing JPEG in MFC Pin
Prakash Nadar13-Jan-04 0:18
Prakash Nadar13-Jan-04 0:18 
QuestionIs there such a API function for thread? Pin
zhaopzhi12-Jan-04 20:33
zhaopzhi12-Jan-04 20:33 
GeneralOdd CEdit Pin
AntonGogolev12-Jan-04 20:30
AntonGogolev12-Jan-04 20:30 
Hello, guys.
Check this out:

<br />
void CCtrlsDlg::OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult) <br />
{<br />
	LPNMITEMACTIVATE pIA = (LPNMITEMACTIVATE)pNMHDR;<br />
	*pResult = 0;<br />
<br />
	if((-1 == (m_nItem = pIA->iItem)) || (0 == (m_nSubitem = pIA->iSubItem))) <br />
		return;<br />
<br />
	CRect rc;<br />
	m_ctrlList.GetSubItemRect(pIA->iItem, pIA->iSubItem, LVIR_BOUNDS, rc);<br />
<br />
	if(!m_pEdit)<br />
		m_pEdit = new CEdit;<br />
<br />
	CString strText = m_ctrlList.GetItemText(m_nItem, m_nSubitem);<br />
<br />
	m_pEdit->Create(WS_CHILD | WS_VISIBLE | WS_BORDER, rc, &m_ctrlList, 12);<br />
	m_pEdit->ModifyStyleEx(0, WS_EX_CLIENTEDGE, 0);<br />
	m_pEdit->SetWindowText(strText);<br />
	m_pEdit->SetSel(0, -1);<br />
	m_pEdit->SetFocus();<br />
}<br />


This whole thing displays an edit box for CListCtrl's subitems, but as CEdit control is created it has some odd look - it looks like edit control from Windows 3.1 rather anything else. Where's the problem?
GeneralRe: Odd CEdit Pin
Paul Hooper12-Jan-04 21:34
Paul Hooper12-Jan-04 21:34 
GeneralModify Registry Data Pin
SiddharthAtw12-Jan-04 20:06
SiddharthAtw12-Jan-04 20:06 
Generalreferer url. Pin
murali_utr12-Jan-04 19:37
murali_utr12-Jan-04 19:37 
GeneralI Got it Pin
murali_utr12-Jan-04 20:12
murali_utr12-Jan-04 20:12 
GeneralWh_Getmessage hook Pin
percyvimal12-Jan-04 19:26
percyvimal12-Jan-04 19:26 
GeneralFace Facial Detection Pin
Goh Hui Beng12-Jan-04 19:21
Goh Hui Beng12-Jan-04 19:21 
GeneralRe: Face Facial Detection Pin
l a u r e n12-Jan-04 21:19
l a u r e n12-Jan-04 21:19 
GeneralScrollbar problems between 2K and 95/98 Pin
ithacanz12-Jan-04 18:30
ithacanz12-Jan-04 18:30 
GeneralRe: Scrollbar problems between 2K and 95/98 Pin
ohadp12-Jan-04 18:57
ohadp12-Jan-04 18:57 
GeneralRe: Scrollbar problems between 2K and 95/98 Pin
ithacanz14-Jan-04 10:19
ithacanz14-Jan-04 10:19 
GeneralRe: Scrollbar problems between 2K and 95/98 Pin
ohadp14-Jan-04 20:14
ohadp14-Jan-04 20:14 
GeneralRe: Scrollbar problems between 2K and 95/98 Pin
ithacanz15-Jan-04 9:57
ithacanz15-Jan-04 9:57 
GeneralTextControl as in MSPaint Pin
swarnamanoo12-Jan-04 18:19
swarnamanoo12-Jan-04 18:19 
General(psapi.h) RemoteAdmin sample Code Pin
~Pete12-Jan-04 16:45
~Pete12-Jan-04 16:45 
GeneralRe: (psapi.h) RemoteAdmin sample Code Pin
Selvam R12-Jan-04 18:35
professionalSelvam R12-Jan-04 18:35 
GeneralRe: (psapi.h) RemoteAdmin sample Code Pin
Anonymous13-Jan-04 14:23
Anonymous13-Jan-04 14:23 
Generalstring var help Pin
trask89912-Jan-04 16:01
trask89912-Jan-04 16:01 

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.