I am making a program that creates a very large picture on the screen. The picture scrolls all by itself like a movie.
The problem is that the code that generates this is in a loop in OnDraw, and...
Type: Posts; User: Kristian25
I am making a program that creates a very large picture on the screen. The picture scrolls all by itself like a movie.
The problem is that the code that generates this is in a loop in OnDraw, and...
Hello.
I have now made myself a sample program from a book that uses document/view, and I seen now how scrolling the window works.
My problem is the following. I am creating a picture from a...
Hello. I am generating a bitmap picture from a binary file. I am using SetPixel(unsigned long RGB_colour) to display the binary data on the screen.
The problem is that the values are 16 bit (that...
I tryed doing that.
But do you have to manually link it to the childview in some way?
Kristian
But can you use this when you are not using document/view? But a simple project with only childview and mainframe classes.
and so, how??
Kristian
Hello.
I have created a MFC project that creates a bitmap picture from a binary data file.
The problem is that the picture that is being created is to big for the screen, so I want to put in...
I need help to create a Bitmap picture.
The situation is like this:
I am loading in an array with 16 bit values. Each of these values represent the color of one pixel. Each array represents one...
Hello.
I have managed to read a binary file, and have put the data in a "unsigned char" array.
The problem is that "unsigned char" is 1 byte large, but I need the data to be stored in a 2 byte...
Yes, that sounds like a good idea. But, when I read these 16 bits, what functions do I use to convert them into pixels, and which functions do I use to display them on the screen?
I've heard some...
Hello.
I am making a viewer that reads pixels from a file and displays it on the screen.
The problem is that I know very little about the image.
- I know that the file is Binary.
- I know...
okay, I'll try this and see what I get.
Thanks :-)
Kristian
I am working on a project that takes a file with a lot of x,y coordinates and a number, for how bright/dark a pixel should be, and shows all of these on the screen.
The result should be a sonar...