Exemple #1
0
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
    CPaintManagerUI::SetInstance(hInstance);
    CPaintManagerUI::SetResourcePath(CPaintManagerUI::GetInstancePath() + _T("skin"));

    CDuiFrameWnd *pFrame = new CDuiFrameWnd(_T("eui.xml"));
    pFrame->Create(NULL, _T("百毒不侵"), UI_WNDSTYLE_FRAME, WS_EX_WINDOWEDGE | WS_EX_ACCEPTFILES);
    pFrame->ShowModal();

    delete pFrame;
    return 0;
}
Exemple #2
0
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
    atexit(CheckOnExit);
    ::CoInitialize(NULL);
    CPaintManagerUI::SetInstance(hInstance);
    CPaintManagerUI::SetResourcePath(CPaintManagerUI::GetInstancePath() + _T("skin"));

    CDuiFrameWnd *pFrame = new CDuiFrameWnd(_T("XMP.xml"));
    pFrame->Create(NULL, _T("迅雷看看播放器"), UI_WNDSTYLE_FRAME, WS_EX_WINDOWEDGE | WS_EX_ACCEPTFILES);
    pFrame->ShowModal();

    delete pFrame;
    ::CoUninitialize();
    return 0;
}