Search results

  1. MacOfAllTrades

    ThinkC MacDock dev progress -- Like today's macOS Dock but for System 7

    4/30 Update -- RELEASED!!: See Git page at this link Download the .sit file directly from the Releases page (or direct download here) ---- original message follows: I filled up a few of the pages in the Study Group 2 thread with questions and progress on this program. It started as the...
  2. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    I think that's a good idea -- I've bo-guarded this thread far too much. I hope others are encouraged by it to post while I also don't think I should take up any more pages of this thread :). I'll do that. Thx
  3. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Blinking added. Thanks for the inspiration. For hover-over indication ill see what I come up with. First i have to find out how to detect where the mouse is periodically (I’m reading in Inside Macintosh it’s done by specifying a region and providing it to GetNextEvent and then adjusting that...
  4. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    That's Freakin Awesome!! Thanks for the inspiration. What animation program do you use??? I must say it fills me with pride just to see you having taken the time (hours? minutes? don't matter!) to take my little design and give it so much more life, still. Humbled. Thanks :) Oh and yes --...
  5. MacOfAllTrades

    ThinkC New INIT for Systems 6/7: Today’s the Day

    Git is great. A little less so if you have to transfer your code over to a a bridge machine to get it to git tho... And then there's the issue of losing the resource fork coming out of the classic world and into anything modern (ie what you'd use to get onto git). Git has a cool app(s) that...
  6. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Great ideas flowing here guys! I'll see what I can mock up. I def. like the idea of animations (pop up in some way) and definitely like the idea of making the Dock more easily accessible [namely when it's covered up in the background.... because if you have to unbury or use the native program...
  7. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    🙏 for the kind words and all the help. regarding keeping the app list up to date I just tried hooking the update function to the NullEvent handler and it works great. I dont know how terrible this is for processor performance tho!
  8. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Got through some of the Files and Process Manager sections of Inside Macintosh. I now have app switching working :-) See the video -- thanks all for the continued help. Yes - it's a demo - so there are plenty of missing pieces that the video doesn't expose such as: redrawing unhidden parts of...
  9. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    No need to do it with apple events. With my limited knowledge thats just what i thought was the way to do it not having seen anything about LaunchApplication in my learnings. If it isnt in the first dew chapters of the programming book this study group is following along with then theres a...
  10. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Thanks that should be lots with me to work with. Ill mess with it this weekend and post results.
  11. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Ah here was my debugging problem: In any event - I think I'm past my last issue. I spent a few hours tonight trying to find out how to construct an apple event that will launch or switch to another application. I thought using the kCoreEventClass, kAEOpenApplication and providing the...
  12. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Thanks for the suggestions. I'll play around with it all. Could be one of those things that doesn't make sense till it does. Also - how does ThinkC debugger handle multiple files. I see no way to force it to open other .c files unless I actually step->into a function that resides in another...
  13. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Thanks, Crutch, for the info. So I've nailed down the symptom a little better: I have my code split across two files. One bigger function in one fille and all the rest in the first file. When i consolidate them into one file it works no problem If i keep them split it crashes often.
  14. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    To the group: How long does my .c file have to be to where I should expect that phenomenon of the executable code being split across multiple chunks of memory or something..? And regardless, what does one have to do to account for that? Asking because I've had my whole program in a single...
  15. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    For future readers - PBDTGetIcon updates your supplied PBDTRecord’s ioDTBuffer data with the icon data(first the icon bits and then the mask bits), not a bit map directly. So yes to your final point that you can just set a BitMap’s baseAddr field to point to the first address of your bits (in...
  16. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Fruits of my labor: Now to find out why the Finder icon is a mess… and then of course make the program actually do something. thanks
  17. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Ah I’m close (and so far away). I’m at the point where I’ve set up all my stuff and can iterate through each process and then get its icon (im sure I’m doing this in a lame inefficient way setting up a PBRecord etc..). In the debugger I can see the bytes that make up the icon data and can tell...
  18. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    That’s right, I forgot! Well between LSD and the little diamond I thought maybe it was a drug reference or at least a Lucy In the Sky with diamonds thing. But Lightspeed Debugger makes more sense :)
  19. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Funny that process signature for the ThinkC debugger is LSD? Anyway thanks for the tips ok process info. I’m getting there… next I’ll pull up the icon and figure how to parse the data and then display it on my little dock!
  20. MacOfAllTrades

    ThinkC [Study Group 2] - Events & Menu Management

    Thanks! I have never used that but will try it for fun. I didn't do any research on whether something like my project exists mainly because I'm doing it to have a target to exercise what I'm learning in this programming tutorial so things like market acceptance and uniqueness aren't too...