转自:http://dev.chinamobile.com/cmdn/bbs/viewthread.php?tid=2177&pid=10870&page=1&extra=page%3D1#pid10870
ActivateL是个好东西,好多人都想知道其内部实现,可惜苦于没有源代码。现在我把逆向代码贴出来,让大家一饱眼福,呵呵。错误在所难免。
RDrawableWindow* iWin;
CCoeControl::OwnsWindow() Tests if the control is window-owning...
CCoeControl::CapturesPointer() Tests whether pointer capture is set for the control.This returns true if SetPointerCapture() has been called with aCapture=ETrue.
CCoeControl::IsReadyToDraw() Tests if the control is ready for drawing.This returns true if the control has been activated and is visible
RWsSession::PurgePointerEvents() Removes all pointer events waiting to be delivered to this session.The events are removed from the event queue without be