Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi

 

I want to know how I can I get and set the graphics card settings using c# and d3d or GDI+.

 

also does anyone know how can i run a c# win form app in full screen mode

 

sid

Posted

Not sure about the graphic card settings, but on the second point you can:

1) maximise the form on startup or

2) set the form's width to Screen.Width and height to Screen.Height on startup

 

SEVI

Posted

for fullscreen i would use DX definitely!

if you want to use SEVI's method then you have to set the WindowBorderStyle to no border

 

You can easily get all the gfx card settings by using of DX, just look at some samples, shouldnt be difficult to understand

  • *Experts*
Posted

You can use the Manager class from the Direct3D namespace to get some basic info about the card from the drivers. Then using the Adapters property (use 0 for default adapter), and then using the Information property of the Adapters property. (:))

Manager.Adapters(0).Information.Description

For example this will return the description of the card, which in most cases is the name and the model number of the card.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...