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. How to use CMFCVisualManagerOffice2007 in dialog App?

How to use CMFCVisualManagerOffice2007 in dialog App?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • S Offline
    S Offline
    stephen_young
    wrote on last edited by
    #1

    Hi everybody,I used vc 2008 sp1 and created a dialog app.I used

        CMFCVisualManagerOffice2007::SetStyle(CMFCVisualManagerOffice2007::Office2007\_LunaBlue);
    CMFCVisualManager::SetDefaultManager(RUNTIME\_CLASS(CMFCVisualManagerOffice2007));
    

    in CAppEx::InitInstance(),but there were nothing happaned.I wonder thether the dialog app couldn't use CMFCVisualManagerOffice2007 . Thanx.

    D 1 Reply Last reply
    0
    • S stephen_young

      Hi everybody,I used vc 2008 sp1 and created a dialog app.I used

          CMFCVisualManagerOffice2007::SetStyle(CMFCVisualManagerOffice2007::Office2007\_LunaBlue);
      CMFCVisualManager::SetDefaultManager(RUNTIME\_CLASS(CMFCVisualManagerOffice2007));
      

      in CAppEx::InitInstance(),but there were nothing happaned.I wonder thether the dialog app couldn't use CMFCVisualManagerOffice2007 . Thanx.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      stephen_young wrote:

      in CAppEx::InitInstance(),but there were nothing happaned.I

      I do not think that these styles can be used with dialog apps. To verify, create an SDI app.

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "Man who follows car will be exhausted." - Confucius

      S 1 Reply Last reply
      0
      • D David Crow

        stephen_young wrote:

        in CAppEx::InitInstance(),but there were nothing happaned.I

        I do not think that these styles can be used with dialog apps. To verify, create an SDI app.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Man who follows car will be exhausted." - Confucius

        S Offline
        S Offline
        stephen_young
        wrote on last edited by
        #3

        Thanx David.Yes the SDI app is OK!!

        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