mmsharing/mmshui/src/musuireceivecontainer.cpp
branchRCL_3
changeset 21 ce86b6d44a6d
parent 0 f0cf47e981f9
equal deleted inserted replaced
19:95754dcd27ad 21:ce86b6d44a6d
   313         // We respond to whatever pointer event by returning from fullscreen
   313         // We respond to whatever pointer event by returning from fullscreen
   314         (static_cast <CMusUiReceiveView*> 
   314         (static_cast <CMusUiReceiveView*> 
   315                 (MusUiView()))->HandleCommandL( EMusuiCmdToolbarFullScreen );
   315                 (MusUiView()))->HandleCommandL( EMusuiCmdToolbarFullScreen );
   316         }
   316         }
   317     }
   317     }
   318 
   318 	
   319 
   319 	
       
   320 // -----------------------------------------------------------------------------
       
   321 //
       
   322 // -----------------------------------------------------------------------------
       
   323 //
       
   324 void CMusUiReceiveContainer::UpdatePointerCapture()
       
   325 	{
       
   326 	MUS_LOG( "mus: [MUSUI ]  -> CMusUiReceiveContainer::UpdatePointerCapture" );
       
   327 	
       
   328 	if ( iFullScreen )
       
   329 		{
       
   330 		// In order to capture pointer events this container must be visible.
       
   331 		// Thus we make it as small as possible.
       
   332 		SetRect( TRect( 0, 0, 0, 0 ) );
       
   333 		MakeVisible( ETrue );
       
   334 		SetGloballyCapturing( ETrue );
       
   335 		SetPointerCapture( ETrue );    	
       
   336 		}
       
   337 	
       
   338 	MUS_LOG( "mus: [MUSUI ]  <- CMusUiReceiveContainer::UpdatePointerCapture" );
       
   339 	}
       
   340 	
   320 // end of file
   341 // end of file