Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Child process problem [modified] Pin
Member 75496011-Dec-07 5:58
Member 75496011-Dec-07 5:58 
GeneralPutting values in array Pin
vjasai6-Dec-07 1:48
vjasai6-Dec-07 1:48 
GeneralRe: Putting values in array Pin
Cedric Moonen6-Dec-07 2:24
Cedric Moonen6-Dec-07 2:24 
JokeRe: Putting values in array Pin
David Crow6-Dec-07 2:40
David Crow6-Dec-07 2:40 
GeneralRe: Putting values in array Pin
jhwurmbach6-Dec-07 3:48
jhwurmbach6-Dec-07 3:48 
QuestionRe: Putting values in array Pin
David Crow6-Dec-07 2:45
David Crow6-Dec-07 2:45 
GeneralRe: Putting values in array Pin
Maximilien6-Dec-07 3:10
Maximilien6-Dec-07 3:10 
GeneralGetting code page descriptions... Pin
Haroon Sarwar6-Dec-07 1:24
Haroon Sarwar6-Dec-07 1:24 
GeneralRe: Getting code page descriptions... Pin
Nibu babu thomas6-Dec-07 2:27
Nibu babu thomas6-Dec-07 2:27 
GeneralRe: Getting code page descriptions... Pin
Haroon Sarwar6-Dec-07 17:17
Haroon Sarwar6-Dec-07 17:17 
QuestionHow to copy a file from pocket PC to destktop Pin
ni_yuansheng6-Dec-07 0:09
ni_yuansheng6-Dec-07 0:09 
QuestionRe: How to copy a file from pocket PC to destktop Pin
David Crow6-Dec-07 2:47
David Crow6-Dec-07 2:47 
QuestionHow to know through INF file that perticular model is PNP enable. Pin
dubbele onzin6-Dec-07 0:02
dubbele onzin6-Dec-07 0:02 
QuestionHow to find Child Window of another Application? Pin
narayanagvs5-Dec-07 23:50
narayanagvs5-Dec-07 23:50 
QuestionHow to change the background of the slider control Pin
yaminisridaran5-Dec-07 23:23
yaminisridaran5-Dec-07 23:23 
AnswerRe: How to change the background of the slider control Pin
Naveen6-Dec-07 2:10
Naveen6-Dec-07 2:10 
GeneralDrag in CListCtrl, the dragging image doesn't cover the orignal image wholely when start dragging [modified] Pin
followait5-Dec-07 23:21
followait5-Dec-07 23:21 
When begin dragging, them dragging image will offset twards left and up a little to the original one. I'd like the two images (original and dragging) in the same rect at the very begining. Here is the code:

void CDragDropListCtrl::OnBegindrag(NMHDR* pNMHDR, LRESULT* pResult) 
{
	NM_LISTVIEW *pNMListView = (NM_LISTVIEW*)pNMHDR;
	// TODO: Add your control notification handler code here
	SetCapture();
	CImageList *pIL=GetImageList(LVSIL_NORMAL);
	CRect rt;
	GetItemRect(pNMListView->iItem,&rt,LVIR_ICON);
	CPoint pt;
	GetCursorPos(&pt);
	ScreenToClient(&pt);
	pt.x-=rt.left;
	pt.y-=rt.top;
	pIL->BeginDrag(pNMListView->iItem,pt);
	ClientToScreen(&rt);
	pIL->DragEnter(NULL,rt.TopLeft());
	m_Dragging=TRUE;
	*pResult = 0;
}


modified on Thursday, December 06, 2007 5:33:04 AM

GeneralAccess a remote hard disk. Pin
vijay_aroli5-Dec-07 22:52
vijay_aroli5-Dec-07 22:52 
QuestionGet events via CWMPPlayer4 Pin
sleepfox5-Dec-07 22:48
sleepfox5-Dec-07 22:48 
AnswerRe: Get events via CWMPPlayer4 Pin
zandar the great29-Sep-08 10:01
zandar the great29-Sep-08 10:01 
GeneralWhere to submit C++ Games Pin
Vince Rojas5-Dec-07 22:30
Vince Rojas5-Dec-07 22:30 
GeneralRe: Where to submit C++ Games Pin
toxcct5-Dec-07 22:33
toxcct5-Dec-07 22:33 
GeneralRe: Where to submit C++ Games Pin
Vince Rojas5-Dec-07 22:36
Vince Rojas5-Dec-07 22:36 
GeneralRe: Where to submit C++ Games Pin
toxcct5-Dec-07 22:39
toxcct5-Dec-07 22:39 
GeneralRe: Where to submit C++ Games Pin
Vince Rojas5-Dec-07 22:44
Vince Rojas5-Dec-07 22:44 

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.