15,979
社区成员
发帖
与我相关
我的任务
分享
HMODULE pDll = LoadLibrary( _T("Pos.dll"));
typedef CParentFrame*(*fun)(void);
fun SetMode = (fun)GetProcAddress( pDll, "GetFrame");
CCreateContext context;
context.m_pCurrentFrame = this;
CParentFrame* pFrame = SetMode();
// pFrame->SetHandles( NULL, NULL);
pFrame->LoadFrame( IDR_MarketToolTYPE,
WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, this, &context);
pFrame->SetTitle( _T("Pos"));
pFrame->InitialUpdateFrame(NULL, TRUE);