Hello to all,
I have created one MDI application and in this application I want to remove maximize button of main application window with its box also,means I want to keep only minimize and close button there.I wrote following code in CMainFrame::PreCreateWindow() function,
if( !CMDIFrameWnd::PreCreateWindow(cs) )
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
But the problem is that it is not removing maximize button completly,it is only disabling maximize button there, though now I can not operate maximize button but I can see maximize button and its box there which is disabled.I want to remove that box and maximize button completly,can anyone help me how to do it?
I made a dll that exports several functions, 2 of them are:
My console application calls above two functions. Now, in my console application, I want to be able to attach child dialogs to my CFrameWnd. How can I do that?
The idea is to have my dll creating a CFrameWnd and running with a default behaviour, but if the user wants to customize the CFrameWnd, he should be able to add child dialogs created by himself in the console application.
I can create dialogs in the console application, but I cannot specify the parent window (If I use the CWnd object returned by the dllCallCreateWindow, the application crashes).
For your benefit, I've seen you've been asking this for a while.
But there are not so much of Java experts here, so I suggest that you try out a good Java discussion forum on the Internet (CP has a Java board, but is not very much active yet). They will probably suggest you a way out on how to access a Java servelet from C++.
It is a crappy thing, but it's life -^Carlo Pallini
I am using a TabControl in my application with two tabs. The focus being on the first tab button.
But the problem is that i am able to see the page related to first tab control but the two tab control buttons are not visible. My application is in mfc