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
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
13cb137a99
win32: formatting, cleanup
...
git-svn-id: trunk@29780 -
2011-03-10 06:35:10 +00:00
paul
a0328590c5
lcl: formatting, cleanup
...
git-svn-id: trunk@29778 -
2011-03-10 04:26:42 +00:00
paul
786385251f
win32: always call GetWindowSize in WM_SIZE handler - it already takes iconic windows into account (fixes a bug with minimizing/restoring windows and their size growing)
...
git-svn-id: trunk@29756 -
2011-03-09 04:04:31 +00:00
paul
0f516fc6ef
win32: set WindowPlacement.Length before the call of GetWindowPlacement
...
git-svn-id: trunk@29754 -
2011-03-09 03:20:36 +00:00
paul
74952c9d65
win32: replace TWin32WidgetSet(WidgetSet) with Win32WidgetSet + cleanup
...
git-svn-id: trunk@29753 -
2011-03-09 03:01:39 +00:00
juha
0928ead547
LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
...
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
paul
dca336b627
win32: start work on implementation of MainFormOnTaskBar
...
git-svn-id: trunk@29266 -
2011-01-31 09:07:31 +00:00
paul
e24e12ac8d
lcl, win32: cleanup
...
git-svn-id: trunk@29244 -
2011-01-29 09:05:57 +00:00
paul
6380ade6ac
lcl, win32: handle clDefault font color in controls
...
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
2fd8aba64b
lcl: extent GetDefaultColor function to get default Brush and Font colors
...
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
2252ae27a0
win32: reimplement DrawParentBackground to support non-themed windows
...
git-svn-id: trunk@28175 -
2010-11-10 09:59:58 +00:00
paul
9bd782a63e
lcl:
...
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
- return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass
git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
a2421a3173
win32: don't use csParentBackground if Themes are not enabled
...
git-svn-id: trunk@28153 -
2010-11-08 10:29:58 +00:00
paul
0fa685a539
win32: remove a mess with painting on notebook, add simple support for csParentBackground required for transparent frames painting
...
git-svn-id: trunk@28149 -
2010-11-08 08:17:16 +00:00
paul
cd70f00a57
win32: make TGroupBox transparent when its color = parent color
...
git-svn-id: trunk@28148 -
2010-11-08 07:24:09 +00:00