Re: Color question
- From: "ZMan" <zman@xxxxxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 01:26:36 -0700
The real question you should have asked was 'so how do you set colors in VB
since there is no unchecked keyword'.
And the answer is of course - you have to understand 2's complement. Yes
that's right VB is targeted towards a more beginner audience than c# but to
code MDX fully you have to understand binary representation of numbers.
In reality you would use Color.FromArgb() which handles the conversion for
you.
--
Zman
http://www.thezbuffer.com - News and information for Managed DirectX
"Stephan Rose" <kermos@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:so14b2596qrm2k2kdq0ff7ooqs4588nnu6@xxxxxxxxxx
On Sun, 9 Jul 2006 20:53:03 -0700, "ZMan" <zman@xxxxxxxxxxxxxx> wrote:
#1 reason is that uint is not CLS compatible so the library would not work
with all languages (e.g. VB doesn't support unsigned).
And there actually are people who wonder why I stay away from VB like
the plague!!! =)
--
Stephan
2003 Yamaha R6
kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
.
- Follow-Ups:
- Re: Color question
- From: Stephan Rose
- Re: Color question
- References:
- Color question
- From: Stephan Rose
- Re: Color question
- From: ZMan
- Re: Color question
- From: Stephan Rose
- Color question
- Prev by Date: Re: Color question
- Next by Date: Re: playing a video file but selecting which audio and video device to use
- Previous by thread: Re: Color question
- Next by thread: Re: Color question
- Index(es):
Relevant Pages
|
Loading