riched32: Added class style to process double click events.
This commit is contained in:
parent
438d8e1c58
commit
add180dde0
|
@ -56,7 +56,7 @@ static BOOL RICHED32_Register(void)
|
||||||
WNDCLASSA wndClass;
|
WNDCLASSA wndClass;
|
||||||
|
|
||||||
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
|
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
|
||||||
wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
|
wndClass.style = CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
|
||||||
wndClass.lpfnWndProc = RichEdit10ANSIWndProc;
|
wndClass.lpfnWndProc = RichEdit10ANSIWndProc;
|
||||||
wndClass.cbClsExtra = 0;
|
wndClass.cbClsExtra = 0;
|
||||||
wndClass.cbWndExtra = 4;
|
wndClass.cbWndExtra = 4;
|
||||||
|
|
Loading…
Reference in New Issue