473,387 Members | 1,407 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,387 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 2071
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.