GeodeToken t = {"test". 5};
@send yourObject::MSG_GEN_REPLACE_VIS_MONIKER(VUM_NOW,
0,
0,
0,
VMDT_TOKEN,
0,
(dword)&t);
Thanks Derrick!
I would add two cautionary notes:
* Make sure you chose the right vismoniker method (REPLACE vs USE). Derrick
is correct in this case since he is copying a vismoniker from a source
location to a destination. See section 2.4.1 of the Objects book for
details.
* Visual Update Modes - Use VUM_NOW only when you really need the update
right away. If you are changing more than a few things on the screen at the
same time it's better to go with VUM_DELAYED_VIA_APP_QUEUE.
John ;-)