okay so i got tooltips to pop up, but they created repeatedly and not destroyed, so they start to build up on the screen.
I've entered the MSDN code to a OnMouseHover event of my custom control class. Should this be perhaps in my View class?
This seems so simple but I'm lost, because the web talks about SetFormat() but the class method just does not seem to exists in my C++ 6.0 version.
tried this: (assertion error occurs)
// Gain a pointer to the control
CDateTimeCtrl* pCtrl = (CDateTimeCtrl*) GetDlgItem(hwndDlg,IDC_DATETIMEPICKER4);
ASSERT(pCtrl != NULL);
If so that means the control( IDC_DATETIMEPICKER4) has not been created.
Aside: It is more practical when forming comparison expressions of variables to constants, to place the constant on the left side of the comparison statement NULL != pCtrl. This way the compiler will error if you typo the statement into NULL = pCtrl whereas it won't if you typo pCtrl = NULL
To answer your seconrd question:
This is a 3rd party app which has a switch for EURO Date Format or NOT. I support a DLL that interfaces with another system. Yes, like you I would have used Windows configuration.
This is a 3rd party app which has a switch for EURO Date Format or NOT.
I understand that, but there's still no reason to perform both if() tests when only one of them can evaluate to true. I would imagine that the compiler would realize that and perform the necessary optimization, but still.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
I have a problem like i need to include a different header files depending on the linux kernel in a .cpp file. I have to check the linux kernel version and include the headerfile depending on that kernel. How can I do that?
I have ARCH variable in Makefile, can i make use of that?
I have problem with my project linking. It fails and the errors are
error LNK2001: unresolved external symbol __RTC_Shutdown
error LNK2001: unresolved external symbol __RTC_InitBase
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
error LNK2001: unresolved external symbol ___security_cookie
and a lot such us.
Looks like you're linking against the wrong C/C++ run-time libraries. Check that the correct Visual Studio directories are in the VC++ library path (Tools->Options->Projects and Solutions->VC++ Directories and select 'Library files' for the 'Show directories for:' combobox).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I am using MFC Treeview control in my application. For each tree node has some images. usually the image is left side of the tree node but i would like to add this image after the text of the node.
Can you please suggest some ways to do this?
Thanks in advance.
Last Visit: 31-Dec-99 18:00 Last Update: 25-Sep-23 0:23