Commit Graph

577 Commits

Author SHA1 Message Date
blikblum
be9e302113 win32: revert 37846 #994d2dce9f. Now combobox events are consistent across widgetsets although slightly different from Delphi. Fix #22739
git-svn-id: trunk@39677 -
2012-12-29 10:00:59 +00:00
martin
ebf47da8a1 LCL/Win: IFDEF debugln for pain/EraseBackground
git-svn-id: trunk@39570 -
2012-12-17 14:44:50 +00:00
blikblum
384db6d21b win32: add 64bit safe version of callback and timer functions. Issue #23052
git-svn-id: trunk@39164 -
2012-10-25 14:19:27 +00:00
blikblum
994d2dce9f win32: let TComboBox.CloseUp fire before Change (delphi compatible). Fix #22352
git-svn-id: trunk@37846 -
2012-07-02 02:10:54 +00:00
paul
49fc5776c9 win32: mark client rect as required update before WM_SIZE passing, remove DoAdjustClientRectChange - they are called inside WM_SIZE handler after the client rect is updated (fixes bug #0021724)
git-svn-id: trunk@36804 -
2012-04-16 03:35:02 +00:00
paul
3fce85182c win32: fix range check error
git-svn-id: trunk@36732 -
2012-04-12 01:13:29 +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
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
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
martin
68b6823948 LCL/SynEdit: w32 IME improvements
git-svn-id: trunk@35901 -
2012-03-12 14:00:26 +00:00
martin
0fd8705211 LCL/SynEdit: w32 IME improvements
git-svn-id: trunk@35865 -
2012-03-10 11:15:23 +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
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
9550f573ca lcl, win32: update format settings if UpdateFormatSettings = True (feature #0020517)
git-svn-id: trunk@35168 -
2012-02-06 03:52:31 +00:00
blikblum
a80180ad59 win32: enclose debugln in conditional directive
git-svn-id: trunk@34699 -
2012-01-10 22:19:16 +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
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
blikblum
4361a67b65 lcl: fix itemindex when combobox has duplicates. Issue #20846
git-svn-id: trunk@34053 -
2011-12-08 19:53:11 +00:00
jesus
5c5bd65faa LCL, windows, fix 'After changes by commits 33328 and 33359 it becomes impossible to use Enter key in TMemo. Even TStrings property editor does not allow it' reported by Anton
git-svn-id: trunk@33482 -
2011-11-12 09:08:48 +00:00
jesus
626cc62f6d LCL, win, prevent combobox from beeping too, issue #16620
git-svn-id: trunk@33359 -
2011-11-05 23:24:27 +00:00
jesus
e586e7c43d LCL, win, prevent modal forms with input controls from beeping, issue #16620
git-svn-id: trunk@33328 -
2011-11-05 10:00:26 +00:00
sekelsenmat
2c0cc4c4d4 Reverts the previous removal of TLMouseEvent.State
git-svn-id: trunk@33114 -
2011-10-27 18:03:01 +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
blikblum
e39fae5520 win32: remove duplicate check for class type
git-svn-id: trunk@32487 -
2011-09-24 01:41:40 +00:00
blikblum
ad9d47c037 win32: remove check to windowinfo
git-svn-id: trunk@32486 -
2011-09-24 01:37:06 +00:00
blikblum
aa32bc701d win32: send cut, paste, clear messages of ComboBox to LCL
git-svn-id: trunk@32485 -
2011-09-24 01:34:33 +00:00
maxim
f73c6a5952 LCL: reintroduced Char() typecast in WM_CHAR message handling on Windows. Hopefully fixes bug #20144.
git-svn-id: trunk@32173 -
2011-09-03 20:34:36 +00:00
maxim
ac02acd3d9 LCL: fixed non-ASCII accelerator keys handling, bug #19223
git-svn-id: trunk@32158 -
2011-09-02 19:59:14 +00:00
juha
3d53dd6306 LCL: Fix Range Check errors on 64-bit system. Issue #20051, patch from Cyrax
git-svn-id: trunk@32053 -
2011-08-25 21:18:42 +00:00
jesus
d2cf3ad43f LCL, windows, fix a crash on pressing a key when there is a (html) hint visible
git-svn-id: trunk@31340 -
2011-06-23 07:07:04 +00:00
juha
9905d6e550 LCL: fix range check error for TScrollBar (win32), issue #19517
git-svn-id: trunk@31284 -
2011-06-19 12:58:11 +00:00
juha
fb63887235 Win32 fix: Closing file with CTRL-F4 on form designer caused access violation. Patch from Ludo Brands, issue #19294
git-svn-id: trunk@30575 -
2011-05-06 10:09:44 +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
9fadfea500 win32: move last notebook related message handling to own window proc
git-svn-id: trunk@30196 -
2011-04-05 02:53:07 +00:00
paul
f056040452 win32: move notebook related WM_NOTIFY code to NotebookParentMsgHandler
git-svn-id: trunk@30194 -
2011-04-05 01:23:47 +00:00
paul
4fc8df4ed0 win32: refactoring: move ShowHideTabPage to win32extctrls, move preprocessing of TCN_SELCHANGE into NotebookParentMsgHandler
git-svn-id: trunk@30173 -
2011-04-04 09:29:12 +00:00
paul
4c97b24012 win32: allow WM_ERASEBKGND processing for TCustomNotebook and descendants (in other case left/right tab notebooks contains garbage)
git-svn-id: trunk@30170 -
2011-04-04 09:06:46 +00:00
paul
4aefc884a2 win32: change handling of WM_MEASUREITEM:
- look at CtlType before searching for menu,
  - move ListBox, Combobox WM_MEASUREITEM to their window procedures
  - subclass ListBox, CheckListBox to set control ID on window creation
  - set control ID in FinishCreateWindow by SetWindowLong call (I previously removed it from CreateWindow call)

git-svn-id: trunk@30075 -
2011-03-30 01:38:00 +00:00
paul
eb193faaf6 win32: move handling of hint window messages to a dedicate window proc
git-svn-id: trunk@30059 -
2011-03-29 05:11:02 +00:00
paul
32fe9f12d1 win32: send LM_HITTEST to LCL
git-svn-id: trunk@30056 -
2011-03-29 03:08:51 +00:00
paul
85e8f8b7a0 win32: remove unneeded condition
git-svn-id: trunk@30047 -
2011-03-28 07:19:40 +00:00
paul
8387ee8302 win32: don't clear WS_CHILD and other unrelated to border style/border icon flags on form handle creation, fix handling of WS_CHILD forms (can be either parent <> nil or ParentWindow <> 0)
git-svn-id: trunk@30046 -
2011-03-28 07:12:19 +00:00
paul
7e428c54ed win32: pass WM_WINDOWPOSCHANGING to LCL
git-svn-id: trunk@30043 -
2011-03-28 02:59:58 +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
eb49696a40 Windows: fix compilation with DebugLn.
git-svn-id: trunk@29823 -
2011-03-13 20:10:25 +00:00