I am trying to display an image onto a fixed sized static control and if the image exceeds the size of the control, scrolling is enabled. However whenever I load the image onto the control by using
the static control gets resized to the bitmap's size.Code:SendMessage( m_hMain, STM_SETIMAGE, ( WPARAM )IMAGE_BITMAP, ( LPARAM )m_hDisplay );
Is there a way to display the image on the static control then enabling the scrollbars to work or is there another approach to this?
I appreciate any help. Thanks