Click here to Skip to main content
14,271,339 members
Rate this:
Please Sign up or sign in to vote.
See more:
Any MFC ActiveX Control is there for Picture Box?
Kindly help me.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You never really need such thing as PictureBox (do you know it from VB6? .NET?). These control is totally redundant; it was created for simplification of the most primitive image-showing chores.

With MCF, you can render graphics in any control. You need to handle the Windows message WM_PAINT. This is what you really need:[^].

You can derive the class CWnd to obtain your control.

And please, don't post your comments as "solutions". This will be considered as abuse.
Rajeshkumar Ramasamy 22-Mar-13 4:51am
Sergey, I want to draw (pixel by pixel) in a form. It take time to draw pixel by pixel (range : 1024 x 1024). Any Tools/Controls are there for draw?
Who told you "pixel by pixel"?
Please see the CodeProject article:


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100