ws_constants.java

来自「Java调用Windows API,支持Office」· Java 代码 · 共 45 行

JAVA
45
字号
//******************************************************************
// Released under the DevelopMentor OpenSource Software License.
// Please consult the LICENSE file in the project root directory,
// or at http://www.develop.com for details before using this
// software.
//******************************************************************

package org.jawin.donated.win32;

public class WS_Constants {
	
	private WS_Constants() {
		// private constructor to keep class from being instantiated.
	}
	
    public static final int WS_OVERLAPPED       = 0x00000000;
    public static final int WS_POPUP            = 0x80000000;
    public static final int WS_CHILD            = 0x40000000;
    public static final int WS_MINIMIZE         = 0x20000000;
    public static final int WS_VISIBLE          = 0x10000000;
    public static final int WS_DISABLED         = 0x08000000;
    public static final int WS_CLIPSIBLINGS     = 0x04000000;
    public static final int WS_CLIPCHILDREN     = 0x02000000;
    public static final int WS_MAXIMIZE         = 0x01000000;
    public static final int WS_CAPTION          = 0x00C00000;     /* WS_BORDER | WS_DLGFRAME  */
    public static final int WS_BORDER           = 0x00800000;
    public static final int WS_DLGFRAME         = 0x00400000;
    public static final int WS_VSCROLL          = 0x00200000;
    public static final int WS_HSCROLL          = 0x00100000;
    public static final int WS_SYSMENU          = 0x00080000;
    public static final int WS_THICKFRAME       = 0x00040000;
    public static final int WS_GROUP            = 0x00020000;
    public static final int WS_TABSTOP          = 0x00010000;

    public static final int WS_MINIMIZEBOX      = 0x00020000;
    public static final int WS_MAXIMIZEBOX      = 0x00010000;

    public static final int WS_OVERLAPPEDWINDOW = (WS_OVERLAPPED     |
                             WS_CAPTION        |
                             WS_SYSMENU        |
                             WS_THICKFRAME     |
                             WS_MINIMIZEBOX    |
                             WS_MAXIMIZEBOX);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?