From ae40205947c2e9f0511733a88ce4db48163f0099 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Fri, 14 Feb 2020 22:36:47 +0800 Subject: [PATCH] tune CONTROL structure --- src/include/ctrlclass.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/include/ctrlclass.h b/src/include/ctrlclass.h index ed1da84f..26570c9d 100644 --- a/src/include/ctrlclass.h +++ b/src/include/ctrlclass.h @@ -115,6 +115,13 @@ typedef struct _CONTROL DWORD dwAddData; // the additional data. DWORD dwAddData2; // the second addtional data. + /* + * The following members are only implemented for control. + */ + struct _CONTROL* next; // the next sibling control. + struct _CONTROL* prev; // the prev sibling control. + MASKRECT * mask_rects; // mask rectangles for the control. + /* * Fields for appearance of this control. */ @@ -176,11 +183,6 @@ typedef struct _CONTROL /* * The following members are only implemented for control. */ - struct _CONTROL* next; // the next sibling control. - struct _CONTROL* prev; // the prev sibling control. - - MASKRECT * mask_rects; - /* * if a control is has WS_EX_CTRLASMAINWIN, * this field is the next control as main window