Mail Archives: djgpp/1997/06/08/14:33:23
From: | gautam AT interlog DOT com (Gautam N. Lad)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Allegro GUI Woes :(
|
Date: | Sun, 08 Jun 97 05:44:04 GMT
|
Organization: | InterLog Internet Services
|
Lines: | 32
|
Message-ID: | <5neqr9$s0f@news.interlog.com>
|
NNTP-Posting-Host: | ip203-137.cc.interlog.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
For my tile editor, I've setup some GUI objects below the grid, such as
entryfields for filename, level name, Save, Open, and Exit buttons.
Here's the scenario:
I'm creating/placing tiles, and I want to save my current work. So, I move
over my GUI objects, type in the filename/levelname, and click Save.
When Save is clicked, the control is switched over back to the grid, so I can
continue placing more tiles. But, sometimes, I may just go over the GUI
(accidentally), so the GUI will start working. Before pressing any buttons, I
move the mouse over the grid again, and the control is set back to the grid.
The problem is the do_dialog(), when called, expects something to occur, and the
the function is exited. I don't want that. I expect the program to allow editing, if
the user is over the grid, but if the user goes in the GUI objects area, the
do_dialogs() is called.
I hope you understand what I mean!
Bye!
****************************************************
* Gautam N. Lad *
*--------------------------------------------------*
* *
* E-Mail : gautam AT interlog DOT com *
* Website : http://www.interlog.com/~gautam *
* *
* OS/2, DOS/Windows, Graphics Gallery, Software, *
* Links, Rayzor Editor/2, POV-Ray, TexturEyes, *
* POV-PAK and lots lots lots more!!!!!!! *
****************************************************
- Raw text -