Home Notices Documents Classes Download Others Rice
Classes  >  winframe  >  Width
winframe class : Width getter

Description

Gets a width of a window.

Syntax

winframeInstance.Width

Arguments

None

Return value

ClassDescription
intA width of a window.

Sample code

1:

wfpool wfp;

2:

winframe winframeIns = wfp.GetActive(); // Gets a window that has focus.

3:

int w = winframeIns.Width;

Notes

The unit is physical pixel.

Links for reference

None.

Copyright © Rice All rights reserved.