Skip to content

ShowCustomUiElement

nyfrk edited this page Aug 22, 2020 · 1 revision

ISettlers4Api::ShowCustomUiElement method

This method will unhide a custom UI element that has been created by ISettlers4Api::CreateCustomUiElement or ISettlers4Api::ShowMessageBox.

Syntax

BOOL ISettlers4Api::ShowCustomUiElement(
	S4CUSTOMUI handle
);

Parameters

handle

A handle to a custom UI handle. This is the return value of ISettlers4Api::CreateCustomUiElement or ISettlers4Api::ShowMessageBox.

Return value

This method will return TRUE if the operation was successful. Otherwise it will return FALSE.

Remarks

Use ISettlers4Api::HideCustomUiElement to make a custom UI element invisible.

Requirements

Minimum API Level 1
Target Edition Any
Header S4ModApi.h
Library S4ModApi.lib
DLL S4ModApi.dll

See also

ISettlers4Api::HideCustomUiElement

ISettlers4Api

ISettlers4Api::CreateCustomUiElement

ISettlers4Api::ShowMessageBox

Clone this wiki locally