THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/03/2005 at 07:08, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.x
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
I finaly got the scrolling list of items working (more or less ;-)
I populated it with text, using AddStaticText.
Now, how do I get to know in what element the user clicked?
Until now I wrote this:
PluginDialog::Message(msg)
{var dev,chn;
dev = msg->GetData(BFM_INPUT_DEVICE);
if (dev == BFM_INPUT_MOUSE)
{
chn = msg->GetData(BFM_INPUT_CHANNEL);
if (chn == BFM_INPUT_MOUSELEFT)
{
***WHAT GOES HERE???***
}
}
return super::Message(msg);
}
Each static item has its own ID. Is there any way to know what was the clicked static text item?
Rui Batista