message_386.go 939 字节
Newer Older
yanghye's avatar
yanghye 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Apache License Version 2.0, January 2004
//
// https://www.apache.org/licenses/LICENSE-2.0
//
//----------------------------------------

//go:build 386

package types

type WindowPos struct {
	Hwnd            HWND
	HwndInsertAfter HWND
	X               Integer
	Y               Integer
	Cx              Integer
	Cy              Integer
	Flags           UINT
}

type TMove struct {
	Msg      Cardinal
	MoveType PtrInt // 0 = update, 1 = force RequestAlign, 128 = Source is Interface (Widget has moved)
	Dummy    LPARAM // needed for64 bit alignment
	Result   LResult
}

type TSize struct {
	Msg      Cardinal
	SizeType PtrInt // see LCLType.pp (e.g. Size_Restored)
	Width    Word
	Height   Word
	Result   LResult
}

type TWindowPosChanged struct {
	Msg       Cardinal
	Unused    WPARAM
	WindowPos WindowPos
	Result    LPARAM
}