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.




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



> 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


> 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...