MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields

#include <minigui.h>

Data Fields

DWORD type
 
DWORD flags
 
const char * caption
 
RECT rc
 
HWND hwnd
 
HWND main_win
 
int cli
 
int ct
 
DWORD ct_arg
 
void * priv_data
 

Detailed Description

Z-node information structure

Definition at line 1003 of file minigui.h.

Field Documentation

◆ caption

const char* caption

The pointer to the caption string of the z-node if it is a window.

Definition at line 1069 of file minigui.h.

◆ cli

int cli

Client id of the z-node.

Definition at line 1083 of file minigui.h.

◆ ct

int ct

The compositing type for this z-node. For more information, see SetMainWindowCompositing.

Definition at line 1090 of file minigui.h.

◆ ct_arg

DWORD ct_arg

The compositing argument for this z-node. For more information, see SetMainWindowCompositing.

Definition at line 1095 of file minigui.h.

◆ flags

DWORD flags

The flags of the z-node, can be OR'd with the following values:

  • ZNIF_VISIBLE
    a visible window.
  • ZNIF_DISABLED
    a disabled window.
  • ZNIF_MAXIMIZED
    a maximized window.
  • ZNIF_MINIMIZED
    a minimized window. Note that the flags are only applied to window.

Definition at line 1066 of file minigui.h.

◆ hwnd

HWND hwnd

The window handle of the z-node if it is a window.

Definition at line 1075 of file minigui.h.

◆ main_win

HWND main_win

The window handle of the z-node's main window if it is a control with WS_EX_CTRLASMAINWIN style.

Definition at line 1080 of file minigui.h.

◆ priv_data

void* priv_data

The private data for this z-node. The initial value is NULL.

Definition at line 1101 of file minigui.h.

◆ rc

RECT rc

The rectangle of the z-node in the screen.

Definition at line 1072 of file minigui.h.

◆ type

DWORD type

The type of the z-node, can be one of the following values:

  • ZNIT_POPUPMENU
    a popup menu.
  • ZNIT_TOOLTIP
  • ZNIT_GLOBAL_MAINWIN
    a main window in the global/system level.
  • ZNIT_GLOBAL_TOOLWIN
    a tool window in the global/system level.
  • ZNIT_GLOBAL_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the global/system level. the global tooltip main window.
  • ZNIT_SCREENLOCK_MAINWIN
    a main window in the screen lock level.
  • ZNIT_SCREENLOCK_TOOLWIN
    a tool window in the screen lock level.
  • ZNIT_SCREENLOCK_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the screen lock level.
  • ZNIT_DOCKER_MAINWIN
    a main window in the docker level.
  • ZNIT_DOCKER_TOOLWIN
    a tool window in the docker level.
  • ZNIT_DOCKER_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the docker level.
  • ZNIT_HIGHER_MAINWIN
    a main window in the higher level.
  • ZNIT_HIGHER_TOOLWIN
    a tool window in the higher level.
  • ZNIT_HIGHER_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the higher level.
  • ZNIT_NORMAL_MAINWIN
    a main window in the normal level.
  • ZNIT_NORMAL_TOOLWIN
    a tool window in the normal level.
  • ZNIT_NORMAL_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the normal level.
  • ZNIT_LAUNCHER_MAINWIN
    a main window in the launcher level.
  • ZNIT_LAUNCHER_TOOLWIN
    a tool window in the launcher level.
  • ZNIT_LAUNCHER_CONTROL
    a control with WS_EX_CTRLASMAINWIN style in the launcher level.
  • ZNIT_DESKTOP
    the desktop.
  • ZNIT_NULL
    a null and not-used z-node which does not refer to any window/popupmenu.

Definition at line 1052 of file minigui.h.


The documentation for this struct was generated from the following file: