home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21136 < prev    next >
Encoding:
Text File  |  1993-01-10  |  903 b   |  24 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!gatech!rutgers!flop.ENGR.ORST.EDU!prism.CS.ORST.EDU!andersm
  2. From: andersm@prism.CS.ORST.EDU (Mark Anderson)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Changing contents of Toolbox globals?
  5. Message-ID: <1iq467INN8p4@flop.ENGR.ORST.EDU>
  6. Date: 10 Jan 93 21:24:23 GMT
  7. Organization: CS Dept, Oregon State University
  8. Lines: 13
  9. NNTP-Posting-Host: prism.cs.orst.edu
  10.  
  11. This might be a very simple question, but how do I change the contents of a
  12. Toolbox global variable?  Basically I want to change the value of the variable
  13. 'SysFontFam', 'SysFontSize', and 'LastSpExtra' in order to change the font
  14. used by my pop-up menus?  THINK Reference gave one example, but I got a
  15. syntax error message in THINK C when I tried it.  It looked like the following:
  16.  
  17.     extern short   DlgFont : 0xAFA;
  18.  
  19.     DlgFont = 3;
  20.  
  21. Any help would be appreciated.
  22.  
  23.                         - Mark J. Anderson
  24.