Page 1 of 4 1234>
Topic Options
#96131 - 2002-11-27 12:03 AM Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hah ! Fixed that fast enough !
Top
#96132 - 2002-11-27 12:05 AM Re: Sorry, there are no new posts today.
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Not fast enough!!!

refreshed before you posted this...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#96133 - 2002-11-27 12:06 AM Re: Sorry, there are no new posts today.
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
You guys talk about bbchecker , eh ? [Roll Eyes]
_________________________



Top
#96134 - 2002-11-27 12:07 AM Re: Sorry, there are no new posts today.
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Yep...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#96135 - 2002-11-27 12:09 AM Re: Sorry, there are no new posts today.
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Should really try that one day .. uhmmm when will it be final ?
_________________________



Top
#96136 - 2002-11-27 12:10 AM Re: Sorry, there are no new posts today.
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Shawn,

was PMing to Jooel about this earlier and know it has been mentioned before, but could you tell us the status of the steal focus problem...
Can you solve it or do we have to learn to live with it...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#96137 - 2002-11-27 12:12 AM Re: Sorry, there are no new posts today.
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Jochen,

don't think it will ever be final... Jooel discovers new checker features every minute!!! (Now working on PMessenger...;sending PMs without IE!!!)
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#96138 - 2002-11-27 12:12 AM Re: Sorry, there are no new posts today.
Lee Wilmott Offline
Starting to like KiXtart

Registered: 2002-09-17
Posts: 106
Loc: Bristol, UK
Ah ha!

I was trying to look on the forums to see if anyone has mentioned the "Stolen Focus" problem using BBChecker!

I guess everyone's aware of it!

No need to say anymore!

Lee

Top
#96139 - 2002-11-27 12:18 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Unfortunately, I have yet to experience the "stolen focus" problem ... and not too sure if anyone is able to consistently demonstrate it using a scriptlet.
Top
#96140 - 2002-11-27 01:28 AM Re: Sorry, there are no new posts today.
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Shawn,

your wish... Oh well here you go:

a.kix
code:
;Used bbChecker as a source to test steal focus thingie
Break on CLS
$m = CreateObject("kixtart.form")
$m.caption = "Steal Focus - Main"
$m.width = 200
$m.height = 100
$m.Left = ($m.screen.width - $m.width) / 2
$m.top = ($m.screen.height - $m.height) / 2
$fbe = $m.button("Exit",60,50,80,20)
$fbe.onclick = "$$m.visible = 0"
$Loop = $m.timer(5000)
$Loop.ontimer="$$loop.interval=0 update() $$loop.interval=5000"
$m.visible=1
;$m.show
While $m.visible $x=Execute($m.doevents) Loop
Exit 0
Function update()
;$rc=MessageBox("Update function called","KiXtart message",64,2)
Call @scriptdir+"\b.kix"
EndFunction

b.kix
code:
 Break on CLS
$p = CreateObject("kixtart.form")
$p.caption = "Steal Focus - Child"
$p.width = 200
$p.height = 100
$p.Left = ($p.screen.width - $p.width) / 2 + 50
$p.top = ($p.screen.height - $p.height) / 2 + 100
$pfbe = $p.button("Exit",60,50,80,20)
$pfbe.onclick = "$$p.visible = 0"
$pLoop = $p.timer(2000)
$pLoop.ontimer="$$ploop.interval=0 $$p.visible=0"
$p.visible=1
;$p.Show
;$p.ShowInTaskbar = 0
$p.TopMost = 1
While $p.visible $y=Execute($p.doevents) Loop
Exit 0

Steps to reproduce:
  • Start IE
  • Start a.kix
  • Activate IE; still no stealing...
  • Click "Steal Focus - Main" in taskbar
  • Focus gets stolen every time child pops up
  • Click the taskbar "Steal..." twice again (see main going to taskbar)
  • Focus not stolen
Tested with: WinXP NL with SP1, KiXtart 4.12 and KiXforms 2.1.2.36
Going to bed now, will test tomorrow on Win2k US...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#96141 - 2002-11-27 01:39 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Beautiful work Patrick, this is top notch stuff really ... I can see the "problem" perfectly now ... now the question begs ... is this a bug or expected behavior (given that the mainwin is the "app" window, the the child is a popup) ...

The only analogy I can think of is between a main form and a dialog box, might be worthwhile to do some prototyping of this in VB ...

Top
#96142 - 2002-11-27 01:45 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Wait a sec, Im still confused. Clicking "Steal Focus - Main" from the taskbar would steal the focus no, because your activating the main app window.
Top
#96143 - 2002-11-27 01:50 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Ok, let me think this through ... when the mainform is minimized, the childform will popup and steal the focus (expected) but when its dimissed, instead of setting focus back to the "active task" on the desktop, it presumably set focus to the mainform ...
Top
#96144 - 2002-11-27 02:00 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Sorry, had that wrong ... when the main form is minimized, the child will popup and not steal the focus, when the main form is restored, it will steal the focus (expected) ... cripes, I thought I was seeing the child steal the focus but cant make it do it anymore ... ergg .... anyone can jump in here anytime ...
Top
#96145 - 2002-11-27 02:02 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah, the focus would get stolen because activating the mainform will steal the focus from IE, then the child will steal the focus from the mainform ...
Top
#96146 - 2002-11-27 02:06 AM Re: Sorry, there are no new posts today.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Shawn,
You're carrying that conversation all by yourself just fine. [Razz] Just for athe record, I have never had an issue with checker stealing focus.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#96147 - 2002-11-27 02:07 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Thinking it might be an NT thing ... thought if anything there was an issue with giving the focus back to the mainform (as opposed to having it steal the focus) ... just an NT thingy ?
Top
#96148 - 2002-11-27 02:12 AM Re: Sorry, there are no new posts today.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You mean an NT4 thing? Certainly behaviour has changed between NT4 and 5 (2K). FE, NT4 and Lotus Notes client, new mail notify would steal the focus from another app. Not so with 2K. 2K does however flash the icon in the taskbar when an app tries to steal focus. Don't recall checker doing that either.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#96149 - 2002-11-27 03:26 AM Re: Sorry, there are no new posts today.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey Les,

You like how all these Euro-Dudes start talking about this that and the other thing ... then fart-off to bed just when things get interesting ?

Top
#96150 - 2002-11-27 03:33 AM Re: Sorry, there are no new posts today.
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
IKWYM... except for Jooel... he often stays up with us. Wonder what his coffee intake is... [Eek!]

Then when we run the gauntlet at work in the morning finally getting to sit down in front of our PC with our first cup of coffee for the day, there's already a ton of that euro-babble to catch up on. 2 or 3 cups worth anyway...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 4 1234>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1003 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.073 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org