Search:
Type: Posts; User: jeffchen
Search:
Search took 0.03 seconds.
-
January 7th, 2005, 11:59 PM
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
...
-
December 5th, 2004, 03:23 AM
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...
-
October 8th, 2004, 01:36 AM
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'...
-
April 15th, 2004, 01:36 AM
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...
-
April 12th, 2004, 09:26 AM
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...
-
April 12th, 2004, 03:07 AM
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...
-
April 3rd, 2004, 11:26 AM
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 -...
-
April 3rd, 2004, 09:40 AM
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...
-
April 3rd, 2004, 06:57 AM
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 -...
-
April 3rd, 2004, 01:01 AM
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....
-
April 2nd, 2004, 09:17 PM
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...
-
April 2nd, 2004, 09:23 AM
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...
|
Click Here to Expand Forum to Full Width
|