Windows Ribbon for WinForms, Part 13 – DropDownColorPicker

Wednesday, November 11, 2009

Windows Ribbon for WinForms library now supports DropDownColorPicker control. The result of this post is a yet another sample, “11-DropDownColorPicker”, found on the project site. DropDownColorPicker Control The drop down color picker looks like this:   DropDownColorPicker Properties Following is the list of properties which are unique for DropDownColorPicker control. The rest of the properties have been reviewed in previous posts. Color – The selected color. Property Identifier: UI_PKEY_Color...

Setting Decimal value on PropVariant

Friday, October 16, 2009

PROPVARIANT is Important PROPVARIANT is an important COM structure that is used in many windows shell features like: Shell Namespace Extensions, Taskbar Jump List, Sensors and Windows Ribbon Framework, just to name a few. In order to use these shell features in managed code, one must provide a .NET wrapper for this struct. Now, you might have expected that if this struct is so important, there would be good .NET wrappers for it.. Unfortunately, this is not the case. The problem with this struct is that it is pretty...