(03-04-2014, 01:23 PM)VincentDoan Wrote: How do you check or uncheck the panel flyout menu item?
I looked in the entry class, it is not there.
This has not been implemented yet, and is on our to-do list. For now, you will simply have to change the title of the affected flyout entry.
For example, if you had a flyout entry that would show additional options for your panel, then you could toggle its value from "Show Options" to "Hide Options", etc.
(03-04-2014, 02:30 PM)VincentDoan Wrote: by the way, CORE thinks CS5 does not support multi arboards, but it does.
Where did you see this limitation? In the hdi::core::CurrentDocument class, you can access the various artboards in CS5 and above. The hdi::core::Artboard class itself is also available in CS5 and above. I am unaware of any other place that enforces a limitation on Artboards, so if you found something else then please let me know.
(03-05-2014, 12:50 AM)VincentDoan Wrote: You mention to check if CORE already acquired certain suite, then don't acquire it, so how do you this?
Also I need at least the basic suite to acquire other suites, but how do I get SPBasicSuite in the first place?
The linker output lots of duplicate symbols from my suite declarations and CORE's.
The sSPBasic global is always available, so you can use it at any time. The linker is probably outputting errors for duplicate symbols because you are redeclaring suite globals. Don't redeclare them, just extern them.
If you have lines like:
Code:
AIArtSuite* sAIArt = NULL;
Code:
extern "C" AIArtSuite* sAIArt;
Then, when you need to use a suite, check if it is already present and acquire it if not. For example:
Code:
if(sAIArt == NULL)
{
sSPBasic->AcquireSuite(kAIArtSuite, kAIArtSuiteVersion, &sAIArt);
}
You could write a macro to help with this if you need do it a lot.
(03-04-2014, 02:30 PM)VincentDoan Wrote: this flyout is not working for me:
...
Thanks for reporting this, it appears to be a bug in this version of CORE. A fix will be included in the next version.