Hi,

  FORMAT is a string, as described. Can be any string.

  FORMATDATA is a raw data. Can be any raw data.

 The application can use it to implement a custom clipboard data transfer.

  CF_PALETTE and others, are numbers. They are not related with FORMAT.

Best,
Scuri


Em qua, 26 de fev de 2020 17:59, Andrew Robinson <arobinso...@cox.net>
escreveu:

> Hi Antonio,
>
> So what is the syntax for FORMAT? Would it conform to Windows and accept
> things like CF_PALETTE or CF_TIFF or CF_WAVE and so on, or is it something
> else?
>
> Regards,
> Andrew
>
> On 2020-02-26 at 11:10 AM, Antonio Scuri <antonio.sc...@gmail.com> wrote:
>
>   Hi,
>
>   First, FORMAT in IupClipboard is NOT related to the FORMAT attribute in
> IupText.
>
>   This is a custom format string. The application copy and paste functions
> must know what it is copying and pasting in FORMATDATA based on that
> string. In other words you can copy&paste any data you want, considering
> you know what is the data.
>
> Best,
> Scuri
>
>
> Em ter., 11 de fev. de 2020 às 22:19, Andrew Robinson <arobinso...@cox.net>
> escreveu:
>
>> Thank you Ariset. That information should also be listed or linked under
>> the
>> Resources>IupClipboard text where it would do the most good.
>>
>> Regards
>> Andres
>>
>> On 2020-02-11 at 2:24 PM, Ariset <irt...@gmail.com> wrote:
>> > in the oficial documentation http://webserver2.tecgraf.puc-rio.br/iup/
>> > follow links Controls>Standard>IupText>FORMATTING
>> >
>> > 2020-02-05 16:05 GMT-03:00, Andrew Robinson <arobinso...@cox.net>:
>> >> Ola Antonio,
>> >>
>> >>
>> >> I was trying to determine what "FORMAT", "FORMATAVAILABLE" and
>> "FORMATDATA"
>> >> were defined as, but I can't seem to find anything. I thought it would
>> be
>> >> listed under Attributes --> Globals in the main documentation online,
>> but I
>> >> don't see where it is mentioned. Then I noticed that these attributes
>> are
>> >> listed as only being available "since 3.7", but since the latest
>> version of
>> >> IUP is 3.28, we aren't quite there yet. So what year will version 3.7
>> >> finally
>> >> be released so these attributes will be documented and available?
>> >>
>> >>
>> >> Regards,
>> >> Andres
>> >>
>>
>>
>>
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to