473,387 Members | 1,520 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.

How windows draws dialogs

This is a little off topic, but does anyone know where I can find
information on how windows draws forms and dialogs on screen? I know it
depends on 2D hardware, and GDI/GDI+. Does anyone know where I can find
documentation on how it does it? thanks
Nov 20 '05 #1
6 1061
Brian,

Many of the controls, like Button, Label, Option Button,CheckBox,
RadioButton and GroupBox are being drawn via GDI+ - which has a kind of
negative speed impact. Regarding Forms and the other controls, the Framework
"only" provide wrappers around the control classes which are already
implemented in the operating system.

Interestingly enough, Microsoft introduces a GDI (without the Plus)
namespace in the next release of the Framework that comes with Whidbey. I've
been told that all the controls I just mentioned will from then on base on
GDI and not on GDI+ anymore.

Klaus

"Brian Henry" <brian.henry[nospam]@adelphia.net> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
This is a little off topic, but does anyone know where I can find
information on how windows draws forms and dialogs on screen? I know it
depends on 2D hardware, and GDI/GDI+. Does anyone know where I can find
documentation on how it does it? thanks

Nov 20 '05 #2
I thought GDI+ was supose to be the better of the two :) interesting to hear
different... oh longhorn needs to get here and replace it all with the new
graphics system :) GDI is getting a little old :)
"Klaus Löffelmann" <fo***********@loeffelmann.de> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
Brian,

Many of the controls, like Button, Label, Option Button,CheckBox,
RadioButton and GroupBox are being drawn via GDI+ - which has a kind of
negative speed impact. Regarding Forms and the other controls, the Framework "only" provide wrappers around the control classes which are already
implemented in the operating system.

Interestingly enough, Microsoft introduces a GDI (without the Plus)
namespace in the next release of the Framework that comes with Whidbey. I've been told that all the controls I just mentioned will from then on base on
GDI and not on GDI+ anymore.

Klaus

"Brian Henry" <brian.henry[nospam]@adelphia.net> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP10.phx.gbl...
This is a little off topic, but does anyone know where I can find
information on how windows draws forms and dialogs on screen? I know it
depends on 2D hardware, and GDI/GDI+. Does anyone know where I can find
documentation on how it does it? thanks


Nov 20 '05 #3
* "Klaus Löffelmann" <fo***********@loeffelmann.de> scripsit:
Interestingly enough, Microsoft introduces a GDI (without the Plus)
namespace in the next release of the Framework that comes with Whidbey. I've
been told that all the controls I just mentioned will from then on base on
GDI and not on GDI+ anymore.


Interesting. Currently, I am able to repro GDI+ bugs in most Windows
Forms controls in CTP March 2004 version of VS.NET 2005.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
But you found that namespace I was refering to, anyway, haven't you?
BTW: Got an answer to that questions in privatenews.microsoft.com
(whidbey.windowsforms.controls; GDI+ improvements).
OT: How was vacation?

Klaus

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb im Newsbeitrag
news:c5************@ID-208219.news.uni-berlin.de...
* "Klaus Löffelmann" <fo***********@loeffelmann.de> scripsit:
Interestingly enough, Microsoft introduces a GDI (without the Plus)
namespace in the next release of the Framework that comes with Whidbey. I've been told that all the controls I just mentioned will from then on base on GDI and not on GDI+ anymore.


Interesting. Currently, I am able to repro GDI+ bugs in most Windows
Forms controls in CTP March 2004 version of VS.NET 2005.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #5
* "Klaus Löffelmann" <fo***********@loeffelmann.de> scripsit:
But you found that namespace I was refering to, anyway, haven't you?
I didn't have enough time to play with it. Currently I am working with
Generics and other stuff.
BTW: Got an answer to that questions in privatenews.microsoft.com
(whidbey.windowsforms.controls; GDI+ improvements).
I am using another way to report some bugs... let's see if they get
fixed.
OT: How was vacation?


Great! Redmond is great and Seattle too!

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb im Newsbeitrag
news:ek**************@TK2MSFTNGP12.phx.gbl...
* "Klaus Löffelmann" <fo***********@loeffelmann.de> scripsit:
But you found that namespace I was refering to, anyway, haven't you?
I didn't have enough time to play with it. Currently I am working with
Generics and other stuff.
BTW: Got an answer to that questions in privatenews.microsoft.com
(whidbey.windowsforms.controls; GDI+ improvements).


I am using another way to report some bugs... let's see if they get
fixed.
OT: How was vacation?


Great! Redmond is great and Seattle too!
I'm not envying you. NO, I'M NOT!
Grrr...

;-)

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #7

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

Similar topics

3
by: Hemanth | last post by:
Hello there, I've a utility that runs on a linux machine. Basically, it opens a window, draws a figure and captures the image (screen) and stores it as a jpeg file. The utility requires a...
11
by: Christian Wilcox | last post by:
Does anyone know of any existing Python implementations of an XForms viewer? Christian
25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
1
by: Dalan | last post by:
Before distributing a database that I have developed, I thought that I would ask the resident gurus a general question regarding Common Dialogs Control. Correct me if I'm wrong, but I have read...
2
by: David | last post by:
Hello, I have an application that has been running for years and had little problem with it. We've been retesting the latest code under Windows 2003 and found a surprise. There is a certain...
1
by: Jiang Yue Brandon | last post by:
I am very confused about the different ways of VC++ and C# for doing windows form/dialog design in Visual Studio.NET. In C#, after you drag & drop the components to the form, the underlying...
8
by: diatom | last post by:
Is it possible to create a windows form as an abstract class? Let me explain ... I am writing a windows applciation where I will need around 100 dialogs - each with a similar look, feel, and...
11
by: geoffbache | last post by:
Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide...
0
by: hanthehead | last post by:
I would like to use the Standard Windows Dialog - "Select Computer" in my current .NET project. This would be exactly like the dialog that pops up in many windows applications for example when...
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: 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?
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
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.