Advertisement
ASP_Volume2 Custom Controls/ Forms/ Menus #26410

PictureView - view, scroll, create and save pictures

Yes another control aimed for beginners (and why not for everyone else too!): include PictureView.ctl and cJpeg.cls to your project and you have a new nice picture viewing control you can use! *** You can view pictures easily in this control. It adds scrollbars when required, if not required centers the picture. With all the additional features of the control, you can easily create your own Paint program, for example. The control is able to save JPEG pictures thanks to John Korejwa's JPEG Encoder Class. You can define new picture to be created, get picture's DC so you can BitBlt or use any other GDI API to draw to the control... and much else :) *** Properties: borderstyle, cornerstyle, picture, scrollable. Functions: ClearPicture, NewPicture, OpenPicture, PictureDC, PictureHeight, PicturePaint, PictureWidth, SaveJPEG. Events: Click, DblClick, Key-events, Mouse-events, PicMouse-events, PictureLoaded *** Hope you like the control! This is the third public release of the control, first time at PSC. Comments, critics and improvements welcome! :)

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine