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. Run Powerpoint viewer in assigned screen location

Run Powerpoint viewer in assigned screen location

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 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.
  • C Offline
    C Offline
    Cool_Dev
    wrote on last edited by
    #1

    I did CreateProcess and then FindWindow to get PowerPoint viewer window handle. How can i resize slide show to specific location & size on my Window? Also any way to prevent powerpoint viewer from starting the slideshow in fullscreen soon after the process is started?:confused:

    I 1 Reply Last reply
    0
    • C Cool_Dev

      I did CreateProcess and then FindWindow to get PowerPoint viewer window handle. How can i resize slide show to specific location & size on my Window? Also any way to prevent powerpoint viewer from starting the slideshow in fullscreen soon after the process is started?:confused:

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      I don't know of any C++ way of doing this, which makes this forum less useful to you. My thought was that you could supply powerpoint viewer with a command parameter via CreateProcess that would do what you want. I found this page: http://office.microsoft.com/en-us/powerpoint/HA101538891033.aspx[^] But there's no "start at this rect(100,100,400,200)" parameter, or an equivalent. The nearest I can find on that list is /M macro which lets you run a specified macro. Maybe you could have a powerpoint macro that does this task for you? Failing that, maybe the full version of powerpoint will have better command line options - in which case you can solve your problem by spending money. My thinking is that you'll fail - a presentation is meant to fill up a given screen, in which case why spend the resources needed to make a partial screen view? It's a very edge case use. I wish you success however! Iain.

      I have now moved to Sweden for love (awwww).

      C 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        I don't know of any C++ way of doing this, which makes this forum less useful to you. My thought was that you could supply powerpoint viewer with a command parameter via CreateProcess that would do what you want. I found this page: http://office.microsoft.com/en-us/powerpoint/HA101538891033.aspx[^] But there's no "start at this rect(100,100,400,200)" parameter, or an equivalent. The nearest I can find on that list is /M macro which lets you run a specified macro. Maybe you could have a powerpoint macro that does this task for you? Failing that, maybe the full version of powerpoint will have better command line options - in which case you can solve your problem by spending money. My thinking is that you'll fail - a presentation is meant to fill up a given screen, in which case why spend the resources needed to make a partial screen view? It's a very edge case use. I wish you success however! Iain.

        I have now moved to Sweden for love (awwww).

        C Offline
        C Offline
        chetto77
        wrote on last edited by
        #3

        This is not "a very edge case use". This is a very common use. If you totaled all the time PowerPoint files are open on all PCs, I believe you will find many more hours were with people viewing the PPT on their computer (just as they would read a PDF or Word document) and much less time as part of presentations where full screen usually makes sense. I almost NEVER want to view a PPT on my PC in full screen. 1st on a large monitor it is often too big to view comfortably, and I usually want to switch between the PPT and other applications, often leaving the PPT visible to a page while working in a different window. Making the PowerPoint Viewer 2007 only display in fullscreen is another anti-consumer action by Microsoft to annoy people enough to buy Office 2007. What is needed is the PPT viewer equivalent to the Foxit PDF Reader, for those who want to view but don't need to create PPT files. I don't know of any free alternative viewers that support PPT 2007 format, except maybe OpenOffice and that is pretty heavyweight is all you want is a PPT viewer. It would be great if it were possible to launch the PPT Viewer 2007 from C++ or C# so that it was not fullscreen, but as you mention it does not appear possible from the documentation.

        I 1 Reply Last reply
        0
        • C chetto77

          This is not "a very edge case use". This is a very common use. If you totaled all the time PowerPoint files are open on all PCs, I believe you will find many more hours were with people viewing the PPT on their computer (just as they would read a PDF or Word document) and much less time as part of presentations where full screen usually makes sense. I almost NEVER want to view a PPT on my PC in full screen. 1st on a large monitor it is often too big to view comfortably, and I usually want to switch between the PPT and other applications, often leaving the PPT visible to a page while working in a different window. Making the PowerPoint Viewer 2007 only display in fullscreen is another anti-consumer action by Microsoft to annoy people enough to buy Office 2007. What is needed is the PPT viewer equivalent to the Foxit PDF Reader, for those who want to view but don't need to create PPT files. I don't know of any free alternative viewers that support PPT 2007 format, except maybe OpenOffice and that is pretty heavyweight is all you want is a PPT viewer. It would be great if it were possible to launch the PPT Viewer 2007 from C++ or C# so that it was not fullscreen, but as you mention it does not appear possible from the documentation.

          I Offline
          I Offline
          Iain Clarke Warrior Programmer
          wrote on last edited by
          #4

          Wow, you have been looking a long way back in this forum! 8th december... I have to agree that it would be nice if you could open ppt viewer at a specific location. But what's in it for microsoft? Partly I'm cynical, and partly I sympathise as I program for a living - but I'm pleasantly surprised there's a free viewer at all. I consider it's very reasonable to expect anyone who wants to do more that just view slide shows to pay money to the authors of the software. It's not anti-consumer of ford to expect you to give them money if you want to ride in a car. Someone who makes the presentation is quite capable of printing it to (eg) pdf for other viewing. Or export to flash (allegedly). Yours a-professional-software-writer, Iain. ps... if you want a full screen app in a window... Virtual Machine.

          I have now moved to Sweden for love (awwww).

          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