Search code examples
windowswinapicreateprocessbusy-cursor

Avoid hourglass after calling CreateProcess


In my Win32 app I embed ffplay.exe for video preview. It works great but each time I start a preview the cursor becomes "busy", i.e. arrow+hourglass. I want to avoid that.


Solution

  • Set STARTF_FORCEOFFFEEDBACK flag in dwFlags member of STARTUP_INFO struct that you pass to CreateProcess().