Search results

  1. PB170

    Macintosh Toolbox programming questions

    I haven't had the time to delve into Think C's debugger or Macsbug yet so I'm currently not using them (still a beginner…), but it's definitely on the top of my list of things to learn more about. But the code is straight from Apple's example, so I assume everything is set up properly...
  2. PB170

    Macintosh Toolbox programming questions

    Hmm… I discovered just now that while the module with the slider that I included in the archive works more than the first time a selection is made in Mac OS 9 just like in my previous tests, it stops working after playing around with the slider for a while. However, if I change the ticksOnSlider...
  3. PB170

    Macintosh Toolbox programming questions

    Thank you! To reduce the potential for error to a minimum, I've gone back to the original code from Apple ("Control Strip Sample", included in the Control Strip development kit) and just added the code for the slider (and commented out Apple's code for the pop up menu). The original project...
  4. PB170

    Macintosh Toolbox programming questions

    Thanks for the links! I've been learning to program with the mac toolbox for quite a while now but I've been completely unaware of the existence of that magazine. What a wonderful resource! Programming on classic Mac OS suddenly feels like a much less disconnected endeavor :) Thanks...
  5. PB170

    Macintosh Toolbox programming questions

    I just discovered that if the control strip is aligned to the very bottom of the screen, or one pixel above, the pop up menu appears correctly. If it’s located more than one pixel above, the menu appears as in the video. Obviously some kind of bug. Unfortunately, all versions of the Control...
  6. PB170

    Macintosh Toolbox programming questions

    The values returned are negative, sometimes apart from the first time a selection is done, when they occasionally are positive but mostly negative and always different from the following selections (should be positive), which first had me believe it had something to do with unmatching data...
  7. PB170

    Macintosh Toolbox programming questions

    The code that I'm using is just a copy of the code for the sample control strip provided in Apple's Control Strip development kit. It too uses a function provided by the control strip environment (SBTrackPopupMenu). The only thing I've changed is the number of items in the MENU resource. I just...
  8. PB170

    Macintosh Toolbox programming questions

    All of the functionality is provided by the Control Strip extension / control panel, I believe (all functions prefixed with "SB" (short for "Status bar", which was the Control Strip's original name), as described in the Control Strip documentation). Also, the slider appears correctly. It's just...
  9. PB170

    Macintosh Toolbox programming questions

    No brilliant old school programmers who can help me out here, or point me in the right direction? :) I would prefer if it was possible to get the slider to work, but if it's actually a bug, and it's difficult to get around, making the popup menu appear correctly would be okay too. Right now...
  10. PB170

    The "Macintosh HD" name

    To, well, further add to the research :) , I digged out and skimmed through all of my Mac related material, and here's the result: Claris Works manual (Swedish, 1990): Macromedia Director 3.0 manual (English, 1991): Macintosh Performa manual (Swedish, 1992): PC Exchange manual...
  11. PB170

    The "Macintosh HD" name

    Hej ;) Interesting question :) I only remember seeing the name Macintosh HD (Mac user since circa 1991) Here's a photo of a product brochure from 1992 that I have. Apparently PowerBook HD was also an option :) Unfortunately, I don't have anything older than that so I'm unable to answer...
  12. PB170

    Macintosh Toolbox programming questions

    After searching for info about how to access and control the backlight for probably the fifteenth time, the Macintosh Portable development note suddenly appeared among the search results. Clicked it – and found the documentation for the backlight driver! I don’t own a Portable, so it never...
  13. PB170

    So I am not crazy.

    Still useful for any future readers to have a reply to an unanswered question, I think :) Besides, everything around here is old ;-)
  14. PB170

    Audio Waveform Visualizer for Mac 512k to SE/30?

    Late to the party here, but there's an app called WaveWindow by Rustle Laidman that will display the waveform of any audio received through the computer's microphone port (surprisingly, I see now the software is still available for current macs...
  15. PB170

    Problem with example in Macintosh Programming Primer

    Thanks! That's interesting. Makes sense. Do other compilers have similar ways of doing this, and is this way of doing it present also in modern systems? Just curios :) Do you think you will find a moment to explain how to build the popup menu directly and how to fix the code in the example...
  16. PB170

    Macintosh Toolbox programming questions

    Anyone else who have any information about this? Besides the backlight, reading the current system voltage, charging status and processor speed setting would also be interesting. Apart from this old forum post I haven't been able to find any information online or in Apple's documentation...
  17. PB170

    Problem with example in Macintosh Programming Primer

    By the way, I haven't come across this syntax before:    pascal OSErr SetDialogDefaultItem(DialogPtr theDialog, short newItem)        = { 0x303C, 0x0304, 0xAA68 }; Is this standard C syntax or something specific for the Mac or Think C? I assume the values inside the curly braces are...
  18. PB170

    Problem with example in Macintosh Programming Primer

    In the meantime, does anyone here have any ideas about why the texts don't fit in the popups like they do in the book? Book: My version: OS 9:
  19. PB170

    Problem with example in Macintosh Programming Primer

    Thank you! There's no rush, so take your time.
  20. PB170

    Macintosh Toolbox programming questions

    A second question:   One of the first small goals of my programming efforts has been to design a control strip module (or just an ordinary an app at this point, since I'm not quite there yet) that can display and maybe also change the current brightness setting for the backlight on my...
Back
Top