> home > Custom Layer Boundary API

get_active_view

September 8th 2024
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