How to deal with, please? Thank you very much!
CodePudding user response:
The upThe up
up
CodePudding user response:
Can use SetWindowRgn () the API function,API:
CreateRectRgn, CreateRoundRectRgn,
CreatePolygonRgn, CreatePolyPolygonRgn,... And so on,
And: CombineRgn, this API is used to combine multiple regions into a regional,
CodePudding user response:
Adjust the PictureBox Appearance, BackColor, BorderStyle property, it is ok to let him do not display frame;CodePudding user response:
Should be able to control Region attributeCodePudding user response:
Draw a three-dimensional rectangle and a plane figure, there is no problem with the Picture1 control show that the size of the picture according to you adjust the Picture1 control the width and height,Picture1. AutoRedraw=0 'is displayed in 3 d sexy, 0 - no, 1 - is
Picture1. BackColor=& amp; HFFFFFF 'background color
Picture1. BorderStyle=0 'border style' 0 - without borders, 1 - have border
Picture1. Height=0 'controls Height, can be set and highly consistent picture
Picture1. Width=0 'control Width, can be set in accordance with image Width
Picture1. Picture=LoadPicture (" D:/Documents/Pictures/123 JPG ") 'load display images
CodePudding user response: