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

If you want to resize the video window in Normal (NOT FullScreen) mode you may use BSP_IncMovWin=99 and BSP_DecMovWin=100 commands.
The problem is that you can't resize it to a predefined size, but only increment/decrement it. You should read from the movie file the MovieWindowSize and calculate the steps you have to increment the window (this only if BSplayer starts playing the movie in Original aspect ratio and with the original movie dimension).
If you want you can hide (and re-show) the BSplayer skin by sending the BSP_HideCtrl=59 command.

If the names are not so explanatory to you, you can go in the Lang folder of BSplayer, and take a look at "English.lng" file at the section [Actions]. There, are listed all the actions you can use in BSplayer (even the ones not included in the SDK).

Note that you have to decrement by 1 the values in the .lng file to match the ones used for the SendMessage calls.
File English.lng 21=Play
SDK Action BSP_Play=20
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