Hi,

OK the problem was alphaValue, I don't know how Apple handles it with an external not Apple´s mouse, but override in NSScroller the mouseExited, mouseEntered and set alphaValue to 1.0 all fixed

Davidap

El 13/4/21 a las 20:00, [email protected] escribió:
Send Cocoa-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.apple.com/mailman/listinfo/cocoa-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cocoa-dev digest..."


Today's Topics:

    1. Re: Scroller and not apple's mouse (Alex Zavatone)
    2. Re: Scroller and not apple's mouse (Alex Zavatone)


----------------------------------------------------------------------

Message: 1
Date: Tue, 13 Apr 2021 08:44:01 -0500
From: Alex Zavatone <[email protected]>
To: Allan Odgaard <[email protected]>
Cc: [email protected]
Subject: Re: Scroller and not apple's mouse
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Please show your code.  Otherwise, we have little to go on.

Sent from my iPhone

On Apr 13, 2021, at 2:41 AM, Allan Odgaard via Cocoa-dev 
<[email protected]> wrote:

?Probably two things relevant here.

One is General in system preferences which look like this:

![](cid:[email protected] "PastedImage.png")

A Magic Mouse may count as a ?track pad? so if you have this setting to 
automatic, the scrollers will only be shown when scrolling.

You can manually override the scroller setting: 
https://developer.apple.com/documentation/appkit/nsscroller/1523591-scrollerstyle

The style it sounds like you prefer is NSScrollerStyleOverlay.

However, I would discourage you from changing this.


On 13 Apr 2021, at 9:24, IOS NACSPORT via Cocoa-dev wrote:

Hi,

I connect any non-Apple mouse, turn off the Apple mouse and the scroll shows, 
in it I can?t change the background color. I used swift and macOS. Without 
another mouse, only magic mouse I can change this color without problem.

Regards

El 12/4/21 a las 23:40, Jack Brindle escribi?:
What is the mouse, and is there any installed software involved that goes with 
the mouse?

Jack


On Apr 12, 2021, at 12:30 AM, IOS NACSPORT via Cocoa-dev 
<[email protected]> wrote:

Hi,

I don't kown is the correct place, In a NSScroller, when I conect the external 
mouse, not apple's mouse, the scroll change and show always, the problem is 
that I can't change its background color. How could it? or at least make it 
clear.


Regards

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/jackbrindle%40me.com

This email sent to [email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/lists%2Bcocoa-dev%40simplit.com

This email sent to [email protected]
<PastedImage.png>
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com

This email sent to [email protected]

------------------------------

Message: 2
Date: Tue, 13 Apr 2021 08:44:45 -0500
From: Alex Zavatone <[email protected]>
To: Allan Odgaard <[email protected]>
Cc: [email protected]
Subject: Re: Scroller and not apple's mouse
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

And WHICH non-Apple mice are you using?

Sent from my iPhone

On Apr 13, 2021, at 8:44 AM, Alex Zavatone <[email protected]> wrote:

?Please show your code.  Otherwise, we have little to go on.

Sent from my iPhone

On Apr 13, 2021, at 2:41 AM, Allan Odgaard via Cocoa-dev 
<[email protected]> wrote:

?Probably two things relevant here.

One is General in system preferences which look like this:

![](cid:[email protected] "PastedImage.png")

A Magic Mouse may count as a ?track pad? so if you have this setting to 
automatic, the scrollers will only be shown when scrolling.

You can manually override the scroller setting: 
https://developer.apple.com/documentation/appkit/nsscroller/1523591-scrollerstyle

The style it sounds like you prefer is NSScrollerStyleOverlay.

However, I would discourage you from changing this.


On 13 Apr 2021, at 9:24, IOS NACSPORT via Cocoa-dev wrote:
Hi,

I connect any non-Apple mouse, turn off the Apple mouse and the scroll shows, 
in it I can?t change the background color. I used swift and macOS. Without 
another mouse, only magic mouse I can change this color without problem.

Regards

El 12/4/21 a las 23:40, Jack Brindle escribi?:
What is the mouse, and is there any installed software involved that goes with 
the mouse?

Jack


On Apr 12, 2021, at 12:30 AM, IOS NACSPORT via Cocoa-dev 
<[email protected]> wrote:

Hi,

I don't kown is the correct place, In a NSScroller, when I conect the external 
mouse, not apple's mouse, the scroll change and show always, the problem is 
that I can't change its background color. How could it? or at least make it 
clear.


Regards

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/jackbrindle%40me.com

This email sent to [email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/lists%2Bcocoa-dev%40simplit.com

This email sent to [email protected]
<PastedImage.png>
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com

This email sent to [email protected]

------------------------------

Subject: Digest Footer

_______________________________________________

Cocoa-dev mailing list      ([email protected])

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com

https://lists.apple.com/mailman/listinfo/cocoa-dev


------------------------------

End of Cocoa-dev Digest, Vol 18, Issue 18
*****************************************
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to