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

C / C++ / MFC

 
AnswerRe: thread/application priority Pin
Michael Dunn3-Jan-06 7:44
sitebuilderMichael Dunn3-Jan-06 7:44 
GeneralRe: thread/application priority Pin
tonyro4-Jan-06 4:53
tonyro4-Jan-06 4:53 
GeneralRe: thread/application priority Pin
Michael Dunn5-Jan-06 9:16
sitebuilderMichael Dunn5-Jan-06 9:16 
AnswerRe: thread/application priority Pin
Stephen Hewitt9-Jan-06 2:04
Stephen Hewitt9-Jan-06 2:04 
Questionproblem with buffer in fread and fwrite Pin
hamsha_ir3-Jan-06 2:38
hamsha_ir3-Jan-06 2:38 
AnswerRe: problem with buffer in fread and fwrite Pin
kakan3-Jan-06 2:56
professionalkakan3-Jan-06 2:56 
AnswerRe: problem with buffer in fread and fwrite Pin
Laxman93-Jan-06 2:59
Laxman93-Jan-06 2:59 
QuestionSimulating a click in a CListCtrl Pin
Kharfax3-Jan-06 1:47
Kharfax3-Jan-06 1:47 
Hi
The CListCtrl click handler shows an edit box that allows to edit the subitem values. That is working fine when I click using the mouse.

But now, I need to simulate a click in a ClistCtrl, to open that edit box automatically.

I already tried using mouse_event but the mouse pointer appears in the task bar, and nothing else happens.

So, I think, I should call the CListCtrl click handler.

OnClick(NMHDR* pNMHDR, LRESULT* pResult)

The NMHDR* really is a NMITEMACTIVATE pointer.

So I filled the ptAction, iItem, and iSubitem and created a LRESULT variable.

Then I call OnClick((NMHDR*)struct, &lResult);

The handler is called, but the edit doesn't appear, and when I close the application it hangs up, and tell me if want to tell it to Bill Gates Wink | ;)

Any suggestion really appreciated, and thanks for reading all that Big Grin | :-D

Sebastian


AnswerRe: Simulating a click in a CListCtrl Pin
khan++3-Jan-06 2:44
khan++3-Jan-06 2:44 
GeneralRe: Simulating a click in a CListCtrl Pin
Eytukan3-Jan-06 5:25
Eytukan3-Jan-06 5:25 
GeneralRe: Simulating a click in a CListCtrl Pin
Kharfax3-Jan-06 7:16
Kharfax3-Jan-06 7:16 
QuestionIE Plugins Pin
Nawal K Gupta3-Jan-06 0:32
Nawal K Gupta3-Jan-06 0:32 
AnswerRe: IE Plugins Pin
Prakash Nadar3-Jan-06 1:15
Prakash Nadar3-Jan-06 1:15 
GeneralRe: IE Plugins Pin
Ganesh_T3-Jan-06 2:07
Ganesh_T3-Jan-06 2:07 
GeneralRe: IE Plugins Pin
basementman3-Jan-06 5:03
basementman3-Jan-06 5:03 
GeneralRe: IE Plugins Pin
Prakash Nadar3-Jan-06 5:08
Prakash Nadar3-Jan-06 5:08 
AnswerRe: IE Plugins Pin
Nawal K Gupta3-Jan-06 17:58
Nawal K Gupta3-Jan-06 17:58 
QuestionAutomation and modal Pin
wdhough3-Jan-06 0:04
wdhough3-Jan-06 0:04 
AnswerRe: Automation and modal Pin
Prakash Nadar3-Jan-06 1:19
Prakash Nadar3-Jan-06 1:19 
GeneralRe: Automation and modal Pin
wdhough3-Jan-06 1:20
wdhough3-Jan-06 1:20 
GeneralRe: Automation and modal Pin
Prakash Nadar3-Jan-06 1:35
Prakash Nadar3-Jan-06 1:35 
QuestionRe: Automation and modal Pin
wdhough3-Jan-06 1:42
wdhough3-Jan-06 1:42 
AnswerRe: Automation and modal Pin
Prakash Nadar3-Jan-06 4:58
Prakash Nadar3-Jan-06 4:58 
QuestionCan we make a win32 application as a service Pin
chandu362-Jan-06 23:52
chandu362-Jan-06 23:52 
AnswerRe: Can we make a win32 application as a service Pin
Zdeslav Vojkovic3-Jan-06 0:12
Zdeslav Vojkovic3-Jan-06 0:12 

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.