Displaying 1 result from an estimated 1 matches for "text_format".
Did you mean:
test_format
2009 Apr 17
2
win32-clipboard issues and support for additional formats
...ported by VC++ 6.
Then we need a generic way to handle text or images:
# something like this
def self.data(format = TEXT)
begin
self.open
if IsClipboardFormatAvailable(format)
clipdata = GetClipboardData(format)
case format
when text_format
clipdata = get_text_data(clipdata)
when image_format
clipdata = get_image_data(clipdata)
when other_format
# ???
end
else
clipdata = ''''
end
ensure...