Re: Carbon API to set the font for currently running application.
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