how to control the controls in the dialogs of the word?
-
I want to control word through the interface the word provided. But I found some problems. I found not all the controls such as buttons, comboboxs are window control. They don't have the window handles. But I want to process some messages it sended. you can found this through spyxx.What can I do? thanks to all the programmers who have helped me.
-
I want to control word through the interface the word provided. But I found some problems. I found not all the controls such as buttons, comboboxs are window control. They don't have the window handles. But I want to process some messages it sended. you can found this through spyxx.What can I do? thanks to all the programmers who have helped me.
How on earth do you presume to have found that a button or combobox in Word does not have a HWND associated with it ? I believe Word does not use MFC, ( so no CWnd ), but I can't see how it could possibly show you a button without it being a window, with a handle. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
I want to control word through the interface the word provided. But I found some problems. I found not all the controls such as buttons, comboboxs are window control. They don't have the window handles. But I want to process some messages it sended. you can found this through spyxx.What can I do? thanks to all the programmers who have helped me.
What are you trying to make Word do? Which controls/windows are you trying to control? You seem to be approaching this from a strange angle. What do you want to achieve? Michael :-)
-
How on earth do you presume to have found that a button or combobox in Word does not have a HWND associated with it ? I believe Word does not use MFC, ( so no CWnd ), but I can't see how it could possibly show you a button without it being a window, with a handle. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
How on earth do you presume to have found that a button or combobox in Word does not have a HWND associated with it He's probably thinking about Word toolbars - the comboboxes and buttons you can see there aren't real tax-paying, HWND-having windows. Tomasz Sowinski -- http://www.shooltz.com
-
I want to control word through the interface the word provided. But I found some problems. I found not all the controls such as buttons, comboboxs are window control. They don't have the window handles. But I want to process some messages it sended. you can found this through spyxx.What can I do? thanks to all the programmers who have helped me.
Hello, the codegurus around the world.;) It seems that you want to use some functionality of Word. We can use Word Automation to access all Word functionality in our application.:cool: Have a nice day!
-Masaaki Onishi-
-
How on earth do you presume to have found that a button or combobox in Word does not have a HWND associated with it He's probably thinking about Word toolbars - the comboboxes and buttons you can see there aren't real tax-paying, HWND-having windows. Tomasz Sowinski -- http://www.shooltz.com
I want to use my own dialog to control word. for example, I want to control the "insert -> index and content" dialog in my code. So I can send a message to set the checkboxes status. But i can't get the checkboxs' window handle now. thanks to all the programmers who have helped me.
-
Hello, the codegurus around the world.;) It seems that you want to use some functionality of Word. We can use Word Automation to access all Word functionality in our application.:cool: Have a nice day!
-Masaaki Onishi-
-
What are you trying to make Word do? Which controls/windows are you trying to control? You seem to be approaching this from a strange angle. What do you want to achieve? Michael :-)
to be simple, I want to create a word document with my own format. And I will provide some dialogs to let people coustomize the format. so have to use some word's automation interface. But when a dialog of word do modaled, I can't get the status untile the dialog ended. for example, in the dialog "insert -> index and content" there are some check boxes, and i want to set the check boxes' status in my code. what can I do? thanks to all the programmers who have helped me.