> home > Custom Layer Boundary API

get_active_view

January 19th 2020
Get the id of the active view

Signature

C++
View_ID
get_active_view(Application_Links* app,
                Access_Flag access);

Parameters

app

the standard custom layer context pointer

access

the type of access requirements that the view must satisfy

Return

the id of the active view, if it can satisfy the access requirements, zero otherwise