I am working on application developement and i have to enhance the speed of existing application. So i need to know the time taken by the application. Is there any programmatical way to find out the time taken by application.
I haven't used the profiler in VS2005 but the profiler in VC++6.0 is useful.
It shows the number of times a function was called in addition to the time spent there.
You can also use it to get an idea of which sections of your code are used under various circumstances.
Can some please explain me the reason why values added in combobox are shown in hexa in the ".rc" i.e. the resource file while strings/caption associated it with other controls like Button, EditBox have ASCI values.
I wanted to get Color of a Dialog and set it to a toolbar. I am able to get the color of dialog.
a) How can I get color of other controls.
b) Is there some generic way where I can get background color of control. c) What if the color is gradient.
d) and wat about if it has bitmap as its background.
One other thing,
e) How can then I set a background color of a toolbar, to be more specific.
I have achieved to change bg color of static label but I am, not able to do it with toolbar. Any help ?
I wanted to get Color of a Dialog and set it a toolbar. I am able to get the color of dialog. How can I get color of other controls. Is there some generic way where I can get background color of control. What if the color is gradient. and wat about if it has bitmap as its background.
One other thing, How can then I set a background color of a toolbar, to be more specific. I have achieved to change bg color of static label but I am, not able to do it with toolbar. Any help ?
I usually develop 'ActiveX controls' using "MFC ActiveX Wizard". In the past, i simply develop ActiveX control and distribute it along with the client side application.
This time i am in different situation. As usual, i developed a control and distribute it with my client application. But now i've enhanced the same control. I've added some new interfaces and not touched the previous interfaces. I came to know from somewhere that there is a method of proper versioning of ActiveX controls and COM components. And i am required to 'increase' the version of my activeX control before distributing it.
Can anyone tell me how to control the version of those 'ActiveX controls' which evolve with the passage of time. Also tell me the method to do so in MFC ActiveX controls.
I am upgrading my application to use V.C 7.1 compiler version. AT present it is using 6.0 compiler.
The problem i am facing is use of File stream.
My req is to share same open file with filebuff and fsrteam object
Please find the code snippet below
Compiler is not recognizing .fd()
Error is in this line int fdesc = v_AppFile.fd();