# Path: pywinauto/windows/win32structures.py
# BOOL = wintypes.BOOL
# BYTE = wintypes.BYTE
# CHAR = c_char
# DWORD = wintypes.DWORD
# HANDLE = wintypes.HANDLE
# HBITMAP = HANDLE
# LONG = wintypes.LONG
# LPVOID = wintypes.LPVOID
# PVOID = c_void_p
# UINT = wintypes.UINT
# WCHAR = wintypes.WCHAR
# WORD = wintypes.WORD
# LRESULT = wintypes.LPARAM
# COLORREF = wintypes.COLORREF
# LPBYTE = POINTER(BYTE)
# LPWSTR = c_size_t #POINTER(WCHAR)
# DWORD_PTR = UINT_PTR = ULONG_PTR = c_size_t
# PDWORD_PTR = POINTER(DWORD_PTR)
#     INT_PTR = LONG_PTR = c_longlong
#     INT_PTR = LONG_PTR = c_long
# HINSTANCE = LONG_PTR #LONG
# HMENU = LONG_PTR #LONG
# HBRUSH = wintypes.HBRUSH  # LONG_PTR #LONG
# HTREEITEM = LONG_PTR #LONG
# HWND = wintypes.HWND
# LPARAM = wintypes.LPARAM
# WPARAM = wintypes.WPARAM
# class POINT(wintypes.POINT, PointIteratorMixin, StructureMixIn):
# class RECT(wintypes.RECT, RectExtMixin, StructureMixIn):
# class SETTEXTEX(Structure):
# class LVCOLUMNW(Structure):
# class LVCOLUMNW32(Structure):
# class LVITEMW(Structure):
# class LVITEMW32(Structure):
# class TVITEMW(Structure):
# class TVITEMW32(Structure):
# class NMHDR(Structure):
# class NMTVDISPINFOW(Structure):
# class LOGFONTW(Structure):
# class TEXTMETRICW(Structure):
# class NONCLIENTMETRICSW(Structure):
# class LOGBRUSH(Structure):
# class MENUITEMINFOW(Structure):
# class MENUBARINFO(Structure):
# class MSG(Structure):
# class TOOLINFOW(Structure):
# class HDITEMW(Structure):
# class COMBOBOXEXITEMW(Structure):
# class TCITEMHEADERW(Structure):
# class TCITEMW(Structure):
# class TBBUTTONINFOW(Structure):
# class TBBUTTONINFOW32(Structure):
#     class TBBUTTON(Structure):
#     class TBBUTTON(Structure):
# class TBBUTTON32(Structure):
# class REBARBANDINFOW(Structure):
# class SECURITY_ATTRIBUTES(Structure):
# class STARTUPINFOW(Structure):
# class PROCESS_INFORMATION(Structure):
# class NMLISTVIEW(Structure):
# class NMMOUSE(Structure):
# class MOUSEINPUT(Structure):
# class KEYBDINPUT(Structure):
# class HARDWAREINPUT(Structure):
# class UNION_INPUT_STRUCTS(Union):
# class INPUT(Structure):
# class NMUPDOWN(Structure):
# class GUITHREADINFO(Structure):
# class MENUINFO(Structure):
# class NMTTDISPINFOW(Structure):
# class WINDOWPLACEMENT(Structure):
# class LVHITTESTINFO(Structure):
# class TVHITTESTINFO(Structure):
# class LOGFONTA(Structure):
# class GV_ITEM(Structure):
# class SYSTEMTIME(Structure):
# class MCHITTESTINFO(Structure):
# class KBDLLHOOKSTRUCT(Structure):
# class MSLLHOOKSTRUCT(Structure):
#     def __init__(self, other=0, top=0, right=0, bottom=0):
#     def __str__(self):
#     def __repr__(self):
#     def __repr__(self):
#     def __str__(self):


from pywinauto.windows import win32structures


**Bug Extra Information**
The bug contains the following extra information
Name	Description
AlignmentType	This is either LEFT, TOP, RIGHT or BOTTOM. It tells you how
the controls were aligned in the reference dialog. String
AlignmentRect	Gives the smallest rectangle that surrounds ALL the controls
concerned in the bug, rectangle

**Is Reference dialog needed**
This test cannot be performed without the reference control. It is required
to see which controls should be aligned.

**False positive bug reports**
It is quite possible that this test reports false positives:
1.	Where the controls only just happen to be aligned in the reference dialog
(by coincidence)
2.	Where the control does not have a clear boundary (for example static
labels or checkboxes)  they may be miss-aligned but it is not noticeable that
they are not.


