TweetFollow Us on Twitter

March 94 - Letters

LETTERS

FLOATING BUGS
I liked Issue 15's article on floating windows and have successfully implemented your routines. I did, however, find one bug. Your routine HideReferencedWindow can leave the process's window list pointing to a deallocated window when there are no floating windows.
-- Chester Murphy

Thanks for pointing this out. It's fixed -- along with some other small bugs -- in the code on this issue's CD. (It's been fixed since Issue 16's CD.)
-- Dean Yu

PRAGMATIC SOLUTION
Floating windows is one of my favorite subjects. I tried to compile your WindowExtension example, using THINK C 6.0. My first problem was with USES68KINLINES. THINK C checks the #pragma parameter with the function declaration. So I tried to use A1 and D0 as parameters, but then I needed a few more #pragmas for the activate handlers. I still don't have a working version.

Also, could you explain why we need CallUniversalProc? I'm quite happy with the C syntax.

Thank you very much for doing such a good job on the article.

-- Robert Puyol

The use of USES68KINLINES has changed since Issue 15 went to press. Currently, #pragma parameters aren't used any more, so you shouldn't have any problems using the header file with THINK C. Additionally, the new version of the floating windows code uses the universal header files that are discussed in the "Making the Leap to PowerPC" article in Issue 16 and are on this issue's CD. We recommend using CallUniversalProc in your source code (or one of its specific variants, like CallActivateHandlerProc in the floating windows code) to allow for greater portability of your source code between platforms. For a detailed explanation of using CallUniversalProc and UniversalProcPtrs, check out the aforementioned article in Issue 16.
-- Dean Yu

DESKTOP FILES REDUX
I liked Issue 15's Puzzle Page, about the damaged desktop files. I've seen this bug often, since I fix a lot of damaged hard disks. You probably know this, but if the desktop files get hosed in a certain way, rebuilding them in the Finder won't fix them. You have to delete them (or rename them) to get the Finder to build new files from scratch. AutoDoubler comes with a little utility called Desktop Reset just for deleting the desktop files.
-- David Shayer

I didn't know this when I wrote that Puzzle Page, but you're right. When the desktop file gets damaged to the point where the File Manager can't open it, the Finder can't rebuild the file, so you have to throw it away or rename it. Thanks for the feedback.
-- Konstantin Othmer

IF MORE OF YOU DON'T WRITE, WE'LL HAVE TO START MAKING THEM UP! We welcome timely letters to the editors, especially from readers reacting to articles that we publish in develop. Letters should be addressed to Caroline Rose (or, if technical develop-related questions, to Dave Johnson) at Apple Computer, Inc., 20525 Mariani Avenue, M/S 303-4DP, Cupertino, CA 95014 (AppleLink CROSE or JOHNSON.DK). All letters should include your name and company name as well as your address and phone number. Letters may be excerpted or edited for clarity (or to make them say what we wish they did). *

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All


Price Scanner via MacPrices.net

Take $150 off every Apple 11-inch M3 iPad Air
Amazon is offering a $150 discount on 11-inch M3 WiFi iPad Airs right now. Shipping is free: – 11″ 128GB M3 WiFi iPad Air: $449, $150 off – 11″ 256GB M3 WiFi iPad Air: $549, $150 off – 11″ 512GB M3... Read more
Apple iPad minis back on sale for $100 off MS...
Amazon is offering $100 discounts (up to 20% off) on Apple’s newest 2024 WiFi iPad minis, each with free shipping. These are the lowest prices available for new minis among the Apple retailers we... Read more
Apple’s 16-inch M4 Max MacBook Pros are on sa...
Amazon has 16-inch M4 Max MacBook Pros (Silver and Black colors) on sale for up to $410 off Apple’s MSRP right now. Shipping is free. Be sure to select Amazon as the seller, rather than a third-party... Read more
Red Pocket Mobile is offering a $150 rebate o...
Red Pocket Mobile has new Apple iPhone 17’s on sale for $150 off MSRP when you switch and open up a new line of service. Red Pocket Mobile is a nationwide MVNO using all the major wireless carrier... Read more
Switch to Verizon, and get any iPhone 16 for...
With yesterday’s introduction of the new iPhone 17 models, Verizon responded by running “on us” promos across much of the iPhone 16 lineup: iPhone 16 and 16 Plus show as $0/mo for 36 months with bill... Read more
Here is a summary of the new features in Appl...
Apple’s September 2025 event introduced major updates across its most popular product lines, focusing on health, performance, and design breakthroughs. The AirPods Pro 3 now feature best-in-class... Read more
Apple’s Smartphone Lineup Could Use A Touch o...
COMMENTARY – Whatever happened to the old adage, “less is more”? Apple’s smartphone lineup. — which is due for its annual refresh either this month or next (possibly at an Apple Event on September 9... Read more
Take $50 off every 11th-generation A16 WiFi i...
Amazon has Apple’s 11th-generation A16 WiFi iPads in stock on sale for $50 off MSRP right now. Shipping is free: – 11″ 11th-generation 128GB WiFi iPads: $299 $50 off MSRP – 11″ 11th-generation 256GB... Read more
Sunday Sale: 14-inch M4 MacBook Pros for up t...
Don’t pay full price! Amazon has Apple’s 14-inch M4 MacBook Pros (Silver and Black colors) on sale for up to $220 off MSRP right now. Shipping is free. Be sure to select Amazon as the seller, rather... Read more
Mac mini with M4 Pro CPU back on sale for $12...
B&H Photo has Apple’s Mac mini with the M4 Pro CPU back on sale for $1259, $140 off MSRP. B&H offers free 1-2 day shipping to most US addresses: – Mac mini M4 Pro CPU (24GB/512GB): $1259, $... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.