-
Re: --->Re-Re: Graphics animation Thanks Zane
zane@mabry.com (Zane Thomas) wrote:
>"Parag" <pa_v@yahoo.com> wrote:
>
>>Actually I thought of trying that. But graphics on the form also become
transparent
>>because the graphics object is created from the forms.creategraphics method
>>so it may not work
>
>Get out the salt-shaker, I haven't been working with visible controls or
>graphics myself so this is just the result of visiting the help files:
>
>Take a look at System.WinForms.Control.CreateParams - I think that shows
>that it's easy to create a 'control' which has a transparent background
>and which displayes clock hands.
>
>But that's probably the stupid way to do what you're trying to do. :-)
>
>Take a look in Framework\Samples\QuickStart\winforms\samples\VB\GDIPlus
>where you'll probably find lots of interesting code.
>
>There're are a zillion handy features in gdi+, be sure to check out the
>Graphics class and all the classes it references.
>
>
>---
>Ice Z - Straight Outta Redmond
Actually The control will have to be something like a "skinned" forms we
used to create with regions and API's in VB 6
I was hoping restoring background of a region created from graphics path
something like gaming spirites (did I spell that right ? ;-)
I think the MS folks should include directx as a part of .NET classes/controls
.. maybe that will help. I dont want to reinvent the wheel trying to do with
GDI+ what directx already does
Maybe i'll just download dx8 sdk
-
Re: --->Re-Re: Graphics animation Thanks Zane
Parag,
Is it really necessary for you to start a new thread every time you reply?
---
Ice Z - Straight Outta Redmond
-
Re: --->Re-Re: Graphics animation Thanks Zane
You could draw the entire contents to an offscreen "backsurface" and then
blt the entire drawn scene to the control every frame, which should reduce
flicker significantly (this is kinda what goes on with DirectX applications).
As for DirectX, I did read somewhere that DX9 should have some tighter integration
with .NET.
As of right now it's a bit tricky because DX is all COM and requires interop
services from .NET plus DX relies *HEAVILY* on deterministic finalization.
More importantly DF in the PROPER order, or things will crash severely.
-Rob
"Parag" <pa_v@yahoo.com> wrote:
>
>Actually The control will have to be something like a "skinned" forms we
>used to create with regions and API's in VB 6
>I was hoping restoring background of a region created from graphics path
>something like gaming spirites (did I spell that right ? ;-)
>
>I think the MS folks should include directx as a part of .NET classes/controls
>.. maybe that will help. I dont want to reinvent the wheel trying to do
with
> GDI+ what directx already does
>Maybe i'll just download dx8 sdk
>
>
>
>
>
-
Re: --->Re-Re: Graphics animation Thanks Zane
Awww, get a non-RFC-compliant newsreader, like the rest of us, and kwitcher*****in.
<bg>
--
http://www.mvps.org/vb
"Zane Thomas" <zane@mabry.com> wrote in message
news:3ade08c5.167964062@news.devx.com...
> Parag,
>
> Is it really necessary for you to start a new thread every time you reply?
>
>
> ---
> Ice Z - Straight Outta Redmond
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks