Click here to Skip to main content
16,014,662 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC: How to disable toolbar buttons Pin
progDes11-Sep-07 7:15
progDes11-Sep-07 7:15 
QuestionIVMRWindowlessControl:: RepaintVideo Pin
P e t e r11-Sep-07 2:49
P e t e r11-Sep-07 2:49 
AnswerRe: IVMRWindowlessControl:: RepaintVideo Pin
carrivick11-Sep-07 10:49
carrivick11-Sep-07 10:49 
QuestionCListCtrl problem Pin
josip cagalj11-Sep-07 2:19
josip cagalj11-Sep-07 2:19 
AnswerRe: CListCtrl problem Pin
Mark Salsbery11-Sep-07 7:03
Mark Salsbery11-Sep-07 7:03 
GeneralRe: CListCtrl problem [modified] Pin
josip cagalj11-Sep-07 21:39
josip cagalj11-Sep-07 21:39 
GeneralRe: CListCtrl problem Pin
Mark Salsbery12-Sep-07 6:28
Mark Salsbery12-Sep-07 6:28 
AnswerRe: CListCtrl problem Pin
Nelek11-Sep-07 23:05
protectorNelek11-Sep-07 23:05 
In my last project I was using a CListCtrl with dinamic number of rows and columns. I managed the selection of a click with...

void CMyTabView::OnClickTab(NMHDR* pNMHDR, LRESULT* pResult) 
{	POSITION pos = m_clcTabList.GetFirstSelectedItemPosition();
	if (!pos)
	{	m_nRowNum = -1;
		UpdateData (FALSE);
	}
	
	while (pos)
	{	int nPos = m_clcTabList.GetNextSelectedItem(pos);
		m_nRowNum = nPos;
		UpdateData (FALSE);
	}

	Invalidate ();			UpdateWindow ();
	*pResult = 0;
	return;
}


Hope it helps

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

QuestionUnable to connect to Named Pipe Pin
nagadravid11-Sep-07 1:44
nagadravid11-Sep-07 1:44 
AnswerRe: Unable to connect to Named Pipe Pin
KarstenK11-Sep-07 1:58
mveKarstenK11-Sep-07 1:58 
GeneralRe: Unable to connect to Named Pipe Pin
nagadravid11-Sep-07 4:19
nagadravid11-Sep-07 4:19 
QuestionRe: Unable to connect to Named Pipe Pin
Mark Salsbery11-Sep-07 7:06
Mark Salsbery11-Sep-07 7:06 
AnswerRe: Unable to connect to Named Pipe Pin
nagadravid11-Sep-07 8:56
nagadravid11-Sep-07 8:56 
GeneralRe: Unable to connect to Named Pipe Pin
carrivick11-Sep-07 10:37
carrivick11-Sep-07 10:37 
GeneralRe: Unable to connect to Named Pipe Pin
nagadravid11-Sep-07 19:02
nagadravid11-Sep-07 19:02 
GeneralRe: Unable to connect to Named Pipe Pin
carrivick12-Sep-07 0:49
carrivick12-Sep-07 0:49 
GeneralRe: Unable to connect to Named Pipe Pin
KarstenK11-Sep-07 20:21
mveKarstenK11-Sep-07 20:21 
Question"Please enter a number" - Dialog Pin
RajiRaghu11-Sep-07 1:43
RajiRaghu11-Sep-07 1:43 
AnswerRe: "Please enter a number" - Dialog Pin
Hamid_RT11-Sep-07 1:54
Hamid_RT11-Sep-07 1:54 
GeneralRe: "Please enter a number" - Dialog Pin
RajiRaghu11-Sep-07 2:21
RajiRaghu11-Sep-07 2:21 
AnswerRe: "Please enter a number" - Dialog Pin
Nishad S11-Sep-07 2:12
Nishad S11-Sep-07 2:12 
GeneralRe: "Please enter a number" - Dialog Pin
RajiRaghu11-Sep-07 2:23
RajiRaghu11-Sep-07 2:23 
GeneralRe: "Please enter a number" - Dialog Pin
Nishad S11-Sep-07 2:39
Nishad S11-Sep-07 2:39 
AnswerRe: "Please enter a number" - Dialog Pin
David Crow11-Sep-07 3:01
David Crow11-Sep-07 3:01 
QuestionHow to prevent copying a file Pin
nps_ltv11-Sep-07 0:22
nps_ltv11-Sep-07 0:22 

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.