paul
ba7e619e9e
win32: apply patch of Ludo Brands which fixes problems of Names and Values arrays of TWin32MemoStrings (issue #0021532 )
...
git-svn-id: trunk@36239 -
2012-03-23 03:44:20 +00:00
paul
d3f4aeb959
win32: don't beep on click on disabled form from another application
...
git-svn-id: trunk@36206 -
2012-03-22 01:21:28 +00:00
paul
a152f6fb8f
win32: return normal size for minimized windows in GetWindowSize() - fixes issue #0021508
...
git-svn-id: trunk@36184 -
2012-03-21 02:51:15 +00:00
paul
5a475a393d
win32: handle SW_SHOWFULLSCREEN in TWin32WidgetSet.ShowWindow
...
git-svn-id: trunk@36183 -
2012-03-21 01:43:45 +00:00
paul
0d66913910
win32: activate application when inactive disabled form is clicked (windows does not send any other messages for such forms than WM_SETCURSOR) - fixes issue #0019069
...
git-svn-id: trunk@36182 -
2012-03-21 01:26:57 +00:00
paul
a793b4fa1f
win32: reimplement AppBringToFront - it should take care about MainFormOnTaskBar property and it should set the last active window as a foreground window generally
...
git-svn-id: trunk@36181 -
2012-03-21 01:24:02 +00:00
zeljko
3068129128
LCL: added SM_LCLMAXIMIZEDWIDTH and SM_LCLMAXIMIZEDHEIGHT to system metrics rules to get accurate size of maximized window until we fix difference between forms frame rect and client rect. issue #21119
...
git-svn-id: trunk@36106 -
2012-03-17 10:46:34 +00:00
vincents
bf211c7a21
win32 interface: replaced SetClassLong with SetClassLongPtr to make it 64 bits safe (issue #19321 )
...
git-svn-id: trunk@36074 -
2012-03-16 08:49:12 +00:00
paul
694635da21
win32: set IgnoreNextCharWindow on WM_KEYDOWN, WM_SYSKEYDOWN and clear it if it is not processed (fixes issue #0020993 )
...
git-svn-id: trunk@35965 -
2012-03-14 06:26:35 +00:00
paul
dd1c5a1062
win32: debug more EM_ message
...
git-svn-id: trunk@35964 -
2012-03-14 03:36:21 +00:00
paul
a54c5387fe
win32: hide modal window by SetWindowPos() - this partly fix issue #0021306
...
git-svn-id: trunk@35962 -
2012-03-14 01:48:40 +00:00
paul
a452a818da
win32: paint menu text with a transparent text background (by cobines, issue #0018424 )
...
git-svn-id: trunk@35911 -
2012-03-13 00:58:52 +00:00
martin
68b6823948
LCL/SynEdit: w32 IME improvements
...
git-svn-id: trunk@35901 -
2012-03-12 14:00:26 +00:00
paul
fdbe3b2eef
win32: don't generate BM_CLICK for a radio button when it get a focus on vista+ (issue #0021417 )
...
git-svn-id: trunk@35878 -
2012-03-11 01:42:37 +00:00
martin
0fd8705211
LCL/SynEdit: w32 IME improvements
...
git-svn-id: trunk@35865 -
2012-03-10 11:15:23 +00:00
paul
ba608daeeb
win32: don't try to draw tooltip text in windows XP using themes - XP themes does not know how to draw it (bug #0021386 )
...
git-svn-id: trunk@35621 -
2012-02-29 07:29:57 +00:00
paul
6faa5c4309
win32: don't double decrease/increase right position by menu check size because it is already increased/decreased
...
git-svn-id: trunk@35603 -
2012-02-27 09:18:47 +00:00
paul
57bbaca812
win32: call Application.IntfActivate, IntfDeactivate asynchronously from win32 interface code (fixes issue #0018494 )
...
git-svn-id: trunk@35549 -
2012-02-22 01:35:41 +00:00
paul
4c6e864445
win32: revert accidental committed change
...
git-svn-id: trunk@35521 -
2012-02-21 07:15:34 +00:00
paul
82e9d3f4ce
lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
...
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
paul
8fc49926d2
win32: replace the code which moved the focus to the last focused window on application activate with the search of the top window (active stay on top windows always win), move code which restored the last active window on application activation to LCL
...
git-svn-id: trunk@35504 -
2012-02-20 09:24:42 +00:00
paul
bbb4a0f776
lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
...
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
paul
09c788be3b
win32: don't set clrText, clrTextBk of NMLVCustomDraw structure outside CDDS_ITEMPREPAINT stage (fixes crash on 64 bit vista, issue #0016382 )
...
git-svn-id: trunk@35392 -
2012-02-16 08:40:52 +00:00
paul
69545efcb9
win32: compare length using UTF8Length()
...
git-svn-id: trunk@35367 -
2012-02-15 02:37:56 +00:00
zeljko
bd60e4f5de
LCL: TCustomListView added TCustomListViewEditor class to implement OnEditing and OnEdited events in pure LCL. issue #12059 .
...
win32: mark listview as readonly to ws always since we are using LCL implementation for listview editing (TCustomListViewEditor).
git-svn-id: trunk@35354 -
2012-02-13 11:45:13 +00:00
paul
730a003f33
win32: fix spacing for menu item drawing on classic windows by cobines with modifications (issue #0018424 )
...
git-svn-id: trunk@35346 -
2012-02-13 06:42:22 +00:00
paul
2dad53e522
win32: apply patch of cobines to fix page size after a tab caption change (bug #0018955 )
...
git-svn-id: trunk@35199 -
2012-02-07 05:11:44 +00:00
paul
a8da22e5ec
win32: rename Notebook to TabControl
...
git-svn-id: trunk@35198 -
2012-02-07 05:00:15 +00:00
blikblum
bb8d14e5ac
win32: assumes FSender is TCustomComboBox in TWin32ComboBoxStringList.GetComboHeight (same assumption is made in other methods)
...
git-svn-id: trunk@35192 -
2012-02-06 19:21:37 +00:00
blikblum
0eba32e7be
win32: cleanup TWin32ComboBoxStringList.UpdateComboHeight
...
git-svn-id: trunk@35191 -
2012-02-06 19:13:14 +00:00
blikblum
c447cf7d03
win32: use the same approach to set dropdowncount when theme is enabled or not. Fix issue #21232
...
git-svn-id: trunk@35189 -
2012-02-06 19:03:27 +00:00
blikblum
e0fb084147
win32: partially reverts 29880. Fix issues #20359 and #11294 .
...
git-svn-id: trunk@35188 -
2012-02-06 18:55:44 +00:00
paul
04d7f69119
win32: use SW_SHOWNORMAL instead of SW_SHOW when we are showing a window (bug #0020670 )
...
git-svn-id: trunk@35169 -
2012-02-06 06:08:03 +00:00
paul
9550f573ca
lcl, win32: update format settings if UpdateFormatSettings = True (feature #0020517 )
...
git-svn-id: trunk@35168 -
2012-02-06 03:52:31 +00:00
sekelsenmat
49dd2c8b6b
Fixes compilation of win32/wince
...
git-svn-id: trunk@34949 -
2012-01-26 12:07:38 +00:00
sekelsenmat
2ef6d922c8
Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
...
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
sekelsenmat
034d195ca9
Advances implementing the WS class for TLazAccessibleObject
...
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00
blikblum
a80180ad59
win32: enclose debugln in conditional directive
...
git-svn-id: trunk@34699 -
2012-01-10 22:19:16 +00:00
blikblum
fd126d3ed6
win32: remove redundant Win32Info checks
...
git-svn-id: trunk@34655 -
2012-01-08 09:51:31 +00:00
blikblum
b417b1eed4
win32: remove check for returned WindowInfo (dead code)
...
git-svn-id: trunk@34384 -
2011-12-24 13:20:13 +00:00
blikblum
bea8f07f37
win32: group boolean fields of TWin32WindowInfo. Saves 8 bytes per record (96 -> 88)
...
git-svn-id: trunk@34383 -
2011-12-24 12:59:41 +00:00
blikblum
ae39c05267
win32: replace TList by TFPList in win32proc
...
git-svn-id: trunk@34382 -
2011-12-24 12:44:04 +00:00
blikblum
48b3086233
win32: cleanup ObjectToHWND
...
git-svn-id: trunk@34381 -
2011-12-24 12:35:49 +00:00
blikblum
a2141d47cb
win32: cleanup GetLCLClientBoundsOffset. remove check for scrollbar fields if RedirectDestroyMessages defined
...
git-svn-id: trunk@34380 -
2011-12-24 12:24:26 +00:00
blikblum
9c630b6274
win32: redirect messages sent by win32 after call to DestroyWindow to a specific window proc (disabled by default through a define). Those messages can lead to access to LCL objects after destruction with potential crashes.
...
git-svn-id: trunk@34377 -
2011-12-24 01:08:30 +00:00
blikblum
8ad1d066b9
win32: remove checks for windowinfo
...
git-svn-id: trunk@34372 -
2011-12-23 14:17:50 +00:00
blikblum
5f0b15ad52
win32: dont update index for ReadOnly in TWin32WSCustomComboBox.SetText. It's not necessary because index, so the Text, is updated in LCL. The previous implementation was also wrong since could select wrong item, e.g., setting text to 'a' in a combo that has items 'abc', 'a' was selecting 'abc'
...
git-svn-id: trunk@34120 -
2011-12-11 23:11:29 +00:00
blikblum
ee5256ca4a
win32: remove unnecessary type cast check
...
git-svn-id: trunk@34108 -
2011-12-11 16:02:41 +00:00
blikblum
327e84b060
win32: fix selecting items that differs only in case in combobox. Issue #16816 .
...
git-svn-id: trunk@34100 -
2011-12-11 15:00:33 +00:00
juha
66508f5197
LCL, Win32: Fix Rangecheck error when assigning ImageList to ListView. Issue #20861
...
git-svn-id: trunk@34080 -
2011-12-10 10:58:09 +00:00