INTERACT FORUM

Windows => Plug-in Development => Topic started by: GrantDG on February 25, 2012, 12:05:03 am

Title: Query "Stop after current file" status
Post by: GrantDG on February 25, 2012, 12:05:03 am
Is there a way to query (using MCC) for the status of "Stop after current file" (I know I can set it - I want to know IF it's set)

I'm building a UI, and would be good to be able to display...
Title: Re: Query "Stop after current file" status
Post by: Matt on April 09, 2012, 08:09:10 pm
It looks a little like this:
if (SendMessage(hwndFrame, WM_MC_COMMAND, -MCC_STOP_AFTER_CURRENT_FILE, 0) & MCC_UPDATEUI_PRESSED)
{
   // 'Stop after current file' is checked
}

Definitions:
http://www.jriver.com/DevZone/MCCommands.h