public int GetComboAttributes(int iCombo, out uint pcEntries, out uint puEntryType, out IntPtr phImageList) { pcEntries = (uint)_navigationTargets[iCombo].Length; DROPDOWNENTRYTYPE entryType = DROPDOWNENTRYTYPE.ENTRY_IMAGE | DROPDOWNENTRYTYPE.ENTRY_TEXT; puEntryType = (uint)entryType; phImageList = _imageList.Handle; return(VSConstants.S_OK); }
protected virtual void GetSettings(int iCombo, out int numberOfEntries, out DROPDOWNENTRYTYPE entryType, out ImageList imageList) { numberOfEntries = _combos[iCombo].Count; entryType = DROPDOWNENTRYTYPE.ENTRY_TEXT | DROPDOWNENTRYTYPE.ENTRY_IMAGE; imageList = null; }