Sheppy
We read the same books I believe.
- Programmer's reference for System 6.0
page 394, tellFinderGetSelectedIcons
page 402, tellFinderSetSelectedIcons
It states "Do not set bit 31, or any other bits in the highest byte."
But...
- Programmer's reference for System 6.0.1
page 46, tellFinderSetSelectedIcons
It states "You can now set bit 31 of dataIn..."
Then, from my understanding, if bit 31 of dataIn is set, the stringList
handle's contents is no more a set of GS/OS input strings but a set of
records, each preceeded by a count word. Everything is described page
394.
My ideas:
-0- Are you using System 6.0.1?
-1- You still use GS/OS input strings
-2- You do not use GS/OS input strings
-3- There's a bug in System 6.0.1
Antoine
Two questions:
- do you have a fresh install of System 6.0.x and no other weird
extensions (like MountIt)?
- did you try with bit 31 = 0?
antoine
It's not a fresh install but there aren't any weird extensions
installed.
Regardless of the value of bit 31, the result is the same: the icon I
ask to select is selected, but all others are deselected.
Sheppy
Yes.
> -1- You still use GS/OS input strings
Yes, it's definitely a GS/OS input string. The one icon I'm trying to
add to the selection does get selected correctly, but all others are
getting cleared.
Sheppy