Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. windowless shockwaveflash control doesn't work properly individually

windowless shockwaveflash control doesn't work properly individually

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    followait
    wrote on last edited by
    #1

    In CMyApp::InitInstance

    // not work
    SwfWnd * w = new SwfWnd;
    SwfWnd->Create(...);
    MSG msg;
    While(GetMessage(&msg, SwfWnd->GetHWnd, 0, 0))
    {
    TranlateMessage(&msg);
    Dispatch(&msg);
    }
    // work
    SwfWnd * w = new SwfWnd;
    SwfWnd->Create(...);

    COtherDlg dlg;
    dlg.DoModal();

    Any way to make the 1st version work?

    A 1 Reply Last reply
    0
    • F followait

      In CMyApp::InitInstance

      // not work
      SwfWnd * w = new SwfWnd;
      SwfWnd->Create(...);
      MSG msg;
      While(GetMessage(&msg, SwfWnd->GetHWnd, 0, 0))
      {
      TranlateMessage(&msg);
      Dispatch(&msg);
      }
      // work
      SwfWnd * w = new SwfWnd;
      SwfWnd->Create(...);

      COtherDlg dlg;
      dlg.DoModal();

      Any way to make the 1st version work?

      A Offline
      A Offline
      Ahmed Charfeddine
      wrote on last edited by
      #2

      Did you assign the address of the control to the m_pMainWnd member of the CWinApp object before running the message loop ?

      Push Framework - now released ! http://www.pushframework.com

      F 1 Reply Last reply
      0
      • A Ahmed Charfeddine

        Did you assign the address of the control to the m_pMainWnd member of the CWinApp object before running the message loop ?

        Push Framework - now released ! http://www.pushframework.com

        F Offline
        F Offline
        followait
        wrote on last edited by
        #3

        tried, but still not work if popup the context menu, it plays

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups