ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Loosing focus (Sdk)
Loosing focus // SdkjeanphiNov 11, 1998, 5:31pm
Hello,
How do you guys do to recover the focus of active world browser ? I am programming under Delphi, and when I enter a command, or press a button on my application, I loose the focus of the activeworlds brwoser. That leads to not seeing the updates until I reclick inside AW browser. Can someone give me a hint ? thx jeanphi jeanphiNov 11, 1998, 10:50pm
Salut,
I guess that we can handle this problem with usingthe WIN32 API. Here is my call to all the SDK Programmers ! You guys know that when you press Alt-Tab, it changes the application you are using, so maybe we could use the win32 APIs to do so and get the focus back to AW Browser. What do you guys think ? Et toi XetaG ? jeanphi >Same happens to me, also with Hambots. I've made a narrow vertical >panel which fits next to the browser, and click back and forth. It >would be great if the next version of the brouwser could draw in the >background. Another option is using 2 computers on a network, one for >your browser and one for your bot <hehe>. Pas d' chance, hein..? > >XelaG > >On Wed, 11 Nov 1998 20:31:34 +0100, "jeanphi" [View Quote] x@x.com (xelag)Nov 12, 1998, 5:56am
Same happens to me, also with Hambots. I've made a narrow vertical
panel which fits next to the browser, and click back and forth. It would be great if the next version of the brouwser could draw in the background. Another option is using 2 computers on a network, one for your browser and one for your bot <hehe>. Pas d' chance, hein..? XelaG On Wed, 11 Nov 1998 20:31:34 +0100, "jeanphi" [View Quote] >Hello, > >How do you guys do to recover the focus of active world browser ? >I am programming under Delphi, and when I enter a command, or press a button >on my application, I loose the focus of the activeworlds brwoser. That leads >to not seeing the updates until I reclick inside AW browser. > >Can someone give me a hint ? > >thx >jeanphi > walter knupeNov 12, 1998, 3:25pm
Well, to solve that problem of focus loosing you can either ..
do as i do an talk to your bot inside of AW mostly... and second, you might want to use the FindWindow() API call and ShowWindow() to bring the AW browser to the front from your bot programm, but i don't really think thats a bright idea. but its better than having the browser render while beeing inactive... it would use way to much CPU time. Walter aka Faber jeanphi schrieb in Nachricht <364aae12.0 at homer>... >Salut, > >I guess that we can handle this problem with usingthe WIN32 API. >Here is my call to all the SDK Programmers ! > >You guys know that when you press Alt-Tab, it changes the application you >are using, so maybe we could use the win32 APIs to do so and get the focus >back to AW Browser. > >What do you guys think ? > >Et toi XetaG ? > >jeanphi > > > >button >leads > > |