Article View: comp.windows.interviews
Article #120HELP: patches and buttons
From: Bruschke BAH
Date: Tue, 28 Jul 1992 09:39
Date: Tue, 28 Jul 1992 09:39
19 lines
1298 bytes
1298 bytes
We are stuck on the following problem: We made a box that contains buttons. This box can variate in size during the execution of the program in which it is used. Therefor we made it a patch, so it can be reallocated and redrawn. We believe that we call reallocate and redraw at the right moments because when for example we have a box with 5 buttons and empty this box and fill it with 7 buttons, these 7 buttons are correctly displayed. The problem is however that the last two buttons in this example can't be pressed (i.e. if we click on one of the last two buttons, WHICH ARE OUTSIDE THE AREA WHICH WAS OCCUPIED BY THE 5 ORIGINAL BUTTONS, press() isn't called). Does anyone know how this is caused or how this is solved? Does the repick() member in patch have anything to do with this, and if so, how should we use it? Many thanks in advance, greetings, Ben Bruschke <ben@cs.vu.nl> Rindert Bul <rgbul@cs.vu.nl>
Technical Details
Message-ID:
<15580@star.cs.vu.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!ben@cs.vu.nlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!ben@cs.vu.nl From: ben@cs.vu.nl (Bruschke BAH) Newsgroups: comp.windows.interviews Subject: HELP: patches and buttons Message-ID: <15580@star.cs.vu.nl> Date: 28 Jul 92 09:39:36 GMT Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam Lines: 19