M
microming
Unregistered / Unconfirmed
GUEST, unregistred user!
如何把Tpoint转换为dword
FMPPlay_OnMove( HWND hWnd, int iX, int iY )
{
POINT Point;
memset( &Point, 0, sizeof( POINT ) );
ClientToScreen( hWnd, &Point );
FMPSet( ghMPEGStream, FMPI_VID_DEST_POS, MAKEDWORD( Point.x, Point.y ) );
}
FMPPlay_OnSize( HWND hWnd, UINT uiState, int iCX, int iCY )
{
RECT Rect;
memset( &Rect, 0, sizeof( RECT ) );
GetClientRect( hWnd, &Rect );
FMPSet( ghMPEGStream, FMPI_VID_DEST_SIZE, MAKEDWORD( Rect.right,Rect.bottom ) );
}
FMPPlay_OnMove( HWND hWnd, int iX, int iY )
{
POINT Point;
memset( &Point, 0, sizeof( POINT ) );
ClientToScreen( hWnd, &Point );
FMPSet( ghMPEGStream, FMPI_VID_DEST_POS, MAKEDWORD( Point.x, Point.y ) );
}
FMPPlay_OnSize( HWND hWnd, UINT uiState, int iCX, int iCY )
{
RECT Rect;
memset( &Rect, 0, sizeof( RECT ) );
GetClientRect( hWnd, &Rect );
FMPSet( ghMPEGStream, FMPI_VID_DEST_SIZE, MAKEDWORD( Rect.right,Rect.bottom ) );
}