Hi
I'm setting image of a picture control with DisplayImageFile() + setting the control attribute ATTR_FIT_MODE=VAL_SIZE_TO_IMAGE. The image size is bigger then the control size and I want the control to resize to the image size.
It works fine except when I query the control dimensions with GetCtrlAttribute(panel,control,ATTR_HEIGHT,&height), I get the original size(before calling DisplayImageFile())...
It seems I miss something basic...
Environment: LAB Windows CVI 2012 , Windows 7
Thanks in advance
Ramy