Page 1 of 5 12345>
Topic Options
#69461 - 2002-08-29 09:33 PM BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Jooel,

I hope you don't mind, but I redid your slider form so it wouldn't steal the focus from my current application anymore.

It uses a MSN Messenger-like popup window that slides up and down like your slider, but the focus stays on my current app. No more losing keystrokes while I'm working on something else.

It requires the latest version of KiXforms to work. Just replace the slider.kix file in the bbChecker folder.

code:
; New slider.kix for bbChecker

$Popup = CreateObject("Kixtart.Form")

$h = 120
$w = 300

$Popup.BorderStyle = 0
$Popup.ScaleHeight = 0
$Popup.ScaleWidth = $w
$Popup.ShowInTaskbar = False ; Not ready yet !
$Popup.TopMost = True

$popLabel = $Popup.Label(@crlf+@crlf+@crlf+@crlf+$sc,,,$w,$h)
$popLabel.BACKCOLOR = $Popup.RGB(255,255,255)
$popLabel.BorderStyle = 4
$popLabel.Alignment = 2

$Timer = $Popup.Timer(10)
$Timer.OnTimer = "Timer_Timer()"

$Popup.Top = $Popup.screen.height - (($b-3)+$Popup.Height)
$Popup.Left = $Popup.Screen.Width - ($w+15)
$Popup.Show
$DirectionIsUp = 1

While $Popup.Visible
$=Execute($Popup.DoEvents)
Loop

Exit(0)

Function Timer_Timer()
$Timer.Interval = 10
If $DirectionIsUp
$Popup.Height = $Popup.Height + 3
$Popup.Top = $Popup.Top - 3
If $Popup.Height => $h
$Popup.Height = $h
$Timer.Interval = 5000
$DirectionIsUp = 0
play "256t1d500f"
EndIf
Else
$Popup.Height = $Popup.Height -3
$Popup.Top = $Popup.Top + 3
If $Popup.Top >= ($Popup.Screen.Height-$b)
$Timer.Enabled = 0
$Popup.Hide
EndIf
EndIf
EndFunction



[ 03. September 2002, 19:41: Message edited by: Chris S. ]

Top
#69462 - 2002-08-29 09:36 PM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
chris, does it show up when you have full sized app on top?

if not, the purpose why I did is lost...
_________________________
!

download KiXnet

Top
#69463 - 2002-08-29 09:38 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Yes, sir. It uses the .topmost property to accomplish this feat.
Top
#69464 - 2002-08-29 09:41 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I just replaced the slide function in the main script (bbCheckerII.kix) to test it out. It might work better this way and eliminate the call to slider.kix altogether.
Top
#69465 - 2002-08-29 09:55 PM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
heh...

the only reason to put it in separate file was the lack of support on behalf of forms.

you know, when it was in the main script, I hanged the main script totally and as such useless...

if that is not happening with forms2 I should look at that too.

I'm taken some days of beginning tomorrow and will have some time to look at the script.

maybe I'll even get it updated [Big Grin]
_________________________
!

download KiXnet

Top
#69466 - 2002-08-29 09:58 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Yeah, it doesn't seem to be working when I include it with the main script.
Top
#69467 - 2002-08-29 10:00 PM Re: BBChecker II Update
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Chris,

I am trying your rev of Lonk's Code.. Problem is that I am getting a DOS Box that pops up and then goes away..

Hmm...

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#69468 - 2002-08-29 10:02 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Kent, that is interesting becuase the script is called using WKiX.

Hmm, indeed.

Top
#69469 - 2002-08-29 10:04 PM Re: BBChecker II Update
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I am using Lonkero's install program.. Using Kixtart 4.10.. Lemme go and grab 4.11.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#69470 - 2002-08-29 10:05 PM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
my install has 4.11 beta 1 in it and it call's for that.

it still seems to mess up if you have elsewhere on your path the executable...
_________________________
!

download KiXnet

Top
#69471 - 2002-08-29 10:05 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I think Jooel's install registers the KiXforms DLL. I had to re-register the 2.0.2 version after I installed it today.
Top
#69472 - 2002-08-29 10:16 PM Re: BBChecker II Update
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

Is there a new version of BBChecker? Just went to your site and it is dated 7 August 2002.

Thanks!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#69473 - 2002-08-29 10:19 PM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it re-registers it if the version number in the registry is lower.

kent, no. there is no later package.
I've been thinking of the update all the time, but somehow haven't done it.
_________________________
!

download KiXnet

Top
#69474 - 2002-08-29 10:22 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Kent, I had to re-copy and re-register the KiXforms dll and it worked. The DOS screen is probably because of the .Topmost property call.
Top
#69475 - 2002-08-30 02:28 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Edit on code. I commented out the 'cls' command (I was using it while running it under the KiX.exe). The 'cls' was causing a console window to pop up when the script was called.
Top
#69476 - 2002-09-03 07:43 PM Re: BBChecker II Update
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Tweak to the code. Slider now 'slides' up and down from the top of the taskbar.
Top
#69477 - 2002-09-04 12:30 AM Re: BBChecker II Update
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Chris,

Were is all of your new code ? Would be nice if we could get to the bottom of this "no-slider-in-main-script" thingy ...

Top
#69478 - 2002-09-05 11:41 PM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn is back?

I quess it's the same stuff that was causing problem at my beta code...
_________________________
!

download KiXnet

Top
#69479 - 2002-09-06 12:06 AM Re: BBChecker II Update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hence the topic,

if there is anyone wanting support for win9x there is one problematic part I can't test nor research.
the taskbar. I know what bits to change in w2k and nt but have no clue how to make it work in win9x.

there is nothing more to it but just all the positioning is done by the taskbar height.

 
_________________________
!

download KiXnet

Top
#69480 - 2002-09-06 12:20 AM Re: BBChecker II Update
MightyR1 Offline
MM club member
*****

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

Why rely on the taskbar height?
You could also let the slide bar start from the bottom of the screen and "overwrite" the taskbar. Changing the background color to yellow for example makes it easy to read the text...

Tomorrow (or today actually) I'll try the taskbar() function on Win9x for you...

(I've adjusted the code so it comes up in the middle of my screen)
_________________________
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
Page 1 of 5 12345>


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

Who's Online
1 registered (Allen) and 566 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.072 seconds in which 0.024 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