I need to remember pairs of values for n instances. I know one solution i.e either making a separate class or structure, declare 2 member variable & place it in a list or array.
Here is the code: //h file class MyClass: public CView { public: afx_msg LRESULT OnMyMess(WPARAM, LPARAM);
In my MDI application I\'m loading one DialogBar in mainframe.But I want to show that DialogBar when some child window gets invoked(GroupView,TrendView).For other windows it should be hidden(GraphView
One of the features that the program that I\'m working on is the ability to drag objects from its main window and drop them onto Windows Explorer as files.
I am attempting to ask this question again due to m开发者_JAVA技巧y failure to state the question clearly yesterday. Basically, I have an access violation error described in the comment in the code be
I would like to initialize my CTime object to NULL. But it doesn\'t have such a constructor. What I mean is to initialize it to 00:00:00, then wait until my application fully loaded and a button is
I\'m following the Microsoft sample code given for \"How to create a sink interface in a MFC-based COM client\" in order to create an event sink in C++ (VC6).The event source is a .NET assembly that e
The MSDN documentation for the CCmdTarget::OnFinalRelease method is pretty brief: Called by the framework when the last OLE reference to or from the
How to scale font sizes based on current DPI settings in VC++/MFC applications ? As of now when I change the DPI from 100% yo 150% the font sizes remain the same, although the icons will scale down b
I need load a video of any file format into a CStatic control for my MFC application I have written the code as I studied from web to load it. The Code snippet is given below. But it doesn\'t work. An