Discussion of article "Studying the CCanvas Class. How to Draw Transparent Objects" - page 2

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The question is this. What could be the best implementation on moving the kanvas around the graph? Something like method:
"canvas" - creates standard OBJ_BITMAP_LABEL or OBJ_BITMAP. In the help there are functions on how to place them on the chart
I didn't notice the discussion above at once :) - actually the same as ZORDER, only X and Y
"canvas" - creates standard OBJ_BITMAP_LABEL or OBJ_BITMAP. There are functions in the help to place them on the chart
I didn't notice the discussion above at once :) - actually the same as ZORDER, only X and Y
Aha, thanks, it worked... I tried using ObjectMove myself...
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Learning CCanvas class. Realisation of transparency of graphical objects"
barabashkakvn, 2015.03.10 12:00 AM
And what is the purpose of moving? Maybe it is better to redraw the drawing on the canvas?Yep, thanks, it worked... I tried using ObjectMove myself...
What if the panel is created on the basis of a standard dialogue? Then all elements created in the dialogue and added to it will be dragged together with the dialogue.
Yes, a handy feature, I agree..... I've been doing that until now... but there was a question how to add custom graphics to the panel.... in general it is necessary to make a kanvas-like control : public CWndObj. Now I'm thinking about this question...
Watch the video from the post.
After 15 March will be in the source code
Yes, a handy feature, I agree..... I've been doing that until now... but there was a question how to add custom graphics to the panel.... in general it is necessary to make a kanvas-like control : public CWndObj. Now I'm thinking about this question...
What do you mean by"custom graphics":
What do you mean, "custom graphics,"
Vladimir, I wanted to ask you something else.
There is a panel of CAppDialog type. Let one of its elements be a graphical label of CBmpButtontype . So, is there any way to create a canvas and link it with the specified label? The goal is to have a controllable panel element with custom graphics capabilities...?
Thanks.
Vladimir, I wanted to ask you something else.
There is a panel of CAppDialog type. Let one of its elements be a graphical label of CBmpButtontype . So, is there any way to create a canvas and link it with the specified label? The goal is to have a controllable panel element with custom graphics capabilities...?
Thanks...
Vladimir, thanks for the tip, it all worked out!
Yes, canvasses are very powerful :-)
We are waiting for interesting articles from you!