Type: Posts; User:
September 12th, 2012
in different places of code:
typedef void (*toFileWrite)(vector<int>, const char *);
_toFileWriteFunc = (toFileWrite)GetProcAddress(hInstLibrary,...
September 12th, 2012
Oh, thanks a lot for such detailed answer, Paul! It really helped. At least directed me for many other interesting articles. As for my application and dll I have reorganised them in the other way,...
September 11th, 2012
I make a dll and its using by this tutorial. I make absolutely the same files with the same code. Ok. It works just fine. Now I add my function with #include vector, using namespace std and...
August 2nd, 2012
Resolved by checking processes monikers in ROT, then getting their IDispatch and then transforming it to docvariable.
August 2nd, 2012
I got the wanted result:
I start to send messages as if this keys have been pressed out of mousewheel handler instead of calling their handlers..
For perfoming such operation I used Method QueryInterface:
m_pDocDisp->QueryInterface(__uuidof( Word::_Application), (void **)&myApp);
Where myApp is _ApplicationPtr
m_pDocDisp is ...
I have a Moniker from ROT that points on desirable process. And I have an _ApplicationPtr var to perfom some actions with running application. HOWTO make my _ApplicationPtr var to be...
oh, thanks!) At least I know the general form of my problem now. I'm sure it helps me to find other people experience in solving it and explore it better.
I do. May be later I will come back to this problem. The counting was that somebody already had such symptoms in his experience and the disease had been eliminated.
I want to have some data exchange between my application and ms word. I start my work basing on this article.
But there is no info or examples how to perform a quiet an ordinary action: to...
my function connected with a plenty of initialization commands and variables that exist only in OnCreate. I've tried but it cause a tree of run-time errors.
But on this exact topic, if in next 12...
Have the same "bug fixing" And i also need to simulate AfxMessageBox
"Tell us what the problem is"
In OnCreate of MainFrame I have a function call that connected with two other custom...
I do exactly like that: I try to call my keypress handlers (OnDemokey(); OnMinuskey() ) in wheel handler (OnMouseWheel), problem is that this call unexpectedly repeats many-many times until program...
Very often, the element between left and right mouse button is a kind of wheel. You can push or you can roll it forward or backward. The second kind of movement people perform when they want to move...
I want to run soem code by rolling a mouse wheel.
In Mainframe header:
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt);
In source message map:
I think it is easier, but I don't want user to lose any "very important" information that will be in clipboard in "that" moment for sure)
I want to add a picture to my opened word file. But not from file. I have some picture on a DC in my program and want it directly to Word document. Does anybody know how?
At least may be some...
Oh, thanks for this note! I've read msdn. How could I be so inattentive?..(
I want to hide a standard main menu toolbar of my MFC doc/view application. Howto?
I tried this
ShowControlBar(&m_wndToolBar,TRUE,FALSE); - no reaction
thanks in advance.
One of my variants was like this.
The view class has a variable of some custom class with many methods of processing image - RXPicture. With next methods I save picture to disk, and one of them...
In my MFC doc/view programm I have two classes with their windows. The first one is view, the second is a dialog. The view is constantly displaying image form camera. I want the second window,...
Click Here to Expand Forum to Full Width