amiga-news DEUTSCHE VERSION
.
Links| Forums| Comments| Report news
.
Chat| Polls| Newsticker| Archive
.

amiga-news.de Forum > Programmierung > window->WA_Left ??? [ - Search - New posts - Register - Login - ]

-1- [ - Post reply - ]

2003-08-16, 16:09 h

AmigaPapst
Posts: 980
User
Ich möchte von einem geöffnten Fenster, welches man verschieben kann, die Position WA_Left und WA_Top abfragen und diese als Int-Zahl speichern.

Wie komme ich an die WA_Left & WA_Top Werte?



Folgendes hat bei mir nicht funktioniert:

WORD test;
struct Window *window;

...

test = (window->WA_Left);

[ - Answer - Quote - Direct link - ]

2003-08-16, 19:31 h

thomas
Posts: 7717
User

Schau mal in intuition/intuition.h !

x = window->LeftEdge;
y = window->TopEdge;

Gruß Thomas

--
Email: thomas-rapp@web.de
Home: home.t-online.de/home/thomas-rapp/

[ - Answer - Quote - Direct link - ]

2003-08-17, 16:03 h

AmigaPapst
Posts: 980
User
Danke für die schnelle Hilfe.

[ - Answer - Quote - Direct link - ]


-1- [ - Post reply - ]


amiga-news.de Forum > Programmierung > window->WA_Left ??? [ - Search - New posts - Register - Login - ]


.
Masthead | Privacy policy | Netiquette | Advertising | Contact
Copyright © 1998-2024 by amiga-news.de - all rights reserved.
.