devxlogo

The Unipicture control

The Unipicture control

Windows only permits 1024 active bitmap/icon handles to be in use at any time. The UniPicture control provides a method to store data for more than 1024 Bitmaps/Icons without depleting User/GDI heap memory and the restrictions imposed by the operating system. UniPicture also provides you with Procedures to: (1) Store the raw data of a StdPicture Object in the UniPicture Object, (2) Convert a Windows BitMap Handle to a StdPicture, (3) Convert a Windows Icon Handle to a StdPicture (4) Obtain a Windows Bitmap Handle for a copy of a StdPicture (5) Obtain a Windows Icon Handle for a copy of a StdPicture (6) Render the BitMap held by a UniPicture Object to a hDC, (7) Render the Icon held by a UniPicture Object to a hDC, (8) Resize and Render the Icon held by a UniPicture Object to a hDC, (9) Retrieve the Bitmap/Icon held by a UniPicture Object as an array of Bytes (10) Persist the Bitmap/Icon held by a UniPicture Object to a PropertyBag, (11) Create a copy of a stdPicture or a BitMap/Icon Handle.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist