makeing a dilog or screen always in front of another program screen for control

i am useing VS C++ not .net i belive?  i want to make a small program screen or dialog in front of a fullscreen video player so that i may makes notes in a txt area or do controaling featurs with that dialog or program screen. the video player still has to beable to get keystrochs so that i may play or stop the video with ctrl f3 or somthing like that.  i also want it to beable to open differnet files to that player.  i think i can just do that with closing a handle and then opeing another video player? this dialog/program has to be in front but not be the active page all the time but still always be in front.  i dont know if i have to have this program/dialog pass the commands to the player or is there any way else to do it.  
i know i have repeted myself be i am trying to be clear on what it has to do.  i have no idea how to make screens acitve or always in front and how they interact with each other.
 thanks marc
Who is Participating?
opanzaConnect With a Mentor Commented:
To place a window above all other windows (non-topmost ones), use SetWindowPos as follows:

SetWindowPos( hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE );

where hWnd is the handle of your window/dialog. Your window will remain over the other, even if it loses focus.

For more information about SetWindowPos:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.