Hi All

First of all, I have just started MFC programming so please excuse my inexperience.

My question is:

If I have an array (say 640 x 480) of intensity values of gray level of an image, how do I go about drawing it out on a MFC dialog application.

For example, in Matlab, all I need to do is execute "image(array)". Is there such magical functions in MFC?

Does someone have a simple example?

Thanks heaps,
Kit