C
C Dick via OfficeKB.com
Hello,
I am writing a program based on COM&Office word.
The codes are:
........
_Application m_app;
COleException e;
m_app.CreateDispatch("Word.Application.8", &e);
.....
Now, I want to get the CommandBars. So, I do like this:
.........
LPDISPATCH lpdisp_comBar = m_app.GetCommandBars();
.........
My question is:
How to get the object of 'CommandBars' from the 'lpdisp_comBar'?
I don't know WHICH CLASS represent the object 'CommandBars'.
If somebody know how to do it, please tell me.
Thanks a lot.
I am writing a program based on COM&Office word.
The codes are:
........
_Application m_app;
COleException e;
m_app.CreateDispatch("Word.Application.8", &e);
.....
Now, I want to get the CommandBars. So, I do like this:
.........
LPDISPATCH lpdisp_comBar = m_app.GetCommandBars();
.........
My question is:
How to get the object of 'CommandBars' from the 'lpdisp_comBar'?
I don't know WHICH CLASS represent the object 'CommandBars'.
If somebody know how to do it, please tell me.
Thanks a lot.