• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carbon API to set the font for currently running application.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon API to set the font for currently running application.


  • Subject: Re: Carbon API to set the font for currently running application.
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 1 Apr 2009 09:38:19 -0700


On Apr 1, 2009, at 1:33 AM, pallavi khutal wrote:

Hello All,
I am working on Carbon C text service component.
I select the currently running application using :
ProcessInfoRec info = {0};
ProcessSerialNumber PSN = {0};
FSSpec fspec = {0};
OSErr res;
PSN.highLongOfPSN = 0;
PSN.lowLongOfPSN = kCurrentProcess;
info.processInfoLength = sizeof(info);
info..processName = procName;
info.processAppSpec = &fspec;
res = GetProcessInformation(&PSN,&info);
Using this I am getting currently running application eg. Adobe indesign cs3.
Now I want to set the font for typing .
Which Carbon C API will work for this purpose.
Please help me .
Thanks & Regards,
Pallavi.

Either the email@hidden or email@hidden lists will be better places for this question.


Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Carbon API to set the font for currently running application. (From: pallavi khutal <email@hidden>)

  • Prev by Date: Re: Adding custom toolbar items to my program's toolbar
  • Next by Date: Re: Enable Input method for MS Word Application
  • Previous by thread: Carbon API to set the font for currently running application.
  • Next by thread: xml parsing
  • Index(es):
    • Date
    • Thread