1. scrollbar blinking?

why does vertical scollbar blink (dont know if this is the right word, it
goes black and gray every second or so)
in win32lib?

new topic     » topic index » view message » categorize

2. Re: scrollbar blinking?

I can't see the effect you are describing. Have you got a short example that
I can look at?
----
Derek

----- Original Message -----
From: "Tone Škoda" <tone.skoda at zapo.net>
To: "EUforum" <EUforum at topica.com>
Subject: scrollbar blinking?


>
> why does vertical scollbar blink (dont know if this is the right word, it
> goes black and gray every second or so)
> in win32lib?
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: scrollbar blinking?

This is a multi-part message in MIME format.

------=_NextPart_000_0067_01C1743D.B85A5780
	charset="iso-8859-2"

Here it is, it's the same example I sent few days ago. And only scroll thumb
(the square in the middle that moves) is blinking.
It's same in EX10.EXW in win32lib 0.56
It doesnt blink with windows which have WS_VSCROLL style,
but only with stand alone scrolls.

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, November 23, 2001 1:24 PM
Subject: Re: scrollbar blinking?



I can't see the effect you are describing. Have you got a short example that
I can look at?
----
Derek

----- Original Message -----
From: "Tone Škoda" <tone.skoda at zapo.net>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, November 23, 2001 11:13 PM
Subject: scrollbar blinking?


>
> why does vertical scollbar blink (dont know if this is the right word, it
> goes black and gray every second or so)
> in win32lib?
>
>












------=_NextPart_000_0067_01C1743D.B85A5780
Content-Type: application/octet-stream;
	name="scroll.EXW"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="scroll.EXW"

-- ex01.exw
-- Last Changed on 1/06/2001 at 1:22:55 by Derek Parnell --
-- This opens a blank window
without warning
include win32lib.ew
with trace

object VOID
-- Set up the application's name
if setAppName("ex01") then end if


integer SimpleWin
integer Vertical_scroll

SimpleWin =3D create( Window, "Simple Window", 0, 0, 0, 200, 200,0 )
Vertical_scroll =3D create (VScroll, "Vertical scroll", SimpleWin, 0, 0, =
20, 100, 0)
setScrollRange (Vertical_scroll, 1, 10)
setScrollChange (Vertical_scroll, 1, 5)
setScrollPos (Vertical_scroll, 1)

procedure on_scroll (integer pos)
	integer hour, minute, second
	sequence date_return
	date_return =3D date ()
	hour =3D date_return [4]
	minute =3D date_return [5]
	second =3D date_return [6]
	VOID =3D message_box (sprintf ("pos=3D%d, time=3D%2d:%2d:%2d", {pos, =
hour, minute, second}), "scroll", 0)
end procedure
onScroll [Vertical_scroll] =3D routine_id ("on_scroll")

procedure xx(atom keycode, atom keymod, atom hotid)
integer aaa


    aaa =3D 1
    closeWindow(SimpleWin)
end procedure
VOID =3D setWinHotKey({'Q', MOD_CONTROL}, routine_id("xx"))

WinMain( SimpleWin, Normal )


------=_NextPart_000_0067_01C1743D.B85A5780--

new topic     » goto parent     » topic index » view message » categorize

4. Re: scrollbar blinking?

This is Microsoft's idea to let you know that the scroll bar has focus. If
you add another control to the program and give that new control focus, the
scroll bar stops flashing.
-----
Derek.
----- Original Message -----
From: "Tone Škoda" <tone.skoda at zapo.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: scrollbar blinking?



Here it is, it's the same example I sent few days ago. And only scroll thumb
(the square in the middle that moves) is blinking.
It's same in EX10.EXW in win32lib 0.56
It doesnt blink with windows which have WS_VSCROLL style,
but only with stand alone scrolls.

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, November 23, 2001 1:24 PM
Subject: Re: scrollbar blinking?



I can't see the effect you are describing. Have you got a short example that
I can look at?
----
Derek

----- Original Message -----
From: "Tone Škoda" <tone.skoda at zapo.net>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, November 23, 2001 11:13 PM
Subject: scrollbar blinking?


>
> why does vertical scollbar blink (dont know if this is the right word, it
> goes black and gray every second or so)
> in win32lib?
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu