Commit Graph

167 Commits

Author SHA1 Message Date
juha
51dc36a761 LCL-Win32: Fix variable type in GetControlText. Issue #35637, patch from Pascal Riekenberg.
git-svn-id: trunk@61295 -
2019-05-27 09:40:00 +00:00
juha
0b9cbf7d7d LCL: Remove unused parameters Width and Height from LCLBoundsToWin32Bounds. Issue #35465, patch from Serge Anvarov.
git-svn-id: trunk@61112 -
2019-05-03 14:44:44 +00:00
ondrej
85a2f5309e Win32: disable auto-DoubleBuffered on themed native controls that have animations. Issue #33832
git-svn-id: trunk@58155 -
2018-06-06 14:05:31 +00:00
ondrej
757cf07ff9 Fix CamelCase
git-svn-id: trunk@57552 -
2018-03-22 15:21:43 +00:00
ondrej
94af0e219e win32: don't limit GetWin32ThemedDoubleBuffered only for Vista
git-svn-id: trunk@57310 -
2018-02-16 13:40:52 +00:00
ondrej
50548dc73d win32: implement GetWin32ThemedDoubleBuffered and use it for tree view and check box.
git-svn-id: trunk@57306 -
2018-02-16 11:20:14 +00:00
balazs
12997708a7 LCL: Win32: Prevent memory leak + exception when GlobalAlloc api fails. Leak reported on the forum.
git-svn-id: trunk@56908 -
2018-01-01 20:47:02 +00:00
ondrej
565f0125cf win32: less warnings.
git-svn-id: trunk@53581 -
2016-12-06 19:36:24 +00:00
bart
c8f2421648 Win32: fix TWin32WSCustomCalendar.HitTest if application does not use a manifest on Vista and up. Issue #0029975.
git-svn-id: trunk@52117 -
2016-04-06 17:08:54 +00:00
dmitry
7fb25de778 win32: removed ComCtrls from win32proc. Replacing explicit TCustomTabControl check for a call to the added WindowInfo.ClientOffsetProc
git-svn-id: trunk@51191 -
2016-01-04 18:18:08 +00:00
dmitry
5913d5f2b1 win32: removing usage of ComCtrls from win32int. Refactored internal processing of WM_DRAWITEM message for ListView adding a new parameter to TWin32WindowInfo structure.
Moved ProgressBar constraint from TWin32WidgetSet to TWin32WSProgressBar.

git-svn-id: trunk@51190 -
2016-01-04 17:16:19 +00:00
dmitry
f2db2ee23e win32: updating fsStayOnTop windows handling of TOPMOST/NONTOPMOST flags by pushing a window to BOTTOM and restoring to the application TOP (not system wide). Should fix #018036
git-svn-id: trunk@51067 -
2015-12-28 17:06:04 +00:00
ondrej
3a6697bc77 codetools, lazutils, win32: less hints
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
bart
857535e651 Win32: Remove Windows 9x specific code, part 3.
git-svn-id: trunk@50771 -
2015-12-13 16:50:12 +00:00
bart
157c7c738e Win32: Start removing Windows 9x specific code.
git-svn-id: trunk@50769 -
2015-12-13 16:28:05 +00:00
bart
f82432a859 Win32: Remove the use of IfDef's for WindowsUnicodeSupport, since it does not make sense anymore (it is always defined).
git-svn-id: trunk@50515 -
2015-11-27 18:19:40 +00:00
ondrej
162c962047 win32: detect Windows 8.1 as WindowsVersion = wv8_1 and Windows 10 as WindowsVersion = wv10
git-svn-id: trunk@50128 -
2015-10-20 17:01:40 +00:00
juha
653207f24f LCL-Win32: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48479 -
2015-03-24 17:51:18 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
juha
4ddd6b9e3d LCL-Win: Fix client rect position of group box on Windows. Issue #25203, patch from Yury Sidorov
git-svn-id: trunk@46245 -
2014-09-16 18:16:46 +00:00
marco
627e03971e * Fixes for compiling lazarus with unicode found when cleaning out last summer's checkout.
git-svn-id: trunk@43866 -
2014-02-02 10:57:44 +00:00
maxim
faa6ee5f53 LCL, win32: make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, bug #25374
git-svn-id: trunk@43480 -
2013-11-25 22:19:52 +00:00
paul
0a3953816b win32: save/restore child windows state on minimze/restore (issue #0024055)
git-svn-id: trunk@42127 -
2013-07-18 07:12:33 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
paul
dd1c5a1062 win32: debug more EM_ message
git-svn-id: trunk@35964 -
2012-03-14 03:36:21 +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
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
sekelsenmat
73f0887e09 Fixes bug #20065. Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
fed392d7ed Updates win32 and wince for the new TCustomNotebook location
git-svn-id: trunk@31553 -
2011-07-04 10:05:35 +00:00
blikblum
33183a009f win32: remove unnecessary check for nil in EnumStayOnTopRemove. lWinControl is TCustomForm will return false anyway
git-svn-id: trunk@30342 -
2011-04-17 12:01:42 +00:00
paul
26ede9d979 win32: cleanup win32proc - remove unused code
git-svn-id: trunk@30286 -
2011-04-14 00:33:12 +00:00
paul
f37b868f3a win32: a trial to correct application focus lose when local stay on top windows are involved (issue #0018494)
git-svn-id: trunk@30228 -
2011-04-07 02:30:35 +00:00
paul
c7ac358e17 win32: move BorderStyleToWin32Flags, BorderStyleToWin32FlagsEx to win32wsforms, fix form style for bsNone with Parent <> nil or ParentWindow <> 0 (don't set WS_POPUP) - fixes issue #0019012
git-svn-id: trunk@30058 -
2011-03-29 04:57:29 +00:00
paul
1106bb17a4 win32: reduce warnings and hints
git-svn-id: trunk@30015 -
2011-03-25 09:04:25 +00:00
paul
5445a84dc4 win32: hide/restore popup windows on application.minimize/restore (issue #0016577)
git-svn-id: trunk@29955 -
2011-03-21 07:53:51 +00:00
paul
dd4583c8bf win32: check win32 code for correctness after Assert->DebugLn replacement, fix ObjectToHWND, remove TraceEvent, remove all commented DebugLn
git-svn-id: trunk@29828 -
2011-03-14 02:32:50 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
paul
bc0c4be8ea win32: cleanup
git-svn-id: trunk@29279 -
2011-02-01 05:41:35 +00:00
paul
caf018bbb4 win32: cleanup
git-svn-id: trunk@29265 -
2011-01-31 08:46:22 +00:00
paul
b5d35d3037 win32: formatting
git-svn-id: trunk@28590 -
2010-12-02 10:20:39 +00:00
paul
d55955bd63 win32: fix possible gdi leak
git-svn-id: trunk@28589 -
2010-12-02 09:07:58 +00:00
paul
520d367826 lcl, win32: fix showing of windows which needs to be shown on taskbar (bug #0017561)
git-svn-id: trunk@27714 -
2010-10-15 06:45:36 +00:00
dmitry
f017af8aaa win32: implement IME input support for Edit controls. KeyUp (for VK_RETURN) event is supressed if IME composition is finished, bug #16430
git-svn-id: trunk@26984 -
2010-08-02 23:52:51 +00:00
paul
ec0670136a win32, wince: remove unused ancient accelerator code
git-svn-id: trunk@26775 -
2010-07-22 08:46:31 +00:00