THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/06/2009 at 05:00, xxxxxxxx wrote:
ok. i now use private variable to be able to check them in the description. this works.. but the AM doesnt update correctly. i found a thread here which makes me think i have to use:
SendCoreMessage COREMSG_CINEMA_FORCE_AM_UPDATE
but i still need to find out how to use that...
ok..
this is what i have now, it works, but is it the right way to do it?
> `
\> Bool myPlugin::Message(GeListNode *node, LONG type, void *t_data)
\> {
\>
\> BaseContainer msg(COREMSG_CINEMA_FORCE_AM_UPDATE);
\> msg.SetLong(COREMSG_CINEMA_FORCE_AM_UPDATE, 0);
\> SendCoreMessage(COREMSG_CINEMA, msg, 0);
\> return TRUE;
\> }
\>
`
and is tthe following the right way to show/hide a bunch of elements?
> `
\> if (parameters1)
\> {
\> bc = description->GetParameterI(DescLevel(COUNTALONG), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, FALSE);
\> bc = description->GetParameterI(DescLevel(USETANGENT), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, FALSE);
\> bc = description->GetParameterI(DescLevel(ROTALONG), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, FALSE);
\> bc = description->GetParameterI(DescLevel(ROTTANGENT), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, FALSE);
\> }
\> else
\> {
\> bc = description->GetParameterI(DescLevel(COUNTALONG), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, TRUE);
\> bc = description->GetParameterI(DescLevel(USETANGENT), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, TRUE);
\> bc = description->GetParameterI(DescLevel(ROTALONG), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, TRUE);
\> bc = description->GetParameterI(DescLevel(ROTTANGENT), NULL);
\> if (bc) bc->SetBool(DESC_HIDE, TRUE);
\> }
\>
`