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

Search:

Type: Posts; User: t2di4u

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    483

    Re: pure virtual functions in a DLL

    If you want to create CMyCalss in your app you should exprot CMyClass from dll.
    There is another way just like COM's methord.
  2. Replies
    6
    Views
    744

    Re: Hang on send WM_COPYDATA

    I have found some other way to do the same thing.
    thanks. : )
  3. Replies
    6
    Views
    744

    Re: Hang on send WM_COPYDATA

    When a worker thread sends a message to a window, the SendMessage function queues up the message for the window.
    If SendMessage is called from the same thread that owns the window, the message is...
  4. Replies
    6
    Views
    744

    Re: Hang on send WM_COPYDATA

    This way.
    ::SendMessage(hWnd, WM_COPYDATA, (WPARAM)m_hWnd, (LPARAM)&copydata);

    I think the problem is no thread call GetMessage.
    but how can i create a thread to call?
  5. Replies
    6
    Views
    744

    Hang on send WM_COPYDATA

    I want to encapsulate IPC into a dll, so I dont want to import a handle from other window. Instead, I created a window in the dll to receive message, but when i send WM_COPYDATA from other process,...
  6. Thread: lose packets

    by t2di4u
    Replies
    1
    Views
    224

    lose packets

    I need to create a dialog to display some messages when I receive a special packet. If I do so, some packets might miss. How can I resolve the problem.

    thanks in advance.
  7. o, : (

    o, : (
  8. put this code to your child frame's...

    put this code to your child frame's OnUpdateFrameTitle

    GetMDIFrame()->OnUpdateFrameTitle(bAddToTitle);

    if ((GetStyle() & FWS_ADDTOTITLE) == 0)
    return; // leave child...
  9. sorry , I forgot to tell you that you should get...

    sorry , I forgot to tell you that you should get rid of the main frame's OnUpdateFrameTitle.
  10. try to copy the following code to your overrided...

    try to copy the following code to your overrided CMDIChildWnd::OnUpdateFrameTitle(BOOL bAddToTitle) fuction.

    GetMDIFrame()->OnUpdateFrameTitle(bAddToTitle);

    if ((GetStyle() &...
  11. I don't know how to move the OnUpdateCmdUI to...

    I don't know how to move the OnUpdateCmdUI to MainFrame, the toolbar is a view's variable. But I've resolved the problem by you guide. Just override the OnUpdateCmdUI fuction.

    void...
  12. How to get rid of the toolbar's auto disable fuction

    I've created a toolbar in one of my views and handled the message in the view. All works fine. But when that view is inactived, the buttons on the toolbar is auto disenabled. It looks urgly. If I...
  13. You can change your title by SetWindowText or...

    You can change your title by SetWindowText or override CMDIChildWnd::OnUpdateFrameTitle. The title is change in the fuction.
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center