Click here to Skip to main content
15,798,200 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 22:13
Michael Schubert27-Apr-09 22:13 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Mogaambo27-Apr-09 23:22
Mogaambo27-Apr-09 23:22 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
V K 227-Apr-09 22:43
V K 227-Apr-09 22:43 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 22:50
Michael Schubert27-Apr-09 22:50 
QuestionHow to clean up an object of CMapStringtoString Pin
V K 227-Apr-09 21:40
V K 227-Apr-09 21:40 
AnswerRe: How to clean up an object of CMapStringtoString Pin
Rajkumar R27-Apr-09 22:30
Rajkumar R27-Apr-09 22:30 
QuestionWinCe Screen shot of windows Pin
vijaywithu27-Apr-09 21:29
vijaywithu27-Apr-09 21:29 
AnswerRe: WinCe Screen shot of windows Pin
V K 227-Apr-09 21:47
V K 227-Apr-09 21:47 
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
AnswerRe: WinCe Screen shot of windows Pin
Rajkumar R27-Apr-09 21:50
Rajkumar R27-Apr-09 21:50 
QuestionHow to add images in visual C++ Library Files Pin
Sakthi.Gs :-)27-Apr-09 21:04
Sakthi.Gs :-)27-Apr-09 21:04 
AnswerRe: How to add images in visual C++ Library Files Pin
KarstenK27-Apr-09 23:50
mveKarstenK27-Apr-09 23:50 
QuestionHow to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 19:59
ujjawal kumar27-Apr-09 19:59 
AnswerRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R27-Apr-09 20:43
Rajkumar R27-Apr-09 20:43 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 22:07
ujjawal kumar27-Apr-09 22:07 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R28-Apr-09 1:52
Rajkumar R28-Apr-09 1:52 
Questionsscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
xzing27-Apr-09 14:37
xzing27-Apr-09 14:37 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
Stuart Dootson27-Apr-09 14:49
professionalStuart Dootson27-Apr-09 14:49 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
CPallini27-Apr-09 23:05
mveCPallini27-Apr-09 23:05 
QuestionDoc-View vs Dialog-based app - Menu Item updates Pin
john john mackey27-Apr-09 12:35
john john mackey27-Apr-09 12:35 
AnswerRe: Doc-View vs Dialog-based app - Menu Item updates Pin
led mike27-Apr-09 12:47
led mike27-Apr-09 12:47 
GeneralRe: Doc-View vs Dialog-based app - Menu Item updates Pin
john john mackey27-Apr-09 13:08
john john mackey27-Apr-09 13:08 
QuestionCalculating the Size of Rich Edit "bottomless" control Pin
ForNow27-Apr-09 10:00
ForNow27-Apr-09 10:00 
AnswerRe: Calculating the Size of Rich Edit "bottomless" control Pin
Stuart Dootson27-Apr-09 15:02
professionalStuart Dootson27-Apr-09 15:02 
GeneralRe: Calculating the Size of Rich Edit "bottomless" control Pin
ForNow27-Apr-09 17:37
ForNow27-Apr-09 17:37 
GeneralRe: Calculating the Size of Rich Edit "bottomless" control Pin
Stuart Dootson28-Apr-09 6:12
professionalStuart Dootson28-Apr-09 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.