Skip to main content
gamedev.net
🔒 Locked

[.net] without a form?

Started by Bytez 3 replies 550+ views
Original Post
Bytez
Bytez
just wondering is it possible to use mdx in c# without having it on a form? ive not seen this but just wondered.
BradSnobar
BradSnobar
I think that you need a handle to a form to do some drawing.

You could probably make the form's visible property false though.
RenderTarget
RenderTarget
You do need a form, or control of some kind.
[sub]My spoon is too big.[/sub]
Orcy
Orcy
I would say u dont need a form, when u doesnt want to display anything to the user, e.g a converter that starts without a UI and opens a file, convert it and write it to another file.
Toolmaker
Toolmaker
You need a Window Handle to initialize DirectX, so in Managed DirectX, you need a Form, because the form wraps the window handle.

Toolmaker
 

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.