By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,382 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,382 IT Pros & Developers. It's quick & easy.

Drawing AVLTree By MFC

P: n/a
Hi Guys..

i have project AVLTree By using MFC but the biggest Problem is how can
i draw it ? as bitmap ? how can i call the bitmap and can i draw on
it ?

or Draw it as Lines ?

Can in one help me ? or give me tutorels that help me ???

thanx by the way

May 25 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi,

You can draw in a bitmap and then blit the bitmap to the screen. To create
an appropriatte bitmap use the CreateDIBSection function.
For instance used here.
http://msdn2.microsoft.com/en-us/library/ms532295.aspx

Basically you have the bits of the bitmap (the RGB values) in memory and can
set the individual pixels then when ready blit the bitmap to the screen.

Regards, Ron AF Greve

http://www.InformationSuperHighway.eu

<co*****@gmail.comwrote in message
news:11********************@q66g2000hsg.googlegrou ps.com...
Hi Guys..

i have project AVLTree By using MFC but the biggest Problem is how can
i draw it ? as bitmap ? how can i call the bitmap and can i draw on
it ?

or Draw it as Lines ?

Can in one help me ? or give me tutorels that help me ???

thanx by the way

May 25 '07 #2

P: n/a
Ron AF Greve wrote:
Hi,

You can draw in a bitmap and then blit the bitmap to the screen. To create
an appropriatte bitmap use the CreateDIBSection function.
For instance used here.
http://msdn2.microsoft.com/en-us/library/ms532295.aspx

Basically you have the bits of the bitmap (the RGB values) in memory and can
set the individual pixels then when ready blit the bitmap to the screen.

Regards, Ron AF Greve

http://www.InformationSuperHighway.eu

<co*****@gmail.comwrote in message
news:11********************@q66g2000hsg.googlegrou ps.com...
>Hi Guys..

i have project AVLTree By using MFC but the biggest Problem is how can
i draw it ? as bitmap ? how can i call the bitmap and can i draw on
it ?

or Draw it as Lines ?

Can in one help me ? or give me tutorels that help me ???
Regardless, this is OT in comp.lang.c++, as drawing and bitmaps are not
specified by the language. OP would be better off posting in a
newsgroup dedicated to Windows and/or MFC programming, where such
questions *are* on topic.

May 25 '07 #3

P: n/a
On May 25, 5:35 pm, red floyd <no.s...@here.dudewrote:
Ron AF Greve wrote:
Hi,
You can draw in a bitmap and then blit the bitmap to the screen. To create
an appropriatte bitmap use the CreateDIBSection function.
For instance used here.
http://msdn2.microsoft.com/en-us/library/ms532295.aspx
Basically you have the bits of the bitmap (the RGB values) in memory and can
set the individual pixels then when ready blit the bitmap to the screen.
Regards, Ron AF Greve
http://www.InformationSuperHighway.eu
<coct...@gmail.comwrote in message
news:11********************@q66g2000hsg.googlegrou ps.com...
Hi Guys..
i have project AVLTree By using MFC but the biggest Problem is how can
i draw it ? as bitmap ? how can i call the bitmap and can i draw on
it ?
or Draw it as Lines ?
Can in one help me ? or give me tutorels that help me ???

Regardless, this is OT in comp.lang.c++, as drawing and bitmaps are not
specified by the language. OP would be better off posting in a
newsgroup dedicated to Windows and/or MFC programming, where such
questions *are* on topic.

test test

May 25 '07 #4

P: n/a
On May 25, 5:35 pm, red floyd <no.s...@here.dudewrote:
Ron AF Greve wrote:
Hi,
You can draw in a bitmap and then blit the bitmap to the screen. To create
an appropriatte bitmap use the CreateDIBSection function.
For instance used here.
http://msdn2.microsoft.com/en-us/library/ms532295.aspx
Basically you have the bits of the bitmap (the RGB values) in memory and can
set the individual pixels then when ready blit the bitmap to the screen.
Regards, Ron AF Greve
http://www.InformationSuperHighway.eu
<coct...@gmail.comwrote in message
news:11********************@q66g2000hsg.googlegrou ps.com...
Hi Guys..
i have project AVLTree By using MFC but the biggest Problem is how can
i draw it ? as bitmap ? how can i call the bitmap and can i draw on
it ?
or Draw it as Lines ?
Can in one help me ? or give me tutorels that help me ???

Regardless, this is OT in comp.lang.c++, as drawing and bitmaps are not
specified by the language. OP would be better off posting in a
newsgroup dedicated to Windows and/or MFC programming, where such
questions *are* on topic.
please send info to sp***************@gmail.com

May 25 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.