#String gadget problem
6 messages in this thread
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!!
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
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.
Sorry, I can't…just think that it would work. Talk to Khalid.
ACG
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
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….