Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 608
sashoalm Avatar asked Apr 09 '26 00:04

sashoalm


1 Answers

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

like image 179
sharptooth Avatar answered Apr 10 '26 17:04

sharptooth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!