Trevy wrote:
/* linking error ASSERT(::IsWindow(m_hWnd) || (m_pCtrlSite != NULL));*/ //m_dPointer[0]->SendMessage(WM_MENU_CELSIUS,0,0);
This means that tabbed window you are talking about, is not considered as window, thats why ASSERT.
Trevy wrote:
/* errorC2664: caanot convert parameter 1 from HWND to UINT */ //SendMessage(m_dPointer[0]->m_hWnd, WM_MENU_CELSIUS);
You need to modify this to,
::SendMessage(m_dPointer[0]->m_hWnd, WM_MENU_CELSIUS,0,0);
But, again it should be valid window.. p.s. Its better to divide problem in small sub problem. Nobody like to read such huge code, like me( posted without using <pre> tags).
Prasad Notifier using ATL | Operator new[],delete[][^]