PhWindowQueryVisible

PhWindowQueryVisible — finds the visible extent of a window.

Syntax

PhWindowQueryVisible (flags, rid, input_group)

		

Arguments

flags

One of: query_graphics, query_input_group, query_exact, query_ig_pointer, query_ig_region.

rid

The region id.

input_group

The input group number.

Returns

The area as a PhRect.

Description

This function calculates the visible extent, based on the region type passed in flag, for every region intersecting with rid. One and only one flag must be set, but the rid can be 0.

The input_group should be the input_group field for an event, if there is any. Otherwise, use the value of the PHIG environment, if defined. If neither of these is available, use 1.

See Also

In Photon documentation: PhWindowQueryVisible.