Excuse me each great god, and how to put label control above mapobject controls, "format", "order", "buy before" has been tested, invalid. Adopted first in mapobject controls placed on a picturebox control, then put the label controls on picturebox control, also not line, because a picturebox control unable to set transparent background, will be covered in mapobject controls part of the great god, please stop guidance, thank you ~ ~ ~
CodePudding user response:
With a PictureBox or Frame controls as a "container", then put the Lable control in it, "Container" is set to control the appearance of the "plane, without borders" style,
A few "lightweight" controls such as Label (in common: the hWnd attribute), Is said to be "through direct drawing object show "in its corresponding" container window, "So that they can't "in the other attributes of the hWnd control",
CodePudding user response:
If you want to "no", blocking other controls may only HOOK window message processing, Then oneself use GDI functions to display the text "painting" on the window,
CodePudding user response:
No direct set-top, But you can consider in mapobject | picturebox | label overlay mode, the picture painted onto the picturebox mapobject corresponding areas, simulate the effect of the "transparent background",
CodePudding user response:
Make a separate transparent Form into the Label, then to Form the corresponding window top try,