Commit in reactos/subsys/system/regedit on MAIN | |||
hexedit.c | +3 | -1 | 1.11 -> 1.12 |
set the control focus when clicking on it
diff -u -r1.11 -r1.12 --- hexedit.c 2 Jul 2004 08:46:50 -0000 1.11 +++ hexedit.c 9 Jul 2004 15:53:34 -0000 1.12 @@ -748,10 +748,12 @@
POINT EditPos; DWORD Hit = HEXEDIT_HitRegionTest(hed, Pt);
+ SetFocus(hed->hWndSelf); +
hed->Position = HEXEDIT_PositionFromPoint(hed, Pt, Hit, &EditPos, &NewField); hed->EditingField = NewField; hed->CaretCol = EditPos.x;
- hed->CaretLine = EditPos.y;
+ hed->CaretLine = EditPos.y;
HEXEDIT_MoveCaret(hed, TRUE);