Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Copies and Pages from the PDE



I have two related questions:

1) What dependency the other way, my PDE inspecting settings controlled
by another. For example, what if I want my PDE to behave differently
depending on whether Collate is on or off. When my PDE's
Sync(kSyncDirectionSetUserInterface) is called, can it rely that the
Copies & Pages PDE, or any other well known PDE, has already updated its
ticket values.

I remember this not being true, but memory is hazy and I might have been
thinking of the same case you just spoke about. Either way, I don't think
its clear if this read-only kind of dependency is acceptable or not.

2) About implementing dependencies between my own PDEs. Perhaps more a
CFPlugin question, but if I setup my bundle so that my PDEs were both
instances of the same plugin bundle, just with different factory
functions, would there truly be 2 distinct instances? Or instead could I,
say, share a global variable between them? If not, what ways are there
for two PDEs to coordinate? Just via the ticket?

Thanks!
Pierre

On Sat, 31 May 2003 21:30:42 -0700, Paul Danbold <email@hidden> said:

>Geza,
>
>The general rule is that one PDE should not change settings controlled
>by another PDE. An acceptable exception to that rule is when you have
>2 or more custom PDEs, in which case you are welcome to implement
>dependencies between the controls in your PDEs. As you note, the
>Copies & Pages PDE initializes its controls in Initialize() and does
>not respond to other PDEs trying to change those settings.
>
>-Paul
>
>
>On Wednesday, May 28, 2003, at 11:27 AM, Fabry, Giza wrote:
>
>> Hi Paul,
>>
>> In the printing dialog extension of my CFM application running on
>> 10.2.6 I
>> would like to update the Pages to: value in the Copies & Pages page
>> when the
>> user changes printing options in my PDE but I found that the numbers
>> set by
>> PMSetPageRange or PMSetLastPage are only respected at the dialog
>> initialization time.
>> For example CodeWarrior has a "Print Selection Only" checkbox in it's
>> PDE. I
>> would like to see the number of resulting pages in the Copies and Pages
>> section. Is it impossible or I am doing something wrong?
>>
>> Thanks,
>> Geza

--
Pierre Houston <mailto:email@hidden>
Senior Software Engineer Direct Ph: (604) 296-3635
Strydent Software, Inc. <http://www.strydent.com>
Suite 488 - 2608 Granville St. Office Ph: (604) 296-3600
Vancouver, BC, Canada V6H 3V3 Fax: (604) 296-3699
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.