CompuServe Thread

#String gadget problem

6 messages in this thread
#58475From: Lou BertatoJul 23, 1989 5:09 PM
I did not get that active string gadget resolved. There is another thing that this active string gadget does when I select a menubar selection with the leftamigakey-key equivalent!! I have an 'About…' selection in the menubar, with the LeftAmigaKey-F being the keyboard equivalent. When the A-F is selected with the string gadget being active, the 'about' requester pops up with text, and one 'continue' gadget. I can see that the string gadget is still active. "I even have the ACTIVATE flag set in the newwindow structure of the requester!". When I press the continue gadget, the requester should disappear, but what happens is the string gadget becomes inactive. I press the continue gadget again, and the requester goes away. So what I basically did, was press the 'continue' gadget twice. One to deactivate the string gadget, and one to close the requester. As I mentioned in another message, 'I wish there was a DeActivateGadget()'! I tried several ways of deactivating this string gadget after selecting the keyboard equivalent menubar selection, but nogo!!
#58596From: A. Caleb GattegnoJul 24, 1989 7:31 AM
Have you tried simulating an input.event to intuition telling it of a mouse click somewhere safe (like the lower left corner of the window) to deselect the gadget? I know it's messy, but it's what comes to mind. ACG
#58629From: Lou BertatoJul 24, 1989 5:40 PM
I'm interested…..can you show me how to simulated a mouse click in the window using the input.device so that intuition can pick it up, and send it to my program? I never fooled around with the input.device before.
#58653From: A. Caleb GattegnoJul 24, 1989 6:40 PM
Sorry, I can't…just think that it would work. Talk to Khalid. ACG
#58761From: Brian BartlettJul 25, 1989 4:55 AM
Luciano, I recommend you talk to Khalid Aldoseri PPN 75166,2531. His program Scripit will simulate mouseclicks, doubleclicks, Rawkeys, etc… He'd know if anyone would. Brian J. Bartlett
#58789From: Lou BertatoJul 25, 1989 11:55 AM
I know that the input.device can be used to simulate the mouseclicks, and other intuimessages. I'm reading up on this right now. If I can't find the solution, then I'll have to ask Khalid for some serious help….