| View previous topic :: View next topic |
| Author |
Message |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Wed Mar 25, 2009 7:56 pm Post subject: [C++]Using D3D In Applications to make custom controls |
|
|
Is it possible to use Direct3D to create custom controls for applications? If so, are there any tutorials out there on how to do it? I tried searching, but with no avail (most tutorials were on creating D3D games). _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25823 Location: The netherlands
|
Posted: Thu Mar 26, 2009 5:49 am Post subject: |
|
|
I don't see why not. It might be more efficient to do the whole gui in direct3d, but just creating a new direct3ddevice for each single window should be fine as well, and just call the render method on a onpaint (unless you want it animated and then use a loop using either the message loop or a separate thread, or even in a timer that updates every 100ms or so...) _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Mar 26, 2009 4:26 pm Post subject: |
|
|
Thanks Dark Byte. Now all I have to learn is Direct3D lol... _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
|