getAppTheme

Syntax

int getAppTheme(void)

Return

Returns true if the hosting application has enabled Windows XP / Vista style theming, false otherwise.

Description

Checks if the hosting application has enabled Windows themes.

Example

%fml
OnFilterStart: {
  if (getAppTheme()) {
    printf("Host application is themed.");
  }
  else printf("Host application does not support themes.");
  return false;
}

See Also

setCtlTheme, setDialogTheme