martin
16-04-2011, 09:23
Control Add IMAGECTX, WindowMain, %IDC_IMAGECTX_STRETCH , "",0,0,500,500, %WS_CHILD Or %WS_VISIBLE Or %WS_BORDER
IMAGECTX_SetImageAdjustment WindowMain, %IDC_IMAGECTX_STRETCH, %IMAGECTX_STRETCH , %TRUE
Control Set Resize WindowMain, %IDC_IMAGECTX_STRETCH, 1, 1, 1, 1
Hi everyone,
After a long time I'm back here with a question (yes, i am still experimenting with ThinBasic). The code above works perfect on my pc. But on my laptop it doesn't work when I resize the window. The image does not stretch (as it should be) but it repeats. Strange, but true. I'm running Windows XP on both computers.
Does anybody why and is there a solution?
Martin
IMAGECTX_SetImageAdjustment WindowMain, %IDC_IMAGECTX_STRETCH, %IMAGECTX_STRETCH , %TRUE
Control Set Resize WindowMain, %IDC_IMAGECTX_STRETCH, 1, 1, 1, 1
Hi everyone,
After a long time I'm back here with a question (yes, i am still experimenting with ThinBasic). The code above works perfect on my pc. But on my laptop it doesn't work when I resize the window. The image does not stretch (as it should be) but it repeats. Strange, but true. I'm running Windows XP on both computers.
Does anybody why and is there a solution?
Martin