## The `winptr' property

Synonym: hdc

Read-Only, Integer Scalar

Valid for: Window, Document, Dialog. Under Windows, also valid for Check, Radio, Button, Progress, Trackbar, Spinner, Scroll, List, Combo, Edit, RichEdit, Movie, Selector, Page, Treeview, Frame, Grid

The `winptr` property is used for low-level programming only. Under MacOS, its value is the GrafPtr pointer to window. It can be passed to MacOS calls which require a GrafPtr argument. You can also retrieve the WindowPtr as the `handle` property.

Under Windows, the winptr property represents the device context (HDC) of the window or control. It can be passed to Windows calls which perform graphics operations.

Topic: APLX Help : System Classes : Properties : winptr

[ Previous | Next | Contents | Index ]