Post Reply 
Can you discover if a DRAWMENU is on-screen?
05-16-2016, 10:39 AM (This post was last modified: 05-16-2016 10:41 AM by StephenG1CMZ.)
Post: #3
RE: Can you discover if a DRAWMENU is on-screen?
(05-16-2016 10:07 AM)DrD Wrote:  Something like this, perhaps? (You could do a GETPIX_P test to check for a menu presence, for a not-so-elegant means to an end ...)

DRAWMENU(""); // arguments empty,

RECT_P(); // clear the entire screen -or-
RECT_P(G0,0,220,330,240); // clear only the menu rectangular area.

-Dale-
I think you mean 320 not 330.
I didn't think you could ask if DRAWMENU was on-screen (ideally, by returning a list of its buttons), but I am surprised the DRAWMENU can't delete itself.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can you discover if a DRAWMENU is on-screen? - StephenG1CMZ - 05-16-2016 10:39 AM



User(s) browsing this thread: 1 Guest(s)