Jump to content
Software FX Community

Re: GetTip with VC++ & COM


User (Legacy)

Recommended Posts

Good morning! 

I am not sure if this will help, but I had something similar (but not in a

tabbed control). My dynamic chart was in a window that I had to watch for

WM_PARENTNOTIFY messages. For example:

LRESULT CRealTime::DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam)

{

if (message == WM_PARENTNOTIFY) {

if (wParam == WM_LBUTTONDOWN) {

<<my code>>

}

}

return CWnd::DefWindowProc(message, wParam, lParam);

}

The above worked fine for me, but I was looking for the LBUTTONDOWN message.

HTH

--

josh

Dr Daniel Kustrin <dkustrin@kustrin.com> wrote in message

news:DE0379D14694D211B4CE00609770710D04FF38@sftfx-221.wamnet.net...

>

> I am using a number of dynamically generated (using COM DLL) charts in a

> tabcontrol in a form and I am having problems capturing the GetTip (and

> OnLButtonDblClkChart) events. I have the usual eventsink setup which also

> captures events from another control 'contained' in the tabcontrol and

that

> works without problems. It looks as if the GetTip and OnLButtonDblClkChart

> are either not generated or are not captured at all.

>

> Any ideas?

>

> thanks

>

>

> dan

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...