View Single Post
  #5 (permalink)  
Old 11th May 2003
Halle Halle is offline
Member
BS.player Regular User
 
Join Date: May 2003
Posts: 38
Rep Power: 0
Halle is an unknown quantity at this point
Default

Hi,

Sorry, I'm not a VB programmer, however, I can give you some code in C or asm.

C code to get current playing position in msec would look something like:

Code:
  HWND hWndBsplayer;
  DWORD dwMsecPos;
  hWndBsplayer = FindWindow("BSPlayer", NULL);
  dwMsecPos = SendMessage(hWndBsplayer, WM_BSP_CMD, BSP_GetMovPos, 0´);
Then dwMsecPos should contain the current playing position in msec.

cu
Halle
Reply With Quote
 

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