| Author |
Message |
BeSharp
Joined: 11 Oct 2007 Posts: 1
|
Posted: Thu Oct 11, 2007 11:47 am Post subject: Programatically access Search richt text edit box in Outlook |
|
|
Hi there,
I'd like to write a small C# application which sends some text to the Outlook 2007 Search box.
Spy++ reveals that the control has a class of
RichEdit20W
with an empty caption and is part of the overall main window:
class: rctrl_renwnd32
caption: Inbox - Microsoft Outlook
While I managed to get a handle to the main window using the user32.dll GetWindow() method, I cannot get a handle to the rich text box. I tried everything I can imagine so far. The problem might be, that all overloads of FindWindow() and FindWindowEx() seem to expect a String caption but the rich text box has an empty one. Passing in an empty string ("") does not yield any results.
Question:
How can I get a handle to that control, when all I know is the class name? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group