[comp.sys.amiga.programmer] Demo version and string gadgets

GHGAQA4@cc1.kuleuven.ac.be (Tyberghein Jorrit) (02/05/91)

Hi,
  First of all, thank you for all your suggestions regarding
a demo version of my debugger. I'm sorry that I could not answer
all mails (not enough time to do that).
I think I will include some time limits/size limits and maybe
some anoying messages. One thing is sure : I will include a
lot of checks. A hacker will never know for sure when all checks
and limits are removed.

  I have another question. How do you DESACTIVATE a stringgadget.
I know one legal way : making another dummy stringgadget, activating
the dummy stringgadget and removing it. But there is another problem
with that : when you try to remove an activated stringgadget, the
stringgadget will not go away immediatelly (at least in 2.0). The
stringgadget will only be removed after the user pressed enter.
Is it safe to alter the gg_Flags field in the gadget structure and
clear the ACTIVATE bit ? I've tried this method too, but it seems
that it is not completely satisfactory.
What is the good method ? The only thing I need is a simple
DesactivateGadget call compatible with 1.3 and 2.0. (I've no
problem with two seperate solutions since my debugger has two
seperate versions).

                        Jorrit Tyberghein