delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1501 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!sunic!sunic.sunet.se!news.lth.se!news.lu.se!ronneby.hk-r.se!news |
From: | pt93mg AT pt DOT hk-r DOT se (Mats Grahm) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: GrMouseGetEvent: flags??? |
Date: | 12 Aug 1995 19:39:21 GMT |
Organization: | College University of Karlskrona-Ronneby |
Lines: | 17 |
Distribution: | world |
References: | <DD104u DOT HEK AT freenet DOT carleton DOT ca> |
Reply-To: | pt93mg AT pt DOT hk-r DOT se |
Nntp-Posting-Host: | epimetheus.pt.hk-r.se |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
In article HEK AT freenet DOT carleton DOT ca, ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes: > > > It takes two p[arameters. One is a pointer to where to return a struct. > The other is a struct of flags. What should this struct contain? > flags is an int, not a struct: GrMouseGetEvent(int flags, MouseEvent &event) Just OR the events you are interested in, ie (M_BUTTONS_DOWN | M_MOTION). Take a look in the mousex.h file, there you find both the function prototypes and the #define'd flags. Mats
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |