![]() |
drawing on overlay from plugin Can a bitmap be drawn on the overlay surface? If yes, how? And if possible, how to get the width and height of the window (not the movie). |
What do you mean by "..how to get the width and height of the window.."? If you have any clues on VisualBasic programming, you can use the code I wrote here to retrieve the MovieWindow dimensions. The code you need is the second one, and in specific the following line: 'Retrieve the MovieWindowSize GetWindowRect ParentHwnd, Rec Then if you want the window size, you only have to make the following subtractions: MovieWindowWidth = Rec.Right - Rec.Left MovieWindowHeight = Rec.Bottom - Rec.Top If you didn't mention this.. don't consider my post :wink: Otherway tell me if you found it usefull or if you have problems in useing it. Bye :) |
10x for the info Tizio, but I still need to find out how to draw a bitmap on the OVERLAY. I need to know this because I'm working on a custom subtitle format with complete HTML 3.02 formatting (full color support, fonts, IMAGES, position, tables, div, etc). If I manage to make this plugin I would post it here (freeware) as well as an editor for creating subtitles. |
All times are GMT +1. The time now is 10:00 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger