locked
Accessing IDE font settings RRS feed

  • Question

  • Hi

     

    How can i retrieve information about font attributes used for IDE preferences dialog and other standard ones included in VS to use in extension forms (VSPackage)?

     

    Regards

     

     

     

     

     

    Friday, June 1, 2007 12:41 PM

Answers

  • The IUIHostLocale interface (specifically the GetDialogFont method) is what you're looking for.  QueryService for it using service ID SID_SUIHostLocale.  (I'm not sure if that makes complete sense if you're writing managed code -- if you still have questions, let me know.)

     

    -Josh

     

    Friday, June 1, 2007 6:28 PM