Duivision Pop-up window class Cdlgpopup, is the menu, drop-down list of controls such as the parent class, or can be used alone, to create a pop-up window, pop-ups are automatically deactivated by default, such as mouse clicks to the outside of the pop-up window, the pop-up window will automatically close, It can also be set to not automatically close.
Generic pop-ups are typically created through the Opendlgpopup function of the dialog box.
The properties of the popup window are described below:
Property name |
type |
Description |
Width |
Digital |
Window width |
Height |
Digital |
Window height |
Bkimg |
String |
The background picture of the window, if specified using the specified background picture, otherwise using the global Settings background picture |
Bkmod |
String |
The mode of the window background picture, including: image– General background image frame– Border Mode mid– Nine lattice mode |
Framesize |
Digital |
When the window background is frame mode, specify the border width |
Width-lt |
Digital |
The width of the border from the top left corner of the nine Gongge of the window's background picture |
Height-lt |
Digital |
The height of the border from the top left corner of the nine Gongge of the window's background picture |
Width-rb |
Digital |
The width of the border from the bottom right of the nine Gongge of the window's background picture |
Height-rb |
Digital |
The height of the border from the bottom right corner of the nine Gongge of the window's background picture |
Bkalpha |
0|1 |
Whether the background uses an alpha channel |
Translucent |
Digital |
The overall transparency of the window, the value range is 1-255,1 for full transparency, 255 for opaque |
AutoClose |
0|1 |
Whether the window is automatically closed, by default the mouse clicks to the Non-window area to automatically close |
Topmost |
0|1 |
Whether the window appears at the front of all windows (entire desktop range) |
Examples of pop-up windows and interfaces:
Duivision Open Source Code (GitHub): https://github.com/blueantst/DuiVision
Blue Ant Studio homepage: http://www.blueantstudio.net
Duivision QQ Group: 325880743
Public number: Blueantstudio or search blue Ant Studios
Duivision Development Tutorial (18)-Popup window