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. WinCe Screen shot of windows

WinCe Screen shot of windows

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelp
3 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.
  • V Offline
    V Offline
    vijaywithu
    wrote on last edited by
    #1

    Can Any one please help me to get the screen shot of the windows opened in the desktop on CE Device machine. How would the screen shot be saved as bitmap file in the device machine. A code snippet would be help ful. Thanks in Advance

    V R 2 Replies Last reply
    0
    • V vijaywithu

      Can Any one please help me to get the screen shot of the windows opened in the desktop on CE Device machine. How would the screen shot be saved as bitmap file in the device machine. A code snippet would be help ful. Thanks in Advance

      V Offline
      V Offline
      V K 2
      wrote on last edited by
      #2

      You need to have prnt_scrn.exe for capturing screen shot on a WinCE device. Syntax of the Print Screen Tool Prt_scrn [–d NUM] [-s Num1Num2] [–e Num1Num2] filename Parameters of the Print Screen Tool -d NUM Specifies a number of seconds NUM to wait after running the Prt_scrn.exe application before taking the screen shot. The default value for NUM is zero. -s Num1 Num2 Specifies the location of the upper left vertex of the rectangular region on the screen where to take the screen shot. The values Num1 and Num2 specify, in pixels, the horizontal and vertical coordinates, respectively, of this vertex. The default values for Num1 and Num2 are zero. The default values specify that the upper left vertex is the upper left corner of the screen. -e Num1 Num2 Specifies the location of the lower right vertex of the rectangular region on the screen where to take the screen shot. The values Num1 and Num2 specify, in pixels, the horizontal and vertical coordinates, respectively, of this vertex. The values for Num1 and Num2 must be greater than the values specified in the -s parameter. The default value for Num1 is the width of the screen in pixels minus one pixel and the default value for Num2 is the height of the screen in pixels minus one pixel. The default values specify that the lower right vertex is the lower right corner of the screen. filename Specifies the path and file name of the .bmp file where to save the screen shot. To save the .bmp file to the release directory, add a \release\ prefix to the file name. The filename parameter is a required parameter. Examples The following code example shows syntax that instructs the Print Screen tool to take a screen shot on the target device three seconds after running Prt_scrn.exe. This example sends the screen shot to the Snapshot.bmp file in the release directory. Prt_scrn –d 3 \Release\Snapshot.bmp The following code example shows syntax that instructs the Print Screen tool to take a screen shot of the (100, 100, 400, 400) screen region on the target device. This example sends the screen shot to the Snapshot.bmp file in the Windows directory on the target device. Prt_scrn –s 100 100 –e 400 400 \Windows\Snapshot.bmp

      1 Reply Last reply
      0
      • V vijaywithu

        Can Any one please help me to get the screen shot of the windows opened in the desktop on CE Device machine. How would the screen shot be saved as bitmap file in the device machine. A code snippet would be help ful. Thanks in Advance

        R Offline
        R Offline
        Rajkumar R
        wrote on last edited by
        #3

        you may use [Windows CE Remote Tools - Remote Zoom-in^] available with SDKs, if you have platform builder you can use [CETK tool - Print Screen ^]

        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