Groups | Search | Server Info | Login | Register


Groups > comp.sys.apple2.programmer > #47

Re: tellFinderSetSelectedIcons question

From antoine <info@brutaldeluxe.fr>
Newsgroups comp.sys.apple2.programmer
Subject Re: tellFinderSetSelectedIcons question
Date 2011-07-10 23:52 +0200
Organization A noiseless patient Spider
Message-ID <ivd6v7$71b$1@dont-email.me> (permalink)
References <7f04100f-e3e5-4c1d-8660-3881242b2e50@y24g2000yqb.googlegroups.com>

Show all headers | View raw


On 2011-07-10 21:58:35 +0200, Sheppy said:

> The high bit of dataIn here (which is supposed to let me indicate to
> leave currently selected icons selected) doesn't seem to be working
> for me. Instead, regardless of what I do, the current selection is
> getting cleared. Anyone have any idea why?
> 
> 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

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

tellFinderSetSelectedIcons question Sheppy <the.sheppy@gmail.com> - 2011-07-10 12:58 -0700
  Re: tellFinderSetSelectedIcons question antoine <info@brutaldeluxe.fr> - 2011-07-10 23:52 +0200
    Re: tellFinderSetSelectedIcons question Toinet <antoine.vignau@laposte.net> - 2011-07-10 15:09 -0700
      Re: tellFinderSetSelectedIcons question Sheppy <the.sheppy@gmail.com> - 2011-07-10 21:56 -0700
    Re: tellFinderSetSelectedIcons question Sheppy <the.sheppy@gmail.com> - 2011-07-10 21:55 -0700
      Re: tellFinderSetSelectedIcons question Toinet <antoine.vignau@laposte.net> - 2011-07-11 10:56 -0700

csiph-web