Gets a long integer that represents a unique image buffer that is currently not already in use.
Visual Basic |
---|
Public Function GetUniqueImageID() As Long |
A long which represents an unused buffer ID.
This method should be called instead of arbitrarily setting an image ID to the properties that take an ImageID. You should use this method to prevent inadvertently loading an image into an image buffer that is already in use. This is an easy way to ensure the stability of existing image buffers.