The program written in C++ MFC has a Dialog Window which plays a full screen video and the cursor is hidden.
I want to display the cursor when there is movement in mouse (video is playing in background)
Cursor disappears when the mouse is inactive for 3 seconds (Video still playing)
Example:It is just like any video player in fullscreen mode, where the controls are hidden if mouse is inactive and mouse movement gets the controls back.
I have tried
if(WM_MOUSEMOVE)
{ShowCursor(TRUE)}
in the BOOL CDialog1::OnInitDialog()
But it shows (TRUE) even if there is no mouse movement.
Thank you!