Hi, I have an application to see graph data. Now i'm creating another application in which I show the graph application as OCX control. In My normal application I have a function that to show the graph co-ordinates in tooltip. I have the following code to create a ToolTip m_pToolTip = new CCustomToolTipCtrl; m_pToolTip->Create(this,TTS_ALWAYSTIP); m_pToolTip->SetTipBkColor(RGB(255,255,193)); m_pToolTip->Activate(TRUE); m_pToolTip->SetDelayTime(-1); m_pToolTip->AddTool(this, m_sToolText,NULL,0); In normal application, PreTranslateMessage is getting called. But in case of OCX control PreTranslateMessage is not getting called. So that the tooltip is not showing the coordinates. Please provide your suggestions to solve this |
↧
PreTranslateMessage is not getting called for OCX control
↧