Windows 7: Prevent application from losing focus

后端 未结 1 1941
粉色の甜心
粉色の甜心 2021-02-05 13:34

I have a self-made fullscreen application for Windows 7 written in C++ which should run for a long time on its own as a public presentation.

Problem is, there are severa

相关标签:
1条回答
  • 2021-02-05 14:25

    Tweak UI does it by changing the SPI_SETFOREGROUNDLOCKTIMEOUT. You can combine this with LockSetForegroundWindow.

    0 讨论(0)
提交回复
热议问题