View Single Post
  #2 (permalink)  
Old 16th November 2005
Tizio Tizio is offline
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

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
Otherway tell me if you found it usefull or if you have problems in useing it.

Bye :)
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20