A small question about the IMAGECTX control.
Is is possible to remove the border around the picture?
Petr Schreiber
28-07-2009, 17:51
Hi Martin,
yes, it is of course - by not specifying %WS_BORDER style.
So when you do not specify any style:
control add IMAGECTX, cbhndl, %imageCtx01, "", 5, 5, 200, 200
or by specifying the default one:
control add IMAGECTX, cbhndl, %imageCtx01, "", 5, 5, 200, 200, %WS_CHILD or %WS_VISIBLE
... you should get what you want.
Let me know,
Petr
Hi Petr,
This is really stupid! I copied the "control add IMAGECTX" code from an example into my script, played a hour with it and didn't notice %ws_border at all. But now after your advice I see it IS present. I feel so dumb. I am too long behind the pc I guess... :roll: :D
Best regards,
Martin
Petr Schreiber
28-07-2009, 20:01
No problem, I am happy it worked :occasion:
Good thing is this rule applies to most controls - LABELs, LISTBOXes, ...