I would love to give users of my DFC Dashboard EA the option to have each newly-opened chart starting minimised.
Any of you Clever Clogs know how to do this?
Steve,SteveHopwood » Thu May 18, 2017 5:44 am wrote:One for the Proper Coders here.
I would love to give users of my DFC Dashboard EA the option to have each newly-opened chart starting minimised.
Any of you Clever Clogs know how to do this?
Code: Select all
bool chartMinimize(long chartID = 0) {
if (chartID == 0) chartID = ChartID();
int chartHandle = (int)ChartGetInteger( chartID, CHART_WINDOW_HANDLE, 0 );
int chartParent = GetParent(chartHandle);
return( ShowWindow( chartParent, SW_FORCEMINIMIZE ) );
}