欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: Activex控件的屬性類里面如何獲得控件類得指針 [打印本頁]

作者: 51hei社區    時間: 2016-1-16 03:12
標題: Activex控件的屬性類里面如何獲得控件類得指針
CGT_ViewCtrl* CGT_ViewPropPage::GetControlClass()
{
    CGT_ViewCtrl *pMyCtrl;
    ULONG Ulong;
   
    // Get the array of IDispatch pointers that is stored in the property page.
    LPDISPATCH FAR *m_lpDispatch = GetObjectArray(&Ulong);
   
    // Get the CCmdTarget object that is associated with any one of the previous
    // array elements.
    pMyCtrl = (CGT_ViewCtrl*) CCmdTarget::FromIDispatch(m_lpDispatch[0]);
   
    // Cleanup
    return pMyCtrl;
}


CGT_ViewPropPage::CGT_ViewPropPage() :
    COlePropertyPage(IDD, IDS_GT_VIEW_PPG_CAPTION)
{
    //{{AFX_DATA_INIT(CGT_ViewPropPage)
    //}}AFX_DATA_INIT

//    m_nCycleTime = 0;
   
//    memset(m_CurrentINFO, 0, sizeof(m_CurrentINFO));
    m_bNeverSelect = false;
   
   
}


http://support.microsoft.com/kb/143432









歡迎光臨 (http://m.raoushi.com/bbs/) Powered by Discuz! X3.1