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.
Asked
Active
Viewed 580 times
1

Cody Gray - on strike
- 239,200
- 50
- 490
- 574

sashoalm
- 75,001
- 122
- 434
- 781
-
Have you considered that this is happening because the application is "busy" doing background processing? – Cody Gray - on strike Feb 09 '11 at 08:38
-
@Cody Gray: That's actually the default behavior in Windows and it's quite annoying in many scenarios including the one OP mentions. – sharptooth Feb 09 '11 at 08:50
-
@sharptooth: I think it's a perfectly sensible default behavior. Overriding it strikes me as a mistake. The hard disk light on the front of my computer blinks when I'm hitting the disk, too. But I haven't covered that up with black electrical tape. – Cody Gray - on strike Feb 09 '11 at 08:56
-
@Cody Gray: Yes, it is sensible default behavior and it makes sense most of the time, but it is *sometimes* annoying. – sharptooth Feb 09 '11 at 08:59
1 Answers
9
Set STARTF_FORCEOFFFEEDBACK
flag in dwFlags
member of STARTUP_INFO
struct that you pass to CreateProcess()
.

sharptooth
- 167,383
- 100
- 513
- 979