This project consists of two parts.
Part 1) Implement function ReadWindowTexts(Handle : THandle) : String; The function receives a window handle to a visible window of another program. The function returns all the texts that it can read from the window but not the window title. For example, if there is a simple popup window Yes and No buttons and text "Would you like to restart Windows?", a call to ReadWindowTexts should return something like "Yes;No;Would you like to restart Windows?;"
Part 2) Implement function GetProgressBarValue(Handle : THandle) : Integer; The function receives a window handle to a visible window of another program. The window may or may not contain a progress bar. If it does not contain a progress bar, the function should return -1. If the given window does contain a progress bar, the function returns its numerical value (i.e. the progress).
These functions must compile with Delphi 2010 and work under Windows XP, Vista, 7 and 8.
Note: I am not sure whether Part 2 is possible to implement with Windows API. If you think it's impossible but you could do Part 1, say so when making your bid. I need these functions (or at least Part 1) ASAP. Do not bid if you cannot start right now.
Note 2: If you are an expert with Windows API but do not know Delphi, say so and you can still make a bid. If I would choose you, you would instruct me what Windows API functions to call and how, for example by providing pseudo code which I would then convert to Delphi code.