Skip to main content

New answers tagged

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.
Ian Boyd's user avatar
  • 260k
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. ...
Memo Arfaa's user avatar
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() { ...
user7860670's user avatar
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 ...
Andrew Truckle's user avatar
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....
Dewey Carmack's user avatar

Top 50 recent answers are included