Yes you can use an IupUser for that purpose. POSTMESSAGE_CB is a special
callback that can be used for any control.

Best,
Scuri


Em qua., 15 de jul. de 2020 às 18:08, Matthew Kennedy <[email protected]>
escreveu:

> I'm looking for a non- control specific way to do something on the UI
> thread, but IupPostMessage needs a handle. Would it make sense for an
> IupUser handle to support a POSTMESSAGE_CB for this purpose? When I pulled
> the metadata for "user" class, It seems it doesn't support any callbacks
> (just the attribute CLEARATTRIBUTES).
>
> Maybe there should be another way to run something on the UI loop's
> thread?
>
> Matt
>
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to