AW: [cc65] Geos and Menu items

Date view Thread view Subject view

From: Dirk Schnorpfeil (D.Schnorpfeil_at_web.de)
Date: 2003-05-04 18:25:02


You need to call Goto1stMenu() at first in your menu handler.

Ciao, Dirk.

-----Ursprüngliche Nachricht-----
Von: owner-cc65_at_musoftware.de [mailto:owner-cc65_at_musoftware.de] Im
Auftrag von Francesco Sblendorio
Gesendet: Dienstag, 29. April 2003 11:33
An: cc65_at_musoftware.de
Betreff: [cc65] Geos and Menu items


I'm trying to have working menus... but it happens that, at the end of
the execution of a function associated to a menu item, the systems hangs
up - the only thing that seems to work is "exit(0)" to re-load the
DeskTop.

I've written extremely simple functions, such as:

void menuOpen(void)
{
 PutString("Open",30,10);
}

After the PutString, I want the system to enter the main loop, so I
tried
this:

void menuOpen(void)
{
 PutString("Open",30,10);
 MainLoop();
}

but the result is the same: the system hangs up. I searched some example
in the docs, but I didn't find it.

How can I make the system loop continue after the executing of the
function?

Thanks in advance.



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-05-04 18:25:55 CEST