Drawing windows Form over DirectD app
-
Any ideas to the question above? i can make the form appear but there are a few problems to note. 1. The mouse does not draw on the form that appears on top of the app. 2. you cannot move the form around or else the backround will 'brake up' The app is full screen (non-exclusive although i would like it to work with exclusive). How do i have to setup my direct draw drawing methods to work when this form i being draw? the code im using to make the form is just a test code basicly this: Form f = new Form(); f.ShowDialog(); Thanks alot for your time.
-
Any ideas to the question above? i can make the form appear but there are a few problems to note. 1. The mouse does not draw on the form that appears on top of the app. 2. you cannot move the form around or else the backround will 'brake up' The app is full screen (non-exclusive although i would like it to work with exclusive). How do i have to setup my direct draw drawing methods to work when this form i being draw? the code im using to make the form is just a test code basicly this: Form f = new Form(); f.ShowDialog(); Thanks alot for your time.
I don't know exactly what controls there are included but if you get the new SDK (December 2004 update) there are form type controls included with directX. I know there are text boxes, buttons, labels etc but i've notlooked into it in any great detail yet but you may be able to find what your looking for there. Kev
-
I don't know exactly what controls there are included but if you get the new SDK (December 2004 update) there are form type controls included with directX. I know there are text boxes, buttons, labels etc but i've notlooked into it in any great detail yet but you may be able to find what your looking for there. Kev
i currently have that version installed on my comp..i noticed that it seems to be d3d controls? im using direct draw and i think the best way to just show buttons and options is to pop open a standard windows form and work from that. in any case i looked through the directx documents and they seems to be lack luster to say the least. Jesse The Code Project Is Your Friend...
-
i currently have that version installed on my comp..i noticed that it seems to be d3d controls? im using direct draw and i think the best way to just show buttons and options is to pop open a standard windows form and work from that. in any case i looked through the directx documents and they seems to be lack luster to say the least. Jesse The Code Project Is Your Friend...
Maybe just include a reference to D3D and have a go? Although i must admit the documentation all seems very poor for managed DirectX. I'm working on some DDraw stuff myself so if you figure it out then let me know, it would be nice to have some sort of options form or something like that in some of my future projects. I can't even point you in the direction of any good source material for managed directX, the best book i have found is Managed DirectX Kick Start by Tom Miller but the main focus of that is on D3D and it doesn't cover working with forms. As for websites i haven't been able to find any that specifically cover Managed DX, the best i have found is sites like this one that cover programming in general. A friend and I are working on a website at the minute but we have just started it and are going to focus on games programming so i don't see us worrying to much about getting forms displayed at the minute. If you fancy taking a look at the site go to www.monkeycmonkeydo.co.uk Kev