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

Search:

Type: Posts; User: jeffchen

Search: Search took 0.03 seconds.

  1. Can I create child window in multi thread?

    Hi,

    Can I create a child window in another thread? Because I don't want to block my main application if the child window is got blocked. such as a modal dialog or time consuming task.

    Thanks
    ...
  2. How to set correct toolbar size under XP?

    Hi,

    I have a toolbar that has list style with several drop down buttons and other buttons, with text aligned on the right and no text. I set the toolbar button height to 16. I have no problem to...
  3. How to enable a child view by mouse click?

    Hi,

    In my program, a MDI program, I have a disabled view. I want to enable it when user clicks the view. I put EnableWindow in CChildFrame::OnMDIActivate(...) . It works. But I always get a 'Ding'...
  4. Use CFrameWnd as base of CChildFrame in MDI project

    Hi,

    I know I shall use CMDIFrameWnd as the base class of CChildFrame. But I'd like to have a test to use CFrameWnd as the base and it seems it works.

    One reason is that with CMDIFrameWnd as...
  5. Replies
    5
    Views
    864

    Thanks Igor Vartanov. Maybe I did not make it...

    Thanks Igor Vartanov.

    Maybe I did not make it very clear. The DLL and the COM component used in my program is developed by third party companies and I can not put a try catch into their code for...
  6. Replies
    5
    Views
    864

    Exception handling

    Hi,

    I just got an idea about the exception handling. I am currently implementing a program that will use some third party dll, COM object. When these dll generate a error, usually my program will...
  7. Thanks. But with above code, the old problem will...

    Thanks. But with above code, the old problem will come back again. When the CChildFrame is maximized its title will be appended to the MainFrame. Then the MainFrame's title will be "DocTitle -...
  8. Thanks. It works ! But there is still a problem....

    Thanks. It works ! But there is still a problem. If use your codes in my program, the CChildFrame will not have a title. I think what your code does is to make the CChildFrame's title to NULL and set...
  9. Thanks t2di4u, I think the codes are from MFC...

    Thanks t2di4u,

    I think the codes are from MFC source code. It only works when the MDI window is not maximized. When MDI window is maximized the title of CMainFrame will return to "AppTitle -...
  10. Thanks for your reply t2di4u. But it does not...

    Thanks for your reply t2di4u. But it does not work.

    Using SetWindowText on CMainFrame only change the AppTitle part and override CMDIChildWnd::OnUpdateFrameTitle can only change the DocTitle part....
  11. Sorry. But I think your code can just change the...

    Sorry. But I think your code can just change the word of the Title. My question is how to change the ordering from "AppTitle - [DocTitle]" to "[DocTitle] - AppTitle". when the MDI child frame is...
  12. How to change the title of CMDIFrameWnd when child is maximized ?

    Hi,

    As all you know, usually the title bar will show " AppTitle - [DocTitle] " . In my project, I want to
    change it to "[DocTitle] - AppTitle".

    I know the FWS_ADDTOTITLE and FWS_PREFIXTITLE...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured