Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Questions about Windows Desktop Manager

Reply
Thread Tools Display Modes

Questions about Windows Desktop Manager

 
 
Gary Powers
Guest
Posts: n/a

 
      02-11-2010
Im looking into using the windows desktop manager to capture the image displayed on a certain window.Currently Im brining the window in question to the top of the screen before taking a standard screenshot- This is inconvenient since I want a shot taken every minute, and i dont really need/want the window at the top all the time anyway.Im only used to programming in Matlab so I have some questions which may seem stupid, nonetheless answers to these would help me a lot:1. Is there a fee to get hold of the Windows Desktop Manager API for Vista?2. What language is the API written in?3. Is it possible to capture an image of a hidden window?4. Can I get a list of the actice windows on my machine, in order to locate my target window?Many Thanks


Post Originated from Vista Support Forums
 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      02-12-2010
On 12/02/2010 00:20, Gary Powers wrote:
> Im looking into using the windows desktop manager to capture the image displayed on a certainwindow.Currently Im brining the window in question to the top of the screen before taking a standard screenshot- This is inconvenient since I want a shot taken every minute, and i dont really need/want the window at the top all the time anyway.Im only used to programming in Matlab so I have some questions which may seem stupid, nonetheless answers to these would help me a lot:1. Is there a fee to get hold of the Windows Desktop Manager API for Vista?2. What language is the API written in?3. Is it possible to capture an image of a hidden window?4. Can I get a list of the actice windows on my machine, in order to locate my target window?Many Thanks


Hi Gary

(no relation to Francis Gary Powers, by any chance? Or are you tired of
that question?)

The APIs for Windows Display Manager, and graphics generally, are
documented in the Windows Software Development Kit (SDK). The
documentation is available online, in MSDN:

http://msdn.microsoft.com/en-us/library/default.aspx

See especially the Graphics section:

http://msdn.microsoft.com/en-us/libr...79(VS.85).aspx

You can also download the SDK for free from here:

http://msdn.microsoft.com/en-us/windows/bb980924.aspx

This includes the documentation and SDK software, including compilers
(although you don't get the nice Visual Studio IDE - you need to pay
money for that).

The Graphics facilities are generally written in C++ and expose C++
APIs. it would be quite difficult to call these APIs directly from a 4GL
like MatLab. But maybe not impossible. Or you could write your own DLL
shim, to match up the C++ APIs you want and expose them in a form
palatable to MatLab (I'm sure that writing DLL extensions is documented
in the MatLaB docs, somewhere. But overall, I suspect you'll have better
luck trying to achieve your goal in raw MatLab, and/or with some
already-written utilities. GDI+ programming will be a steep (but not
insurmountable) learning curve, if you're not already a C++ programmer.

Hope this helps,

Andrew

--
amclar at optusnet dot com dot au
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Update Error Code: 80070005 Joe Davis Windows Update 33 05-05-2010 08:03 AM
Updates were unable to be successfully installed wjousts Windows Update 6 01-30-2010 04:01 PM
Windows Vista-Ready Products LPH Windows Vista General Discussion 2 01-13-2010 01:48 PM
Re: Windows Update website - KB953297 does not install - running XP Shenan Stanley Windows Update 1 01-07-2010 05:45 PM
ANN: Upcoming Windows Embedded Chats and Webcasts Nick White [MSFT] ActiveSync 0 08-25-2004 06:50 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59