I have taken an MDI application and overriden the Childframe's OnCreateClient
if (!m_mdiSplitWnd.CreateStatic(this, 2, 2,WS_CHILD | WS_VISIBLE|AFX_WS_DEFAULT_VIEW ))
TRACE0("Failed to CreateStaticSplitter\n");
After running the application I am unbale to find a splitter in the childwnd ,hovering my mouse on I could notice the Splitters panes and Spreadsheet Ax Control in one of the views are partially visible.Also I could notice the splitter window is not sized when my childframe is maximized.
What Should I do to make my splitter window clearly visible and also to be resized with respect to childframe?
Today is a gift, that's why it is called the present.
Good Morning.I am doing one ATL Based VC++ Program. And i want to generate reports using crystal report.This i tried in normal VC++ MFC program but when i tried with ATL Program it is giving error and i created one more ATL program in that i got error like "you can not add ActiveX Control in your project".So i want to know that is it possible to add any activex control to ATL Program or not? If it is possible then how can i do it please give me some hints. Otherwise please tell me anyone how to do reporting in ATL Based program?
Please help me.
I'm trying to built a windows app that sits on the system tray and pops up notification messages based on a pre-determined interval. It will be similar to how Yahoo Messanger notifies when someone on the contact list goes online/offline. I've managed to get my app to sit on the system tray, but no idea on the notification messages. Is it a dialog, or is it something else?
got a question thats bugging me. I can not figure out this very simple compile error I am getting. Here is the error:
C:\Documents and Settings\mininet\My Documents\C++\9APR09\test.cpp In function `int main()':
28 C:\Documents and Settings\mininet\My Documents\C++\9APR09\test.cpp expected primary-expression before "GetLocalComputerName"
28 C:\Documents and Settings\mininet\My Documents\C++\9APR09\test.cpp expected `;' before "GetLocalComputerName"
I know its related to the string. but what is wrong with it? If you tell me whats wrong, dont just tell me. Please include a description of why the string is messed up. Thank you in advance! Code is as follows:
<code>// Project 01 by Rob
using namespace std;
First off thank you very much. I read into the embeded function and your right, it will not work.
I do however feel there is something missing. I relocated the entire section related to retrieving the local computer name, to outside int main().
I think there needs to be
and have string GetLocalComputerName; cin >> or output somehow. Because the program compiles, yet it dosent seem as if it is doing anything. After I type in the password, it should jump to the next sequential portion of the program, and retrieve the username. It does nothing but stare back at me. I feel as if I am missing something, can someone point me in the right direction? I do a lot of reading but the reading needs to be put into perspective. Thank you very much in advance.