窗口样式(window_style_)

枚举

enum  window_style_ {
  window_style_nothing = 0x0000 , window_style_caption = 0x0001 , window_style_border = 0x0002 , window_style_center = 0x0004 ,
  window_style_drag_border = 0x0008 , window_style_drag_window = 0x0010 , window_style_allow_maxWindow = 0x0020 , window_style_icon = 0x0040 ,
  window_style_title = 0x0080 , window_style_btn_min = 0x0100 , window_style_btn_max = 0x0200 , window_style_btn_close = 0x0400 ,
  window_style_default , window_style_simple =(window_style_caption | window_style_border | window_style_center | window_style_drag_border | window_style_allow_maxWindow) , window_style_pop , window_style_modal ,
  window_style_modal_simple = (window_style_caption | window_style_border | window_style_center)
}
 

详细描述

枚举类型说明

◆ window_style_

枚举值
window_style_nothing 

什么也没有

window_style_caption 

标题栏

window_style_border 

边框,如果没有指定,那么边框大小为0

window_style_center 

窗口居中

window_style_drag_border 

拖动窗口边框

window_style_drag_window 

拖动窗口

window_style_allow_maxWindow 

允许窗口最大化

window_style_icon 

图标

window_style_title 

标题

window_style_btn_min 

控制按钮-最小化

window_style_btn_max 

控制按钮-最大化

window_style_btn_close 

控制按钮-关闭

window_style_default 

窗口样式-控制按钮: 居中 图标, 标题, 关闭按钮, 最大化按钮, 最小化按钮

window_style_simple 

窗口样式-简单: 居中

window_style_pop 

窗口样式-弹出窗口: 图标, 标题, 关闭按钮

window_style_modal 

模态窗口样式-控制按钮: 居中, 图标, 标题, 关闭按钮

window_style_modal_simple 

模态窗口样式-简单: 居中