Click here to Skip to main content
15,892,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Suggest a fast way to do? Pin
Richard MacCutchan17-Oct-11 23:13
mveRichard MacCutchan17-Oct-11 23:13 
GeneralRe: Suggest a fast way to do? Pin
Erudite_Eric18-Oct-11 1:09
Erudite_Eric18-Oct-11 1:09 
GeneralRe: Suggest a fast way to do? Pin
john563218-Oct-11 1:26
john563218-Oct-11 1:26 
GeneralRe: Suggest a fast way to do? Pin
Erudite_Eric18-Oct-11 20:12
Erudite_Eric18-Oct-11 20:12 
GeneralRe: Suggest a fast way to do? Pin
Richard MacCutchan18-Oct-11 2:41
mveRichard MacCutchan18-Oct-11 2:41 
QuestionCrashing problem in Report control Pin
Amrit Agr16-Oct-11 20:25
Amrit Agr16-Oct-11 20:25 
AnswerRe: Crashing problem in Report control Pin
_AnsHUMAN_ 16-Oct-11 20:51
_AnsHUMAN_ 16-Oct-11 20:51 
QuestionHow to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 7:30
_Flaviu15-Oct-11 7:30 
I have a dialog form, where I have an listctrl. On listcontrol set focus handler, I need to send a click message, like I would click on listcontrol. I try in follow way, but didn't work it

C++
void CMyPage::OnSetfocusListFeature(NMHDR* pNMHDR, LRESULT* pResult) 
{
	// TODO: Add your control notification handler code here

	NMHDR nmh;
	nmh.code = NM_CLICK;
	nmh.idFrom = m_ListFeature.GetDlgCtrlID();
	nmh.hwndFrom = m_hWnd;
	SendMessage(WM_NOTIFY,0,(LPARAM)&nmh);

	*pResult = 0;
}


... can you tell me hat i'm doing wrong ?
AnswerRe: How to send a click message to an listctrl ? Pin
MartyTPS15-Oct-11 16:25
MartyTPS15-Oct-11 16:25 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 22:01
_Flaviu15-Oct-11 22:01 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu16-Oct-11 19:56
_Flaviu16-Oct-11 19:56 
AnswerRe: How to send a click message to an listctrl ? Pin
«_Superman_»15-Oct-11 21:08
professional«_Superman_»15-Oct-11 21:08 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu15-Oct-11 22:00
_Flaviu15-Oct-11 22:00 
GeneralRe: How to send a click message to an listctrl ? Pin
Stephen Hewitt16-Oct-11 2:36
Stephen Hewitt16-Oct-11 2:36 
GeneralRe: How to send a click message to an listctrl ? Pin
_Flaviu16-Oct-11 19:56
_Flaviu16-Oct-11 19:56 
Questionsetting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke15-Oct-11 3:32
Andrew J. Burke15-Oct-11 3:32 
AnswerRe: setting form element values using ie TCppWebBrowser control Pin
App_15-Oct-11 8:37
App_15-Oct-11 8:37 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke15-Oct-11 14:50
Andrew J. Burke15-Oct-11 14:50 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
App_15-Oct-11 20:58
App_15-Oct-11 20:58 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke16-Oct-11 6:38
Andrew J. Burke16-Oct-11 6:38 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
App_16-Oct-11 7:44
App_16-Oct-11 7:44 
GeneralRe: setting form element values using ie TCppWebBrowser control Pin
Andrew J. Burke18-Oct-11 5:16
Andrew J. Burke18-Oct-11 5:16 
QuestionClarification regarding Boolean variable Pin
pix_programmer15-Oct-11 1:01
pix_programmer15-Oct-11 1:01 
AnswerRe: Clarification regarding Boolean variable Pin
André Kraak15-Oct-11 1:18
André Kraak15-Oct-11 1:18 
GeneralRe: i would like to elaborate further Pin
Software_Developer15-Oct-11 1:47
Software_Developer15-Oct-11 1:47 

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.