THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/12/2012 at 08:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r13
Platform: Mac OSX ;
Language(s) : C++ ;
---------
So, I've been doing some more programming and I ran into an issue that a more experience plugin programmer has probably come across.
So in my plugin I did a LoadDialogResource(DLG_TEST,NULL,0) to utilize the res file and string file to create the dialog.
My issue is that in the .res file I've created some tabs (see below)
DIALOG DLG_TEST
{
.....
TAB TAB_ID
{
GROUP FIRST_TAB
{
....}
....etc
The tabs load up fine but for some reason I can't select each tab, it looks as if both of them are already selected. In the documentation it states "Use GetLong() and SetLong() with the sub-group ID to control the active tab"
Can someone elaborate on this for me? I am a bit lost as to what that means, I understand that it has to do with the GeDialog class but I'm not sure how I would get the sub-group ID, and where I would put this code in my derived class of the GeDialog class.
Thanks everyone for the help.