LR_COPYFROMRESOURCE top-level constant

  1. @Deprecated('Use IMAGE_FLAGS.LR_COPYFROMRESOURCE instead')
int const LR_COPYFROMRESOURCE

Tries to reload an icon or cursor resource from the original resource file rather than simply copying the current image. This is useful for creating a different-sized copy when the resource file contains multiple sizes of the resource. Without this flag, CopyImage stretches the original image to the new size. If this flag is set, CopyImage uses the size in the resource file closest to the desired size.

Implementation

@Deprecated('Use IMAGE_FLAGS.LR_COPYFROMRESOURCE instead')
const LR_COPYFROMRESOURCE = 0x00004000;