New answers tagged mfc
0 votes
How to bypass UAC check in an MFC app without modifying system registry ?
There is no code a standard user can run to just become an administrator. This is a fundamental constraint of secure operating systems.
1 vote
Accepted
Dark Mode Task Dialog
Why each attempt in this thread failed WH_CBT + SetWindowTheme(L"DarkMode_Explorer") on WC_DIALOG (Update 2) TaskDialog renders its content inside a DirectUIHWND child — not a WC_DIALOG. ...
6 votes
Accepted
Issue compiling template class
Here is MCVE: template<typename T> struct Base { void foo(){} }; template<typename T> struct Derived: Base<T> { void bar() { foo(); } }; int main() { ...
0 votes
Override of OnMoving() in MFC not functioning
I just had a look at the online documentation for WM_MOVING and it states the following: A window receives this message through its WindowProc function. Use ClassWizard to override the WinProc ...
0 votes
How to stop while loop by pressing a button in MFC dialog
Check for STOP action... // In main program, I have a while loop that does a long process... // Set m_bRunning = true before this while-loop // Open sqlite database and ratchet thru the table records....
Top 50 recent answers are included
Related Tags
mfc × 13185c++ × 7683
visual-c++ × 2966
winapi × 1469
windows × 1184
visual-studio × 634
visual-studio-2010 × 539
dialog × 372
multithreading × 338
dll × 322
visual-studio-2008 × 289
user-interface × 270
c# × 252
clistctrl × 226
com × 210
gdi × 180
activex × 174
atl × 173
mfc-feature-pack × 161
c-strings × 143
visual-studio-2012 × 140
c × 131
.net × 124
unicode × 124
visual-studio-2013 × 122