Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
QuestionMSMXL DOM to .NET class Pin
ssanoj1-Jun-06 1:35
ssanoj1-Jun-06 1:35 
AnswerRe: MSMXL DOM to .NET class Pin
Stephan Samuel1-Jun-06 6:38
Stephan Samuel1-Jun-06 6:38 
GeneralRe: MSMXL DOM to .NET class Pin
ssanoj2-Jun-06 1:38
ssanoj2-Jun-06 1:38 
AnswerRe: MSMXL DOM to .NET class Pin
Larantz1-Jun-06 9:46
Larantz1-Jun-06 9:46 
QuestionAutomation ?!?!?! Pin
suguimoto1-Jun-06 1:10
suguimoto1-Jun-06 1:10 
AnswerRe: Automation ?!?!?! Pin
Mairaaj Khan1-Jun-06 1:47
professionalMairaaj Khan1-Jun-06 1:47 
GeneralRe: Automation ?!?!?! Pin
suguimoto1-Jun-06 2:58
suguimoto1-Jun-06 2:58 
AnswerRe: Automation ?!?!?! Pin
Ista1-Jun-06 2:53
Ista1-Jun-06 2:53 
This is not answer but, this is what I have learned so far ( I'm still learning so don't take this as the end all answer in any way! )

Every control is a window.

suguimoto wrote:
2)
How can I enumarate all the controls in a window so that I can (for instance) press buttons, check radio buttons, read labels etc?!

So CallEnumChildWindows when you find the parent window. That will give you the handle you need. All controls are a window.




I have noticed that others say to use SendInput, while more say PostMessage. I like SendInput better, but it is was more complicated. You have to actually move the mouse around, send input, and other cool stuff. And, I'm still figuring it out.

If you use Spy++ you can locate your window in question and inspect what is there. Look for the item object name.

I have noticed that Tabs have a tab window with a panel.

I hope this has hepled you.

PS: TreeViews. I think you have to actually hook into thier callback functions to get the data. I tried a long time ago, and remember that since a treeview works on callbacks you have to do that. I could be wrong tho.

Nick
Nick

1 line of code equals many bugs. So don't write any!!
GeneralRe: Automation ?!?!?! Pin
suguimoto1-Jun-06 2:57
suguimoto1-Jun-06 2:57 
QuestionGet Data from Gridview Columns which are hidden Pin
Sunny H1-Jun-06 1:09
Sunny H1-Jun-06 1:09 
AnswerRe: Get Data from Gridview Columns which are hidden Pin
Sunny H1-Jun-06 2:31
Sunny H1-Jun-06 2:31 
Questionhowto add a new row in datagridview ? Pin
cmpeng341-Jun-06 1:02
cmpeng341-Jun-06 1:02 
AnswerRe: howto add a new row in datagridview ? Pin
Larantz1-Jun-06 9:51
Larantz1-Jun-06 9:51 
Questionstarting SQL Server Services? Pin
Mairaaj Khan1-Jun-06 0:49
professionalMairaaj Khan1-Jun-06 0:49 
AnswerRe: starting SQL Server Services? Pin
Laubi1-Jun-06 2:00
Laubi1-Jun-06 2:00 
GeneralRe: starting SQL Server Services? Pin
Mairaaj Khan1-Jun-06 2:09
professionalMairaaj Khan1-Jun-06 2:09 
GeneralRe: starting SQL Server Services? Pin
Laubi1-Jun-06 2:16
Laubi1-Jun-06 2:16 
AnswerRe: starting SQL Server Services? Better Way Pin
Paul Brower1-Jun-06 2:06
Paul Brower1-Jun-06 2:06 
GeneralRe: starting SQL Server Services? Thanks Pin
Mairaaj Khan1-Jun-06 2:44
professionalMairaaj Khan1-Jun-06 2:44 
AnswerRe: starting SQL Server Services? Pin
sathish s1-Jun-06 2:08
sathish s1-Jun-06 2:08 
Questionhowto sort datagridview? help¿ Pin
cmpeng341-Jun-06 0:37
cmpeng341-Jun-06 0:37 
AnswerRe: howto sort datagridview? help¿ Pin
Mairaaj Khan1-Jun-06 1:13
professionalMairaaj Khan1-Jun-06 1:13 
AnswerRe: howto sort datagridview? help¿ Pin
Drew McGhie1-Jun-06 4:27
Drew McGhie1-Jun-06 4:27 
QuestionHow to create a selection rectangle Pin
Sasuko1-Jun-06 0:02
Sasuko1-Jun-06 0:02 
AnswerRe: How to create a selection rectangle Pin
Robert Rohde1-Jun-06 0:08
Robert Rohde1-Jun-06 0:08 

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.