**Test Identifier**
The identifier for this test/bug is "Missalignment" """

testname = "Missalignment"



#====================================================================

# Path: pywinauto/windows/win32structures.py
# BOOL = wintypes.BOOL
# BYTE = wintypes.BYTE
# CHAR = c_char
# DWORD = wintypes.DWORD
# HANDLE = wintypes.HANDLE
# HBITMAP = HANDLE
# LONG = wintypes.LONG
# LPVOID = wintypes.LPVOID
# PVOID = c_void_p
# UINT = wintypes.UINT
# WCHAR = wintypes.WCHAR
# WORD = wintypes.WORD
# LRESULT = wintypes.LPARAM
# COLORREF = wintypes.COLORREF
# LPBYTE = POINTER(BYTE)
# LPWSTR = c_size_t #POINTER(WCHAR)
# DWORD_PTR = UINT_PTR = ULONG_PTR = c_size_t
# PDWORD_PTR = POINTER(DWORD_PTR)
#     INT_PTR = LONG_PTR = c_longlong
#     INT_PTR = LONG_PTR = c_long
# HINSTANCE = LONG_PTR #LONG
# HMENU = LONG_PTR #LONG
# HBRUSH = wintypes.HBRUSH  # LONG_PTR #LONG
# HTREEITEM = LONG_PTR #LONG
# HWND = wintypes.HWND
# LPARAM = wintypes.LPARAM
# WPARAM = wintypes.WPARAM
# class POINT(wintypes.POINT, PointIteratorMixin, StructureMixIn):
# class RECT(wintypes.RECT, RectExtMixin, StructureMixIn):
# class SETTEXTEX(Structure):
# class LVCOLUMNW(Structure):
# class LVCOLUMNW32(Structure):
# class LVITEMW(Structure):
# class LVITEMW32(Structure):
# class TVITEMW(Structure):
# class TVITEMW32(Structure):
# class NMHDR(Structure):
# class NMTVDISPINFOW(Structure):
# class LOGFONTW(Structure):
# class TEXTMETRICW(Structure):
# class NONCLIENTMETRICSW(Structure):
# class LOGBRUSH(Structure):
# class MENUITEMINFOW(Structure):
# class MENUBARINFO(Structure):
# class MSG(Structure):
# class TOOLINFOW(Structure):
# class HDITEMW(Structure):
# class COMBOBOXEXITEMW(Structure):
# class TCITEMHEADERW(Structure):
# class TCITEMW(Structure):
# class TBBUTTONINFOW(Structure):
# class TBBUTTONINFOW32(Structure):
#     class TBBUTTON(Structure):
#     class TBBUTTON(Structure):
# class TBBUTTON32(Structure):
# class REBARBANDINFOW(Structure):
# class SECURITY_ATTRIBUTES(Structure):
# class STARTUPINFOW(Structure):
# class PROCESS_INFORMATION(Structure):
# class NMLISTVIEW(Structure):
# class NMMOUSE(Structure):
# class MOUSEINPUT(Structure):
# class KEYBDINPUT(Structure):
# class HARDWAREINPUT(Structure):
# class UNION_INPUT_STRUCTS(Union):
# class INPUT(Structure):
# class NMUPDOWN(Structure):
# class GUITHREADINFO(Structure):
# class MENUINFO(Structure):
# class NMTTDISPINFOW(Structure):
# class WINDOWPLACEMENT(Structure):
# class LVHITTESTINFO(Structure):
# class TVHITTESTINFO(Structure):
# class LOGFONTA(Structure):
# class GV_ITEM(Structure):
# class SYSTEMTIME(Structure):
# class MCHITTESTINFO(Structure):
# class KBDLLHOOKSTRUCT(Structure):
# class MSLLHOOKSTRUCT(Structure):
#     def __init__(self, other=0, top=0, right=0, bottom=0):
#     def __str__(self):
#     def __repr__(self):
#     def __repr__(self):
#     def __str__(self):


# Path: pywinauto/tests/missalignment.py
from pywinauto.windows import win32structures


**Bug Extra Information**
The bug contains the following extra information
Name	Description
AlignmentType	This is either LEFT, TOP, RIGHT or BOTTOM. It tells you how
the controls were aligned in the reference dialog. String
AlignmentRect	Gives the smallest rectangle that surrounds ALL the controls
concerned in the bug, rectangle

**Is Reference dialog needed**
This test cannot be performed without the reference control. It is required
to see which controls should be aligned.

**False positive bug reports**
It is quite possible that this test reports false positives:
1.	Where the controls only just happen to be aligned in the reference dialog
(by coincidence)
2.	Where the control does not have a clear boundary (for example static
labels or checkboxes)  they may be miss-aligned but it is not noticeable that
they are not.


**Test Identifier**
The identifier for this test/bug is "Missalignment" """

testname = "Missalignment"



#====================================================================

def MissalignmentTest(windows):
