Precompiled Headers makes your build faster. They are compiled one time. Only if you change something in the Precompiled Header file, then it need this time for the new compilation of the all things in the Precompiled Header file. From my experience eith the C++ I thing the precompiled headers are good for the build time or that you don't have to include in each .cpp file the STL or the WIN32API headers. But it is not so clearly as without them, but C++ is not very clearly language so it is OK.
when i use a IHTMLDOMNode pointer which points to a #text node in the dom tree to get a IHTMLElement pointer,it fails. is there anyone who knows how to solve the problem?the purpose for getting the IHTMLElement pointer is that i want to get the bounding rect of the text node.
Just check if the CAboutDlg is derived from CDialog or CPropertyPage. It should be CPropertyPaeg and must have done CPropertyPage but I am just asking to check it once more. so we can think of other options.
I need ask the user save what the changes on my app when user exit thep app
I used at bellow but It is not work correctly
iMes = ::MessageBox(this->m_hWnd,"Don you want to save the changes to Sence Configuration?","Pixelware TV Life",3);
//Save what the changes here
// TODO: Add your message handler code here
// TODO: Add your command handler code here
This close the app first after show the message box and with OnFileExit this cause system error.
Please help me with this.
Thank in advance!
How to handle with this,
When user click on Close Button of dialog(X button), I can not catch this event to progree,
The main function now is, how to don't let user close the app by click X button or How to ask user by display a message box to let user chose is exit or not.
I used the code that I posted but it not work, the app close although the result of CleanUp() function returned is false.
Please help me again!