Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to know that application is closed. that was launched by ShellExecute() Pin
zahid_ash5-Jun-06 18:50
zahid_ash5-Jun-06 18:50 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
Ganesh_T5-Jun-06 18:55
Ganesh_T5-Jun-06 18:55 
GeneralRe: How to know that application is closed. that was launched by ShellExecute() Pin
zahid_ash5-Jun-06 18:58
zahid_ash5-Jun-06 18:58 
GeneralRe: How to know that application is closed. that was launched by ShellExecute() Pin
khan++5-Jun-06 19:06
khan++5-Jun-06 19:06 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
khan++5-Jun-06 18:58
khan++5-Jun-06 18:58 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
Laxman Auti5-Jun-06 20:04
Laxman Auti5-Jun-06 20:04 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
sunit55-Jun-06 20:11
sunit55-Jun-06 20:11 
GeneralRe: How to know that application is closed. that was launched by ShellExecute() Pin
sunit55-Jun-06 20:37
sunit55-Jun-06 20:37 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
Viorel.5-Jun-06 20:28
Viorel.5-Jun-06 20:28 
AnswerRe: How to know that application is closed. that was launched by ShellExecute() Pin
2249175-Jun-06 23:00
2249175-Jun-06 23:00 
Questionrunning an application using command prompt Pin
zahid_ash5-Jun-06 18:45
zahid_ash5-Jun-06 18:45 
AnswerRe: running an application using command prompt Pin
Ganesh_T5-Jun-06 18:52
Ganesh_T5-Jun-06 18:52 
GeneralRe: running an application using command prompt Pin
zahid_ash5-Jun-06 18:57
zahid_ash5-Jun-06 18:57 
GeneralRe: running an application using command prompt Pin
khan++5-Jun-06 19:00
khan++5-Jun-06 19:00 
AnswerRe: running an application using command prompt Pin
Laxman Auti5-Jun-06 20:25
Laxman Auti5-Jun-06 20:25 
Questionfetch from mysql [modified] Pin
p_5-Jun-06 18:39
p_5-Jun-06 18:39 
QuestionRS 232 communication [modified] Pin
rajeev825-Jun-06 18:34
rajeev825-Jun-06 18:34 
AnswerRe: RS 232 communication [modified] Pin
Trollslayer5-Jun-06 18:43
mentorTrollslayer5-Jun-06 18:43 
AnswerRe: RS 232 communication [modified] Pin
khan++5-Jun-06 18:44
khan++5-Jun-06 18:44 
AnswerRe: RS 232 communication Pin
ThatsAlok6-Jun-06 0:19
ThatsAlok6-Jun-06 0:19 
QuestionMouse move Event Pin
RajiRaghu5-Jun-06 18:04
RajiRaghu5-Jun-06 18:04 
AnswerRe: Mouse move Event Pin
Ryan Binns5-Jun-06 18:21
Ryan Binns5-Jun-06 18:21 
GeneralRe: Mouse move Event Pin
RajiRaghu6-Jun-06 0:30
RajiRaghu6-Jun-06 0:30 
I used the following code. But it does not take the correct column.

The part of code is in OnMouseMove event:
void CListt::OnMouseMove(UINT nFlags, CPoint point)
{
CPoint pt(point);
ScreenToClient(&pt);
LVHITTESTINFO hitInfo;
hitInfo.pt = point;
int nItem = -1;
nItem = m_list.SubItemHitTest(&hitInfo);
if (nItem >= 0)
{
m_list.SetItemState(nItem, LVIS_SELECTED, LVIS_SELECTED);
}

if (nItem >= 0 && hitInfo.iSubItem > 0)
{
int m_nSubItemHit = hitInfo.iSubItem;
if ( hitInfo.iSubItem == 8)
SetCursor(hCursor);
}
}

I need to change the cursor if subitem is "8". But even if move the mouse on the 8th subitem, the value of hitInfo.iSubItem is some thing else. moreover nItem is always -1.

Any clues please

Thanks
Raji
GeneralRe: Mouse move Event Pin
Ryan Binns6-Jun-06 2:36
Ryan Binns6-Jun-06 2:36 
QuestionHow to load a component from the CLSID? Pin
Tcpip20055-Jun-06 17:55
Tcpip20055-Jun-06 17:55 

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.