473,652 Members | 3,070 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1072
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******** ********@TK2MSF TNGP10.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******** ******@tk2msftn gp13.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******** ********@TK2MSF TNGP10.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.mic rosoft.com
(whidbey.window sforms.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.mic rosoft.com
(whidbey.window sforms.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******** ******@TK2MSFTN GP12.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.mic rosoft.com
(whidbey.window sforms.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
2430
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 window to be open (or displayed) inorder to save the image. Also, this utility is in the form of an executable, so I can't possibly alter it. I want to run this utility from a windows web browser and display the saved jpeg file. I pass some command...
11
3487
by: Christian Wilcox | last post by:
Does anyone know of any existing Python implementations of an XForms viewer? Christian
25
4272
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 on Windows "(...) > can i use pyGTK under > Windows???
1
3463
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 somewhere that one can expect problems with different versions of Windows Common Dialogs. Is this true? I have used several in developing an Access 97 database on a Windows 98 SE machine that has comdlg32.dll 4-23-99, and comdlg32.ocx 5-22-00....
2
2175
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 case where we allow the MDI app to close the database and the user can later request the open dialog. This normally calls the CDatabase open with the flags that allow the ODBC Open Dialog
1
3607
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 codes will be automatically modified to add corresponding objects. However, in VC++, in order to design any forms/dialogs, resources must to be created first, then we need manually
8
6123
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 functionality (or controls) - but all a little different. Thus, if I create a windows form as an abstract class I am thinking I can write the 'core functionality' once and then when I implement each instance,
11
6005
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 the window as follows: info = subprocess.STARTUPINFO() info.dwFlags |= subprocess.STARTF_USESHOWWINDOW info.wShowWindow = subprocess.SW_HIDE
0
1145
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 Administering Services you can select "Connect to another computer..." and this dialog appears with the option to manage the local computer or another computer and the user can browse to other computers on the network. Does anyone know whether this is...
0
8279
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8703
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8467
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8589
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.