INTERACT FORUM

Windows => Plug-in Development => Topic started by: RhinoBanga on June 06, 2003, 10:01:56 am

Title: Question on V9 SDK
Post by: RhinoBanga on June 06, 2003, 10:01:56 am
What does the MJFiles.AlbumGroup function do?

I'd take a guess that it sorts the current file list according to your album grouping rules but looking thru Ole/Com Object Viewer I see it takes two bools and returns a bool.

What are these?

Also, if it does sort the list, how do you tell when the group changes?


Basically I was thinking I could change AV to give users an option to use MC9's albums list instead of AV deciding itself.
Title: Re: Question on V9 SDK
Post by: Matt on June 12, 2003, 08:46:52 am
Here's the function:

VARIANT_BOOL CMJFilesAutomation::AlbumGroup(VARIANT_BOOL bSort, VARIANT_BOOL bGroupIfOneAlbum)

What you end up with is one file from each album in the file collection.  Use pFile->GetAlbumFiles() to expand one file back to an album.

Hope that helps.
Title: Re: Question on V9 SDK
Post by: RhinoBanga on June 12, 2003, 08:56:40 am
Excellent ... thanks Matt.