Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wgeticonpos(3W) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wseticonpos(3W)

,wseticon(3)

,wiconic(3W)

WGETICONPOS(3W)

Series 300 and 500 Only

NAME

wgeticonpos − get current icon position

SYNOPSIS

int wgeticonpos(fd,x,y);
int fd;
int *x,*y;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

x,y are pointers to the screen pixel coordinates for the position of the upper left hand corner of the icon representation of a window type with respect to the physical screen.  Positive, negative and zero values are allowed. 

DISCUSSION

The wgeticonpos function returns the icon representation position associated with the window device indicated by fd. 

(0,0) is the upper left hand corner of the screen. 

SEE ALSO

wseticonpos(3W),wseticon(3),wiconic(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for further information. 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026