Unless this count is the number of milliseconds that have elapsed since a certain period of time, what you are after does not exist. Otherwise, have a look at FileTimeToLocalFileTime(), FileTimeToSystemTime(), LocalFileTimeToFileTime(), et al.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
HOWEVER probably due to the "splitting margin" or border
between panes, the pane(0, 0) is larger than the other panes
with a difference of about 11 pixels in size. Other than
"manually" accounting for the border thickness, is there
a better way of making the panes same size.
Thanks. This is probably the only way out. Here is a fragment from
Q & A: C++ (Periodicals 1998) from MSDN Library 1999 that does something
After calculating the heights of the toolbars, the next troublesome task is calculating the height and width of all the splitter window components: the border with which it surrounds each pane and the splitter bar itself. All these magic numbers are contained within data members in CSplitterWnd, but naturally the data is protected, which means you can’t access it! Sigh. So what do you do? Simple: just derive a new class with public functions to export the protected data, and use it instead of CSplitterWnd in your main frame.
I have added a new ATL class in the project but now I want to remove this class from the project. How can I remove the class because If I remove the class manually then i need to remove other settings of the class also as it is an ATL class so it must be having enteries in the coclasses of the project.
Hm, not so easy work.
1st - remove the class .h and .cpp files (and delete/rename on HDD)
Then you'll have probably corresponding .rgs file in the project tree.
Then you need to remove corresponding parts in the projects .idl file - these should be probably the interface declaration IYourClass somewhere on the beginning of the .idl file. Then remove the coclass definition from .idl (should be somewhere at the end of the file).
Then last thing should be the OBJECT_ENTRY macro in the yourProject.cpp file.
Then rebuild the project and compiler will remind you about missed includes or macros.
How can I find out what program is running my program
by OpenWith... Dialog?
For example a user right-clicks on a file and chooses OpenWith...
and then my program.What is the address?How can my program knows
Please help me on this...
I' m writing a Visual C++ MFC dialog-based program. I added a Menu bar uisng Insert->Resource-> Menu, not by writing code. Then, I tried to show and hide the Menu bar of a modal dialog dynamically but didn't succeed? Could anyone kindly help me?
Thanks. But I only successfully hide the Menu, but not showing it again. Do I just need to replace "pMenu->DeleteMenu(0, MF_BYPOSITION);" to
"pMenu->AppendMenu(0, MF_BYPOSITION);" without changing other code?