http://www.codeguru.com/Cpp/COM-Tech/activex/controls/article.php/c5537#control_creation

 

   CString strControlProgid;
   strControlProg; //calendar control
   
   RECT rc;
   rc.top = 0;
   rc.left = 0;
   rc.bottom = 100;
   rc.right = 100;

   CWnd m_ControlWrapper;

   BOOL bStat=FALSE;
   bStat=m_ControlWrapper.CreateControl(strControlProgid,
              _T(""),
              WS_VISIBLE,
              rc,
              NULL,
              5000,
              NULL,
              FALSE,
              NULL);

相关文章:

  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2021-07-23
相关资源
相似解决方案