473,385 Members | 1,461 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

User friendly UI via system/screen log font

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.
Jul 21 '05 #1
2 2070
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.
--
MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Tony" <oc************@optusnet.com.au> wrote in message
news:u5****************@TK2MSFTNGP11.phx.gbl...
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.

Jul 21 '05 #2
Thanks for the push in the right direction Michael. I shall P/Invoke the
situation... Have a nice day.

"Michael (michka) Kaplan [MS]" <mi*****@online.microsoft.com> wrote in
message news:OL**************@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
pinvoke.
--
MichKa [MS]

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Tony" <oc************@optusnet.com.au> wrote in message
news:u5****************@TK2MSFTNGP11.phx.gbl...
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.


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: Steven O. | last post by:
I am seeking some kind of tool that I can use for GUI prototyping. I know how to use Visual Basic, but since a lot of software is being coded in Java or C++, I'd like to learn a Java or C++ -based...
0
by: Kyler Laird | last post by:
Last night I gave a presentation about our therapy dogs to a local group. I don't often give presentations and I have a great distaste for anything approaching "PowerPoint". When I was asked to...
1
by: weiwei | last post by:
HI I am having a problem with print friendly function with asp, I have download some code regard with print friendly, it works fine with static html information, however, I have the dynamic pages...
3
by: Steven Spits | last post by:
Hi group, We've developed a rather large ASP.NET WebApp with *A LOT* of input-fiels. Many of these fields have AutoPostBack set to true. I want to block all user input when the form is...
2
by: tshad | last post by:
This is related to my other Hiding datalistitems problem that I can't seem to solve. I have tried different methods which all seem to work only partially. I decided to try to use a User...
2
by: Tony | last post by:
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...
4
by: TOM | last post by:
I have an application that does not behave too well when the user changes the Display Properties -> Appearance -> FontSize after clicking Display from the Control Panel to "Large Fonts" ...
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
15
by: Prisoner at War | last post by:
Okay, I'd like to create a print-friendly website, so I've been reading up on how to create print-friendly pages (without duplicating my site, of course, by having separate versions of each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.