A
active
I asked this in VB without results.
I'm not surprised that no one there knows anything about because it's kind
of an uncommon subject.
Maybe some one here knows.
Dim DataO As DataObject = CType(Clipboard.GetDataObject(), DataObject)
If DataO.GetDataPresent(DataFormats.Palette, False) Then
Dim cp As ColorPalette = CType(DataO.GetData(DataFormats.Palette),
ColorPalette)
Do you know why the second line returns true but cp is nothing?
Actually,
DataO.GetData(DataFormats.Palette)
is nothing
Thanks
I'm not surprised that no one there knows anything about because it's kind
of an uncommon subject.
Maybe some one here knows.
Dim DataO As DataObject = CType(Clipboard.GetDataObject(), DataObject)
If DataO.GetDataPresent(DataFormats.Palette, False) Then
Dim cp As ColorPalette = CType(DataO.GetData(DataFormats.Palette),
ColorPalette)
Do you know why the second line returns true but cp is nothing?
Actually,
DataO.GetData(DataFormats.Palette)
is nothing
Thanks