CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 330xi

Search: Search took 0.02 seconds.

  1. Re: Making dll with one of the Codeguru articles

    in different places of code:


    typedef void (*toFileWrite)(vector<int>, const char *);
    [...]
    toFileWrite _toFileWriteFunc;
    [...]
    _toFileWriteFunc = (toFileWrite)GetProcAddress(hInstLibrary,...
  2. Re: Making dll with one of the Codeguru articles

    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,...
  3. [RESOLVED] Making dll with one of the Codeguru articles

    Hi!
    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...
  4. Replies
    1
    Views
    689

    Re: Wordconnect

    Resolved by checking processes monikers in ROT, then getting their IDispatch and then transforming it to docvariable.
  5. Replies
    8
    Views
    1,163

    Re: Mouse whhel cycling

    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..
  6. Replies
    1
    Views
    1,594

    Done

    For perfoming such operation I used Method QueryInterface:


    m_pDocDisp->QueryInterface(__uuidof( Word::_Application), (void **)&myApp);

    Where myApp is _ApplicationPtr
    m_pDocDisp is ...
  7. Replies
    1
    Views
    1,594

    [RESOLVED] Moniker >>>> _ApplicationPtr?

    Hi!

    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...
  8. Replies
    10
    Views
    1,946

    Re: How can I *simulate* an AfxMessageBox?

    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.
  9. Replies
    8
    Views
    1,163

    Re: Mouse whhel cycling

    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.
  10. Replies
    1
    Views
    689

    [RESOLVED] Wordconnect

    Hi!
    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...
  11. Replies
    10
    Views
    1,946

    Re: How can I *simulate* an AfxMessageBox?

    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...
  12. Replies
    10
    Views
    1,946

    Re: How can I *simulate* an AfxMessageBox?

    Have the same "bug fixing" And i also need to simulate AfxMessageBox

    "Tell us what the problem is"
    Okay

    In OnCreate of MainFrame I have a function call that connected with two other custom...
  13. Replies
    8
    Views
    1,163

    Re: Mouse whhel cycling

    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...
  14. Replies
    8
    Views
    1,163

    Re: Mouse whhel cycling

    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...
  15. Replies
    8
    Views
    1,163

    [RESOLVED] Mouse whhel cycling

    I want to run soem code by rolling a mouse wheel.

    MFC, doc/view

    In Mainframe header:

    afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt);

    In source message map:
  16. Replies
    2
    Views
    3,494

    Re: Picture to Word doc form memory

    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)
  17. Replies
    2
    Views
    3,494

    Picture to Word doc form memory

    Hi!
    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...
  18. Replies
    4
    Views
    706

    Re: Control main menu toolbar

    Oh, thanks for this note! I've read msdn. How could I be so inattentive?..(
  19. Replies
    4
    Views
    706

    Re: Control main menu toolbar

    Solved:


    void CMainFrame::Hide()
    {
    this->SetMenu(NULL);
    }

    void CMainFrame::Revoke()
    {
  20. Replies
    4
    Views
    706

    [RESOLVED] Control main menu toolbar

    Hi!
    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.
  21. Re: Raster operations. Exchange between windows.

    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...
  22. Raster operations. Exchange between windows.

    Hi!
    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,...
Results 1 to 22 of 22





Click Here to Expand Forum to Full Width

Featured