Search results

  1. PB170

    Macintosh Toolbox programming questions

    After a couple of hours of searching and skimming through various resources online, I’ve come to realize that writing a custom WDEF probably would be just as difficult, if not more, than going through and rewriting the code. Programming on classic Mac OS sure requires a ton of patience...! Just...
  2. PB170

    Macintosh Toolbox programming questions

    Many thanks for the links! The tool window article look very thorough. Seems like I've got some more reading to do :) I'll see if I can find some information about implementing sliders on Mactech or elsewhere as well. Regarding the calendar module, the thing is that in this particular case I...
  3. PB170

    Macintosh Toolbox programming questions

    Thanks for the reply! Sorry for the late response on my part. I didn't assume that menus are windows. However, the popup menu in the calendar module is implemented as a window, and I just thought it would make sense if the altDBoxProc (plain box with shadow) had the same type of shadow as all...
  4. PB170

    Macintosh Toolbox programming questions

    Just a quick side question here :) (main post above) As a side project, I just started making some modifications to the MacCalendar calendar module that comes with the Control Strip development kit, to make it more visually pleasing (have been using it for many years but don't really like how...
  5. PB170

    Macintosh Toolbox programming questions

    No problem! We all help each other voluntarily here so I'm thankful for any response I get. I'm constantly surprised by all the great feedback. When I doubt that I will get any response at all, I get great replies like this. (There is however another open question that I would be happy to get a...
  6. PB170

    Macintosh Toolbox programming questions

    (Part 2 of the post above) A second issue that I encountered (and was able to work around) while developing the module is the following: When I moved over to work the voltage module, a need to deal with floating point numbers emerged. My first idea was to use the standard C functions. However...
  7. PB170

    Macintosh Toolbox programming questions

    After the lack of success with fixing the slider back in May (@Crutch, or anyone else: if you have any ideas about my post above, feel free to comment), I went back to the less elegant but slightly more functional popup menu instead. I then moved on to develop a second control strip module that...
  8. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    Naturally! Getting bug fixes for a 26 year old app is not something I had expected even here so I'm more than happy to! As an aside, I had planned to sit down on the top of our bed to relax and go through a bunch of old (physical) documents and search for related digital ones on old backups on...
  9. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    All right, the combined version is up now! My first guess would be that it's looking for the creator code. Out of curiosity, I tried changing it to something else and rebuild the desktop file, but the system still finds it. Just changing the file name also doesn't fool it. However, if both the...
  10. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    All right, the combined version is up now! My first guess would be that it's looking for the creator code. Out of curiosity, I tried changing it to something else and rebuild the desktop file, but the system still finds it. Just changing the file name also doesn't fool it. However, if both the...
  11. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    Thanks for the kind credit by the way :)
  12. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    I've made a Swedish version. I might be a good idea to append the language directly to the file name for clarity (and also to the version info, but I'm not sure about how to properly do that). Also, it might be more convenient to include the localized versions in the original sit file. Crutch...
  13. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    Wow! I haven’t had time to check the thread during the weekend but came back just now to see if anyone had replied and was amazed to see all the activity. This is fantastic! Amazing to see a fix for it this quickly. Works great! And thanks for including the source. Ps. According to my test, the...
  14. PB170

    Bug in Apple's Find File app (System 7.5 – Mac OS 8.1)

    While searching for some files with Apple's Find File app using the date options (something I often do), I noticed I wasn't getting the results I expected. After some testing, there appears to be a bug which manifests itself in the following, somewhat peculiar way: If the system clock is set...
  15. PB170

    Macintosh Toolbox programming questions

    Huge thanks for your effort and for looking into it! Interesting to read about the results of your test. At first it felt like great news if the error was indeed in the code and easily fixed. However… when trying it out on my machine, the updated code doesn't change anything :( Very confusing...
  16. PB170

    Macintosh Toolbox programming questions

    Haha  :lol: Well, while I like the thought of it, the company that brags about having having 90-ish percent of their users on their latest OS and do all they can get away with to improve that number, would probably ditch bug reports about anything older than the second latest version unless...
  17. PB170

    Macintosh Toolbox programming questions

    Oh, it's buggy alright  :) After having a first look at MacsBug, I played around a bit with a version of the control strip module that sets the initial value to "0" if the previously returned value is out of range (not using of MacsBug at this point) and discovered that if the module is just...
  18. PB170

    Macintosh Toolbox programming questions

    Thank you very much, and thanks for the tip! I include a corrected version of the project here. By the way, first step taken: :)
  19. PB170

    Macintosh Toolbox programming questions

    Like I said, I just missed it when I went back to Apple's example for my post here – it's been initialized properly throughout all my tests :)  It's initialized to 0 during the initialization call to the module after the global variables are allocated. Regarding the globals, is this level of...
  20. PB170

    Macintosh Toolbox programming questions

    Wow, cool to hear that you worked at Apple in the 90's! Must have been fascinating. Well… all I can do at this point is trust the examples provided :) although I try my best to fully understand how they work. Thank you for the instructions on Macsbug. Very helpful, once I get started with it...
Back
Top