Vincent Wei
|
513618d4ca
|
rename notif_proc to NotifProc in CONTROL structure; fix conditional compilation errors
|
2020-02-29 17:52:40 +08:00 |
|
Vincent Wei
|
df03ad014f
|
Improve implementation of DumpWindow and moved to window.c
|
2020-02-29 17:44:01 +08:00 |
|
Vincent Wei
|
f789ea719d
|
allow HWND_NULL for GetNextChild and GetNextMainWindow
|
2020-02-29 17:13:04 +08:00 |
|
Vincent Wei
|
dd34cd58a5
|
tune CreateMainWindowEx2 for error handling; Call SendNotifyMessage in the end of MoveWindow
|
2020-02-29 16:03:01 +08:00 |
|
Vincent Wei
|
04535d691f
|
use new inline functions for checking and returning the window ptr
|
2020-02-28 17:12:05 +08:00 |
|
Vincent Wei
|
2d8fda08e7
|
cleanup the checking of window type for various window APIs
|
2020-02-28 17:08:14 +08:00 |
|
Vincent Wei
|
e2e2b1ef94
|
check length of class name and reserved names
|
2020-02-28 17:07:40 +08:00 |
|
Vincent Wei
|
dfe6c026ef
|
fix a fatal bug: call __mg_throw_away_messages in CreateMainWindowEx2, CreateVirtualWindow, and CreateWindowEx2 when failed to create a new window.
|
2020-02-27 21:10:23 +08:00 |
|
Vincent Wei
|
16d3a63fbb
|
rename get_valid_dc to get_effective_dc; rename release_valid_dc to release_effective_dc
|
2020-02-27 10:40:17 +08:00 |
|
Vincent Wei
|
98cdfd9bfb
|
Call SyncUpdate in ReleaseDC instead of EndPaint
|
2020-02-27 10:38:05 +08:00 |
|
Vincent Wei
|
283d421721
|
tune
|
2020-02-27 09:57:49 +08:00 |
|
Vincent Wei
|
e50c8424e0
|
Only call SyncUpdateDC in EndPaint
|
2020-02-27 00:25:50 +08:00 |
|
Vincent Wei
|
18ca90eb37
|
conver to upper before hashing
|
2020-02-27 00:25:19 +08:00 |
|
Vincent Wei
|
bdb4bbefe4
|
use Str2Key for hash function of class name
|
2020-02-26 23:01:53 +08:00 |
|
Vincent Wei
|
e76dcef46e
|
add gui_ prefix to AddNewControlClass and so on
|
2020-02-26 22:06:37 +08:00 |
|
Vincent Wei
|
6ee2617eb7
|
use GetSystemBitmapEx2 instead of GetSystemBitmapEx
|
2020-02-26 21:32:11 +08:00 |
|
Vincent Wei
|
17b92420f1
|
tune implementation for MSG_CALC_POSITION message
|
2020-02-26 12:23:19 +08:00 |
|
Vincent Wei
|
3fde7981ed
|
fix typos: Checks -> Check, Determines -> Determine
|
2020-02-26 11:13:11 +08:00 |
|
Vincent Wei
|
ca85b950fe
|
send MSG_CALC_POSITION messge to desktop for calculating default position
|
2020-02-26 11:11:28 +08:00 |
|
Vincent Wei
|
881776c7a9
|
fix typos: Gets -> Get, Sets -> Set, Retrieves -> Retrieve
|
2020-02-26 08:55:38 +08:00 |
|
Vincent Wei
|
76cd3d6f27
|
GetMainVirtWindowById -> GetHostedById
|
2020-02-25 08:21:25 +08:00 |
|
Vincent Wei
|
2cbf9b25c9
|
tune search_win_tree; bugfix: forget removing the virtual window from hosting tree in DestroyVirtualWindow
|
2020-02-24 21:20:59 +08:00 |
|
Vincent Wei
|
08d1b85e10
|
tune CreateVirtualWindow and GetMainVirtWindowById; implement GetWindowId and SetWindowId
|
2020-02-24 15:00:13 +08:00 |
|
Vincent Wei
|
05bc9e9b3c
|
implement GetRootWindow and GetMainVirtWindowById; tune implementation of GetHosting, GetFirstHosted, and GetNextHosted to support virtual window
|
2020-02-23 19:03:35 +08:00 |
|
Vincent Wei
|
c54c05ce57
|
use MG_IS_NOT_VIRT_WINDOW for GetParent
|
2020-02-23 15:33:28 +08:00 |
|
Vincent Wei
|
aaa6b1379d
|
include WS_EX_DIALOGBOX before create main window for dialog box
|
2020-02-23 11:25:14 +08:00 |
|
Vincent Wei
|
523ceb4dc5
|
fix conditional compilation errors
|
2020-02-22 19:32:59 +08:00 |
|
Vincent Wei
|
90636dd869
|
bugfix: wrong WinType for virtual window; bad counting of nrWindows
|
2020-02-22 15:53:09 +08:00 |
|
Vincent Wei
|
32939cf0af
|
cleanup
|
2020-02-21 20:06:50 +08:00 |
|
Vincent Wei
|
3e3a7c92e1
|
use WS_EX_DIALOGBOX style for IsDialog() instead of sending message to window procedure
|
2020-02-21 20:05:44 +08:00 |
|
Vincent Wei
|
9b4c325ba2
|
fix bug of CreateThreadForMessaging
|
2020-02-21 11:43:53 +08:00 |
|
Vincent Wei
|
ec6c22f666
|
fix bug of bad traveling the hosted windows
|
2020-02-21 09:52:50 +08:00 |
|
Vincent Wei
|
1b598de5cc
|
tune
|
2020-02-20 12:37:00 +08:00 |
|
Vincent Wei
|
c77d618b7d
|
WINDOWINFO structure changed, do not assume the first field of the structure is the position of the window
|
2020-02-20 12:36:30 +08:00 |
|
Vincent Wei
|
0f416f990c
|
convert style WS_EX_TOPMOST to WS_EX_WINTYPE_HIGHER
|
2020-02-19 19:36:34 +08:00 |
|
Vincent Wei
|
f4f711e660
|
register/unregister message thread to desktop
|
2020-02-18 22:20:30 +08:00 |
|
Vincent Wei
|
231985fce3
|
fix condiitonal compilation errors
|
2020-02-18 20:27:35 +08:00 |
|
Vincent Wei
|
6f132886c3
|
4.2.0 -> 5.0.0
|
2020-02-18 18:44:42 +08:00 |
|
Vincent Wei
|
5f3b100f19
|
implement RegisterEventHookFunc, RegisterEventHookWindow, and UnregisterEventHookWindow; tune implementation of old hook APIs
|
2020-02-18 18:43:14 +08:00 |
|
Vincent Wei
|
3e9847ab13
|
declare IsWindowInThisThread, PreDefVirtualWinProc, DefaultVirtualWinProc, and IsVirtualWindow; tune some description words
|
2020-02-17 16:19:15 +08:00 |
|
Vincent Wei
|
9c9bd2fe2b
|
handle hosting of virtual windows and main windows
|
2020-02-16 22:38:48 +08:00 |
|
Vincent Wei
|
df10bf5ae0
|
call mg_GetMsgQueueForThisThread and mg_FreeMsgQueueForThisThread only for _MGHAVE_VIRTUAL_WINDOW
|
2020-02-16 18:44:08 +08:00 |
|
Vincent Wei
|
0ee62da119
|
tune code for virtual window
|
2020-02-15 22:51:56 +08:00 |
|
Vincent Wei
|
c5df42a44b
|
implement CreateThreadForMessaging, GetThreadByWindow, CreateVirtualWindow, DestroyVirtualWindow, and VirtualWindowCleanup; move GetMainWinThread from desktop-ths.c to window.c
|
2020-02-15 18:22:14 +08:00 |
|
Vincent Wei
|
3b639d59d7
|
cleanup
|
2020-02-14 22:43:13 +08:00 |
|
Vincent Wei
|
21160fb01d
|
rename internal symbols for better coding style
|
2020-02-14 12:54:54 +08:00 |
|
Vincent Wei
|
3bbdd9d647
|
UPDATERGIN -> -UPDATERGN
|
2020-02-13 21:54:29 +08:00 |
|
Vincent Wei
|
96a90aa73b
|
Use client DC instead of HDC_SCREEN_SYS to get the caret bitmaps
|
2020-02-13 21:53:48 +08:00 |
|
Vincent Wei
|
1347fa020b
|
Use pWin->pMainWin->left and pWin->pMainWin->top to calculate
|
2020-02-13 20:52:46 +08:00 |
|
Vincent Wei
|
a0d747fcc6
|
call SyncUpdateDC in __mg_update_secondary_dc
|
2020-02-12 23:41:41 +08:00 |
|