Commit Graph

2176 Commits

Author SHA1 Message Date
Vincent Wei
84f3cf048a fix a bug: dx and dy of StretchBlt are reset to zero if it is less than 0 in error 2022-11-27 16:30:34 +08:00
Vincent Wei
ea579771a7 tune the implementation of auto-repeat message 2022-11-27 16:28:45 +08:00
Vincent Wei
4db97ead1f rename timeoutusec to __mg_timeout_usec; rename repeatusec to __mg_repeat_usec 2022-11-27 16:21:54 +08:00
Vincent Wei
2338501d21 use CreateMemDCFromMyBitmap instead of common_rgba8888_dc for DrawIcon() 2022-11-27 16:02:22 +08:00
Vincent Wei
81c061c3c8 cleanup 2022-11-27 15:59:52 +08:00
Vincent Wei
356bf08c4b remove code using the obsolete style: TVS_ICONFORSELECT 2022-11-27 15:58:14 +08:00
Vincent Wei
09a27e508f suppress useless print 2022-11-25 16:04:11 +08:00
Vincent Wei
0b636032ee use bkmode_set instead of saving oldbkmode in context, because it may cause the bkmode cannot be restored correctly 2022-11-25 15:25:56 +08:00
Vincent Wei
5f78f6bb37 fix a bug in Issure #106 2022-11-25 11:03:19 +08:00
Vincent Wei
272bc39c84 call __mg_legacy_bidi_map_reorder when getting the visual Achars 2022-11-25 11:01:36 +08:00
Vincent Wei
1e006c0589 cleanup 2022-11-25 11:00:58 +08:00
Vincent Wei
7158eaee0f restore __mg_legacy_bidi_map_reorder function 2022-11-25 11:00:42 +08:00
Vincent Wei
abfc47159e tune and add some output for debug 2022-11-25 10:58:03 +08:00
Vincent Wei
deade3d887 tuen code for resolve bugs reported in Issue #105 2022-11-13 12:22:12 +08:00
Vincent Wei
cf3e0b3d4d tune 2022-11-13 11:54:20 +08:00
Vincent Wei
614deba4b7 cleanup 2022-11-13 11:53:43 +08:00
Vincent Wei
53d40508a4 set bkmode to BM_TRANSPARENT when having WS_EX_TRANSPARENT exStyle 2022-11-13 11:53:16 +08:00
Vincent Wei
39f96f407f use client DC instead of screen DC; restore the alpha component if amask != 0. 2022-11-08 17:28:23 +08:00
Vincent Wei
c8c6f470ce tune 2022-11-08 17:23:02 +08:00
Vincent Wei
d78b493aad fix a bug mentioned in Issue 96: bad handling for Backspace key 2022-11-08 17:22:40 +08:00
Vincent Wei
26f415f3db update release notes 2022-11-07 20:34:35 +08:00
Vincent Wei
b66ef7a2f5 optimize the refresh of scrolled 2022-11-07 20:23:57 +08:00
Vincent Wei
9b89614569 fix bug reported in Issue #96 2022-11-07 19:59:54 +08:00
Vincent Wei
0d170a6f74 use CreateLogFontEx instead of CreateLogFont to follow the new style convention of font name
when creating system logfonts, but the orientation is ignored for the system logfont.
2022-11-03 20:49:50 +08:00
Vincent Wei
f0dd4a74d2 Tune implementation of GetTabbedTextExtentPoint: remore odd code 2022-11-03 16:58:24 +08:00
Vincent Wei
692a6b81e0 tune update logical of some controls calling ScrollWindow 2022-11-03 16:11:49 +08:00
Vincent Wei
cf49cf2b64 do not call UpdateInvalidClient in ScrollWindow: this may break update logical of control 2022-11-03 16:11:06 +08:00
Vincent Wei
b26accf037 cleanup 2022-11-03 15:54:41 +08:00
Vincent Wei
5913d95ff2 debug info 2022-11-03 15:53:44 +08:00
Vincent Wei
e1b94799a2 cleanup 2022-11-03 15:53:21 +08:00
Vincent Wei
385db01097 fix some implicit full-through 2022-10-22 11:49:24 +08:00
Vincent Wei
d787dea652 call mg_FreeMsgQueueForThisThread immediately in TerminateGUI() 2022-10-19 19:37:06 +08:00
Vincent Wei
0adddb422b fix a bug in dskOnRemoveCtrlInstance for procs runmode 2022-10-19 19:36:16 +08:00
Vincent Wei
c444030334 cleanup 2022-10-19 17:54:43 +08:00
Vincent Wei
a9da4ddfba Fix a bug reported in Issue #94. 2022-10-19 17:53:39 +08:00
Vincent Wei
57cc74410f fix a minor bug 2022-10-12 15:17:27 +08:00
Vincent Wei
3cc16ababb update release notes ver-5-0-10 2022-09-28 15:11:52 +08:00
Vincent Wei
d4097b577b tune 2022-09-27 21:54:36 +08:00
Vincent Wei
7ef6c14f3f relay MSG_IDLE to active child in PreDefControlProc 2022-09-27 21:54:30 +08:00
Vincent Wei
cbb4e32992 Call UpdateInvalidClient in ScrollWindow; Only delaying MSG_IDLE to the child control if the main window is active 2022-09-27 13:20:18 +08:00
Vincent Wei
6bc85062b9 add an internal extended style: WS_EX_ACTIVATED 2022-09-27 13:17:15 +08:00
Vincent Wei
b2dee57f4f tune relaying of MSG_IDLE 2022-09-27 11:44:26 +08:00
Vincent Wei
a926754a6b Tuning: the MSG_IDLE message will be relayed to the descendant control if the control captured the mouse currently 2022-09-26 20:03:20 +08:00
Vincent Wei
7e470b0e78 tune code according to Issue #90 2022-09-26 20:01:47 +08:00
Vincent Wei
9f81cac662 reset binary age and interface age; update release notes 2022-09-26 14:30:49 +08:00
Vincent Wei
a14bdd894a remove #include "window.h" 2022-09-26 14:18:14 +08:00
Vincent Wei
7004e156b8 use inline functions for SetCursor and SetDefaultCursor instead of macros 2022-09-26 14:17:55 +08:00
Vincent Wei
e293cf03ba fix bugs when virtual window enabled for sa and procs runmodes 2022-09-26 14:06:09 +08:00
Vincent Wei
07f226f024 tune 2022-09-26 09:45:36 +08:00
Vincent Wei
4b2503e614 fix a bug when quiting dummy engine under compoisiting schema 2022-09-25 22:13:27 +08:00