Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / September 2003

Tip: Looking for answers? Try searching our database.

User friendly UI via system/screen log font

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony - 21 Sep 2003 01:59 GMT
Hi all,

I've been researching MSDN and news forums for the past few days trying to
achieve a more user friendly UI, similar to what MS applications (and
others) do with regards to using system display settings. For example, MS
Outlook uses the system/screen icon log font (established under the
machine's display properties dialog box) to set up the font inside the
outlook bar and folder tree view. I would also like to use this font setting
but cannot find anyway under .NET to retrieve it. The closest my research
has come would be to use the win32 API
SystemParametersInfo(SPI_GETICONTITLELOGFONT, ...) function. Something I
would like to avoid at this stage. Would rather go through the CLR in a
similar fashion to the .NET System.Windows.Forms.SystemInformation class.

Any .NET gurus out there would like to push me in the right direction
please? Much appreciated.

Regards,
Tony.
Michael \(michka\) Kaplan [MS] - 21 Sep 2003 19:18 GMT
There is no other option in either the 1.0 or 1.1 versions of the .NET
framework. The right direction if you need the functionality is to use the
pinvoke.

Signature

MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.

> Hi all,
>
[quoted text clipped - 15 lines]
> Regards,
> Tony.
Tony - 22 Sep 2003 01:29 GMT
Thanks for the push in the right direction Michael. I shall P/Invoke the
situation... Have a nice day.

"Michael (michka) Kaplan [MS]" <michkap@online.microsoft.com> wrote in
message news:OLkUVzGgDHA.3200@tk2msftngp13.phx.gbl...
> There is no other option in either the 1.0 or 1.1 versions of the .NET
> framework. The right direction if you need the functionality is to use the
[quoted text clipped - 26 lines]
> > Regards,
> > Tony.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.