mfc
What problems could warning C4407 cause?
I got some warnings by using pure virtual interfaces on some MFC CWnd derived objects through multiple inheritance. I believe it\'s caused by defining the methods which need to be implemented for the[详细]
2023-04-07 13:58 分类:问答Strange program and debugger if statement behavior
This is a sanity check because I\'ve lost mine. I have a method IsCaptured() which compares an enum state member to a given value and returns a bool. I use this in conjunction with a mouse threshold[详细]
2023-04-07 11:53 分类:问答How to implement such style UI? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-07 10:04 分类:问答How to set radio button active manually (by code)?
I have 2 radio button say r1 and r2.grouped together and made r1 group as true from property. I have made bool variable(vr) and attached with these radio button(DDX).[详细]
2023-04-07 07:38 分类:问答Passing STL and/or MFC objects between modules
I have a rather large code base that is highly modular (lots and lots of plugins), and very often need to pass strings and such between modules. For reference, the code:[详细]
2023-04-07 07:17 分类:问答COleDateTime alternative for linux
Good Day. I have to make a C++ project Linux compatible. In the existing Project some old MFC functions were us开发者_高级运维ed. I am searching for a substitute for the COleDateTime wrapper. Does a[详细]
2023-04-07 06:48 分类:问答How to access AfxGetMainWnd() from CWinThread?
I\'m trying to create a worker thread in a class called ClientManager, but I can\'t get access to AfxGetMainWnd() from the new CWinThread, i.e:[详细]
2023-04-07 06:04 分类:问答Macro that accept new object
In my code, I have: #define EV( event ) SendEvent( new event ); E开发者_C百科V( evFormat ); But I want to pass a created object in the EV macro, like:[详细]
2023-04-07 01:29 分类:问答How do you call CMFCRibbonProgressBar methods from a different thread?
I have a simple CMFCRibbonProgressBar and a thread that calls SetPos(value, TRUE) on it when a lengthy operation progresses.[详细]
2023-04-06 21:22 分类:问答How to correctly refresh the ribbon's MFC default recent documents list?
How to correctly refresh the ribbon\'s MFC default recent documents list? The list in not updating correclty.[详细]
2023-04-06 21:18 分类:问答