mmsharing/mmshui/src/musuireceivecontainer.cpp
branchRCL_3
changeset 21 ce86b6d44a6d
parent 0 f0cf47e981f9
--- a/mmsharing/mmshui/src/musuireceivecontainer.cpp	Tue May 25 12:38:39 2010 +0300
+++ b/mmsharing/mmshui/src/musuireceivecontainer.cpp	Wed Jun 09 09:37:52 2010 +0300
@@ -315,6 +315,27 @@
                 (MusUiView()))->HandleCommandL( EMusuiCmdToolbarFullScreen );
         }
     }
-
-
+	
+	
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CMusUiReceiveContainer::UpdatePointerCapture()
+	{
+	MUS_LOG( "mus: [MUSUI ]  -> CMusUiReceiveContainer::UpdatePointerCapture" );
+	
+	if ( iFullScreen )
+		{
+		// In order to capture pointer events this container must be visible.
+		// Thus we make it as small as possible.
+		SetRect( TRect( 0, 0, 0, 0 ) );
+		MakeVisible( ETrue );
+		SetGloballyCapturing( ETrue );
+		SetPointerCapture( ETrue );    	
+		}
+	
+	MUS_LOG( "mus: [MUSUI ]  <- CMusUiReceiveContainer::UpdatePointerCapture" );
+	}
+	
 // end of file