Ejemplo n.º 1
0
        public bool findSubItemWith(uint column, String name, out uint index)
        {
            UIntPtr result = MultiListBox_findSubItemWith(widget, new UIntPtr(column), name);

            index = result.horriblyUnsafeToUInt32();
            return(UIntPtr.Size == 4 ? result.horriblyUnsafeToUInt32() != UInt32.MaxValue : result.ToUInt64() != UInt64.MaxValue);
        }
Ejemplo n.º 2
0
        public bool hasItemSelected()
        {
            UIntPtr result = MultiListBox_getIndexSelected(widget);

            //Check for max values depending on current runtime (32 or 64 bit).
            return(UIntPtr.Size == 4 ? result.horriblyUnsafeToUInt32() != UInt32.MaxValue : result.ToUInt64() != UInt64.MaxValue);
        }
Ejemplo n.º 3
0
 private void nativeEvent(IntPtr widget, UIntPtr index)
 {
     //Fill out the ComboBoxEventArgs
     eventArgs.Index = index.horriblyUnsafeToUInt32();
     fireEvent(eventArgs);
 }
 private void nativeEvent(IntPtr widget, UIntPtr position)
 {
     eventArgs.Position = position.horriblyUnsafeToUInt32();
     fireEvent(eventArgs);
 }