Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/04/2003 at 10:11, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.100 Platform: Windows ; Language(s) : C++ ;
--------- Hi, I do some plugins and thei work. But in some plugs I do have dialog Box where is a Link in it ( for drap and drop )
In the dialog when I drop a oject, mat or others I put it in the BaseLink : Material *MatToCopy = (Material* )msg.GetMaterialLink(BFM_ACTION_VALUE, GetActiveDocument()); if(MatToCopy) { MatToCopyLink->SetLink(MatToCopy); AmaStatus("OK"); } In the class is done that way class AmaToolsDialog : public GeDialog { private: .... Filename MatFileToScan; .... BaseLink *FigureLink; BaseLink *MatToCopyLink; BaseLink *MatMatToolsLink; ..... }; Ok up to there is ok it work
Then I close the dialog because it takes room in the srceen ( exemple ok ) When a Open the dialog again the BaseLink ( MatToCopyLink ) is there, name, data, the link it self, etc... But it dont show up in the dialog box it self I mean visualy Any Idea for this ? Same with the Filemane ( MatFileToScan ) Thanks Niki