BlackBerry.Screen.ScreenEvent.GetIntPtrProperty C# (CSharp) Method

GetIntPtrProperty() public method

public GetIntPtrProperty ( System.Property property ) : IntPtr
property System.Property
return System.IntPtr
        public IntPtr GetIntPtrProperty(Property property)
        {
            IntPtr val;
            screen_get_event_property_pv (handle, property, out val);
            return val;
        }

Usage Example

コード例 #1
0
        bool HandleWindowEvent(ScreenEvent ev)
        {
            var handle = ev.GetIntPtrProperty(Property.SCREEN_PROPERTY_WINDOW);

            if (!windows.ContainsKey(handle))
            {
                return(false);
            }
            windows [handle].HandleEvent(ev);
            return(true);
        }
All Usage Examples Of BlackBerry.Screen.ScreenEvent::GetIntPtrProperty