file.h have: class CTaskbarNotifier : public CWnd
///////
CTaskbarNotifier m_wndTaskbarNotifier;
\\\\\\\


file.cpp
///////
Qt Code:
  1. myfile::myfile(QWidget *parent) : QWidget(parent)
  2. {
  3.  
  4. // create the layout
  5. createLayout();
  6.  
  7. // create the animations
  8. createAnimations();
  9.  
  10. m_wndTaskbarNotifier.Create(/*what_this?*/);
  11. }
To copy to clipboard, switch view to plain text mode 
\\\\\\\


Include TaskbarNotifier.cpp
///////
Qt Code:
  1. int CTaskbarNotifier::Create(CWnd *pWndParent)
  2. {
  3. m_pWndParent=pWndParent;
  4. CString strWndClass=AfxRegisterWndClass(0,AfxGetApp()->LoadStandardCursor(IDC_ARROW),GetSysColorBrush(COLOR_WINDOW),NULL);
  5. return CreateEx(0,strWndClass,NULL,WS_POPUP,0,0,0,0,pWndParent->m_hWnd,NULL);
  6. }
To copy to clipboard, switch view to plain text mode 
\\\\\\\

Thanks!!!