| |

VerySource

 Forgot password?
 Register
Search
View: 808|Reply: 2

Questions about drawing graphics on Form

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-8 09:00:01
| Show all posts |Read mode
I used this statement to draw a picture on the Form (the picture was drawn in pMetafile in advance, and it is correct).


From1-> Canvas-> Draw (0,0, pMetafile);


However, in the execution, once this From is blocked by other windows, the blocked part's graphics will disappear! !!
How to solve this problem?

Thank you
Reply

Use magic Report

4

Threads

20

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-6-8 21:30:01
| Show all posts
After losing focus, redraw
Reply

Use magic Report

0

Threads

16

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-6-23 01:30:02
| Show all posts
From1->Canvas->Draw(0,0,pMetafile) in onpaint;
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list