开发者

How to draw on screen using RealBasic, Visual basic? Where i have one default laptop screen and second monitor

开发者 https://www.devze.com 2023-03-17 02:01 出处:网络
I have m开发者_如何学Goy laptop default screen and second screen. How can I write RealBasic, VisualBasic (Java not possible) application which can allow me to paint on desktop (both screen)?Most likel

I have m开发者_如何学Goy laptop default screen and second screen. How can I write RealBasic, VisualBasic (Java not possible) application which can allow me to paint on desktop (both screen)?


Most likely you won't be able to draw directly to the screen, but you could potentially grab screenshots of each screen and then draw onto those. Depending on what exactly you're trying to do with your application, it would almost definitely be a more realistic goal to grab a screenshot of each screen and then simply display the screenshots in standard windows that take up the entire screen, letting you then edit and "draw" onto the screen there.

Another option would be to create a transparent window, and then intercept mouse clicks and present information on that window.

If you're using RB on a Mac, you can use the Monkeybread Software Plugin to create a NSWindowMBS and modify the alpha value or an OverlayWindowMBS. It looks like you're trying to do this on Windows, though, so this won't work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号