mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 12:33:40 +00:00
comctl32/listview: Remove description headers from Edit box helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b701c3df99
commit
8df5e1bc5c
|
@ -5966,20 +5966,6 @@ cleanup:
|
|||
return res;
|
||||
}
|
||||
|
||||
/***
|
||||
* DESCRIPTION:
|
||||
* Subclassed edit control windproc function
|
||||
*
|
||||
* PARAMETER(S):
|
||||
* [I] hwnd : the edit window handle
|
||||
* [I] uMsg : the message that is to be processed
|
||||
* [I] wParam : first message parameter
|
||||
* [I] lParam : second message parameter
|
||||
* [I] isW : TRUE if input is Unicode
|
||||
*
|
||||
* RETURN:
|
||||
* Zero.
|
||||
*/
|
||||
static LRESULT EditLblWndProcT(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL isW)
|
||||
{
|
||||
LISTVIEW_INFO *infoPtr = (LISTVIEW_INFO *)GetWindowLongPtrW(GetParent(hwnd), 0);
|
||||
|
@ -6022,52 +6008,16 @@ static LRESULT EditLblWndProcT(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||
return 0;
|
||||
}
|
||||
|
||||
/***
|
||||
* DESCRIPTION:
|
||||
* Subclassed edit control Unicode windproc function
|
||||
*
|
||||
* PARAMETER(S):
|
||||
* [I] hwnd : the edit window handle
|
||||
* [I] uMsg : the message that is to be processed
|
||||
* [I] wParam : first message parameter
|
||||
* [I] lParam : second message parameter
|
||||
*
|
||||
* RETURN:
|
||||
*/
|
||||
static LRESULT CALLBACK EditLblWndProcW(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
return EditLblWndProcT(hwnd, uMsg, wParam, lParam, TRUE);
|
||||
}
|
||||
|
||||
/***
|
||||
* DESCRIPTION:
|
||||
* Subclassed edit control ANSI windproc function
|
||||
*
|
||||
* PARAMETER(S):
|
||||
* [I] hwnd : the edit window handle
|
||||
* [I] uMsg : the message that is to be processed
|
||||
* [I] wParam : first message parameter
|
||||
* [I] lParam : second message parameter
|
||||
*
|
||||
* RETURN:
|
||||
*/
|
||||
static LRESULT CALLBACK EditLblWndProcA(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
return EditLblWndProcT(hwnd, uMsg, wParam, lParam, FALSE);
|
||||
}
|
||||
|
||||
/***
|
||||
* DESCRIPTION:
|
||||
* Creates a subclassed edit control
|
||||
*
|
||||
* PARAMETER(S):
|
||||
* [I] infoPtr : valid pointer to the listview structure
|
||||
* [I] text : initial text for the edit
|
||||
* [I] style : the window style
|
||||
* [I] isW : TRUE if input is Unicode
|
||||
*
|
||||
* RETURN:
|
||||
*/
|
||||
static HWND CreateEditLabelT(LISTVIEW_INFO *infoPtr, LPCWSTR text, BOOL isW)
|
||||
{
|
||||
static const DWORD style = WS_CHILDWINDOW|WS_CLIPSIBLINGS|ES_LEFT|ES_AUTOHSCROLL|WS_BORDER|WS_VISIBLE;
|
||||
|
@ -6094,19 +6044,6 @@ static HWND CreateEditLabelT(LISTVIEW_INFO *infoPtr, LPCWSTR text, BOOL isW)
|
|||
return hedit;
|
||||
}
|
||||
|
||||
/***
|
||||
* DESCRIPTION:
|
||||
* Begin in place editing of specified list view item
|
||||
*
|
||||
* PARAMETER(S):
|
||||
* [I] infoPtr : valid pointer to the listview structure
|
||||
* [I] nItem : item index
|
||||
* [I] isW : TRUE if it's a Unicode req, FALSE if ASCII
|
||||
*
|
||||
* RETURN:
|
||||
* SUCCESS : TRUE
|
||||
* FAILURE : FALSE
|
||||
*/
|
||||
static HWND LISTVIEW_EditLabelT(LISTVIEW_INFO *infoPtr, INT nItem, BOOL isW)
|
||||
{
|
||||
WCHAR disptextW[DISP_TEXT_SIZE] = { 0 };
|
||||
|
|
Loading…
Reference in a new issue