dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: NT
Expertise: Beginner
Apr 20, 1998

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Windows programming

Question:
We use NT 4 WS as the client to our PeopleSoft (Oracle) application, and we need to pick off the information contained on the panel fields. We can easily read the fields that can be updated using a fairly easy-to-use script package (WinBatch from WindowWare), but we need to capture the read-only fields as well. Is there a utility or a C++ Windows program out there that will allow us to figure out all the contents of a Window? I can program in C++, but I haven't done much in the way of Windows programming since the early SDK days.

Answer:
Since you have programmed in Windows before, you know that Windows mean, well, windows. You can use a utility like Spy (comes with VB 5.0 and C++ and probably other programming languages) to determine the actual windows on the application screen. Given the window (and its associated handle), you can query it as to its contents (i.e., text in a textbox, items in a listbox, etc). However, some items are not windows, but text written directly to a window. For example, for efficiency, many of the "windows" in Excel are not really a window but just text printed on the screen.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date