简体   繁体   中英

How can I draw over a full screen application

I want to make a program to display information while I'm in another full screen application. Something like: show what song is playing(from Winamp) while in Starcraft II.

How would I got about doing that?

I would start by creating a new window with the topmost flag set. I think that will do what you want. You might have to manually move that window to the top of the topmost z order with a call to SetWindowPos. (SetWindowPos is a win32 call, but you can pInvoke it from C# if needed.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM