paul
70fca72696
lcl: always ask control about special key using CM_WANTSPECIALKEY and LM_GETDLGCODE, simplify DoCancelKey, DoReturnKey, remove old WantKeyBeforeInterface
...
git-svn-id: trunk@37142 -
2012-05-03 01:38:51 +00:00
paul
b52417fbf8
lcl: don't update hints on IDLE - it is enough to update hints on mouse events (issue #0020101 )
...
git-svn-id: trunk@36253 -
2012-03-23 09:22:59 +00:00
zeljko
76c83056e6
LCL: removed Screen.RestoreLastActive from TApplication.Activate since it produces a lot of problems under X11.
...
git-svn-id: trunk@35582 -
2012-02-24 15:32:56 +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
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
8d364b03df
lcl:
...
- Extend FindLCLWindow method by AllowDisabled argument to skip disabled windows
- Fix FindControlAtPosition - it previously ignored AllowDisabled option
- Don't allow disabled window to be an internal MouseControl (fixes bug #0017993 for win32)
git-svn-id: trunk@35204 -
2012-02-07 07:49:42 +00:00
paul
872b430305
lcl: fix compilation
...
git-svn-id: trunk@35172 -
2012-02-06 08:01:25 +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
cbe7d6ff5f
Compilation fix and starts TApplication.MoveFormFocusToChildren
...
git-svn-id: trunk@34365 -
2011-12-22 16:58:18 +00:00
juha
50c4916d2c
LCL: Fix GetHintControl to return a control with OnShowHint assigned. Issue #20637
...
git-svn-id: trunk@33389 -
2011-11-07 08:18:11 +00:00
juha
e9ccc22476
Revert earlier changes of ShowHint/ParentShowHint logic but improve fetching a hint text from parents when needed
...
git-svn-id: trunk@33089 -
2011-10-26 13:35:47 +00:00
juha
bd7b46c17a
LCL: improve HintControl function more. The control returned is the first parent to contain hint text.
...
git-svn-id: trunk@33086 -
2011-10-26 06:50:16 +00:00
juha
dd109fba91
LCL: fix the hint behavior after the earlier change.
...
git-svn-id: trunk@33082 -
2011-10-25 11:43:00 +00:00
juha
bd619d70e5
LCL: fix wrong behavior between ShowHint and ParentShowHint.
...
git-svn-id: trunk@33080 -
2011-10-25 09:30:06 +00:00
zeljko
928292514b
LCL: added public TControl.IsParentShowHint:boolean function, to check parentShowHint property, since ParentShowHint is protected.For now it's used only in GetHintControl() in application.inc.Fixes issue #20518 .
...
git-svn-id: trunk@33020 -
2011-10-22 12:47:44 +00:00
sekelsenmat
112fe6d204
Improves RTL detection from patch #18778
...
git-svn-id: trunk@32645 -
2011-10-03 06:33:43 +00:00
mattias
016031a066
LCL: comment
...
git-svn-id: trunk@31147 -
2011-06-09 12:45:10 +00:00
mattias
6c9cc59de9
LCL: TApplication.Destroy: free crit section later
...
git-svn-id: trunk@31145 -
2011-06-09 11:55:15 +00:00
mattias
44fa8c6766
LCL: made QueueAsyncCall and RemoveAsyncCalls thread safe
...
git-svn-id: trunk@31143 -
2011-06-09 11:00:09 +00:00
zeljko
25505a1b46
LCL: call WakeMainThread() in QueueAsyncCall, so messages are passed.Patch by Henry Vermaak. issues #13120,#18599
...
git-svn-id: trunk@30403 -
2011-04-20 15:43:27 +00:00
paul
b6dfaf0b4b
lcl: formatting
...
git-svn-id: trunk@30060 -
2011-03-29 05:25:21 +00:00
juha
f38190794b
Formatting: joined lines where only ');' was split to its own line, in procedure defs.
...
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
paul
84aeae0727
lcl: add WidgetSet.AppSetMainFormOnTaskBar prototype
...
git-svn-id: trunk@29263 -
2011-01-31 08:42:18 +00:00
paul
e24e12ac8d
lcl, win32: cleanup
...
git-svn-id: trunk@29244 -
2011-01-29 09:05:57 +00:00
paul
2b5f589e66
lcl:
...
- add TApplication.MainFormHandle property,
- add TApplication.OnGetMainFormHandle event,
- add TApplicationProperties.OnGetMainFormHandle event
- add dummy TApplication.MainFormOnTaskBar property
git-svn-id: trunk@29242 -
2011-01-29 07:53:13 +00:00
paul
d5cb0e2fbe
lcl: redo MouseEnter/MouseLeave notifications:
...
- move application mouse events notification from various message handlers to the WND proc of TWinControl
- don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
- don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715 )
- fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner
git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00
mattias
081cb87fe6
LCL: removed TApplication.FFormList, bug #17570
...
git-svn-id: trunk@27602 -
2010-10-07 11:14:01 +00:00
paul
66c72d1b3e
lcl: add TApplication.ActivateHint method for delphi compatibility
...
git-svn-id: trunk@27014 -
2010-08-05 02:17:37 +00:00
paul
085918972f
lcl: don't check shortcuts on disabled forms
...
git-svn-id: trunk@26774 -
2010-07-22 08:20:10 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
mattias
0170b10fea
LCL: comments
...
git-svn-id: trunk@26487 -
2010-07-06 14:08:51 +00:00
mattias
a09d8339a6
LCL: Application.ReleaseComponent: try to keep the order, bug #16859
...
git-svn-id: trunk@26484 -
2010-07-06 13:34:42 +00:00
mattias
6669dc093d
LCL: fixed FindApplicationComponent to ignore designer forms
...
git-svn-id: trunk@26052 -
2010-06-12 08:40:58 +00:00
mattias
525e8f2516
LCL: renamed addhandler parameter AsLast to AsFirst, because this is more intuitive
...
git-svn-id: trunk@25768 -
2010-05-30 13:59:44 +00:00
martin
0da4663c8d
Change ASyncQueue to run in forward order (first in / first out)
...
git-svn-id: trunk@25698 -
2010-05-27 15:29:53 +00:00
martin
cc7d32817b
LCL: added Application.RemoveAsyncQueue(Object)
...
git-svn-id: trunk@25671 -
2010-05-26 22:12:31 +00:00
zeljko
c86392f301
LCL: added ASystemTopAlso bool param to TApplication.RemoveStayOnTop & TApplication.RestoreStayOnTop, WS.AppRemoveStayOnTop & WS.AppRestoreStayOnTop, because TApplication.HandleException should normalize all stayontop (app, sys), but app activate/deactivate only fsStayOnTop.
...
git-svn-id: trunk@25535 -
2010-05-20 10:54:19 +00:00
sekelsenmat
9d7aa39624
Implements a new form style: fsSystemStayOnTop, reverts win32 fsStayOnTop to mean staying on top of the App only and implements sending WM_HOTKEY messages to the user TMyForm.WndProc. Also adds the OldFormStyle to the parameters of TWSCustomForm.SetFormStyle so that it isn't always necessary to recreate the Wnd.
...
git-svn-id: trunk@25531 -
2010-05-20 09:28:21 +00:00
mattias
b36aa016ec
LCL: TCustomForm: using Application.BidiMode
...
git-svn-id: trunk@25512 -
2010-05-19 11:10:26 +00:00
zeljko
7bb68e7dfa
Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
...
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.
git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
mattias
708e6de6d9
LCL: implemented Application.TaskBarBehavior, bug #13537
...
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
mattias
463c24c7d1
LCL:
...
git-svn-id: trunk@24415 -
2010-04-04 23:12:13 +00:00
paul
b2d37865b0
lcl: call Application.OnDeactivate when widgetset interface asking LCL about this
...
git-svn-id: trunk@23884 -
2010-03-09 08:13:30 +00:00
paul
35ae68998e
lcl: a trial to fix wince crash because of resources. RTL FindResource supports only PChar argument
...
git-svn-id: trunk@23618 -
2010-02-03 15:29:24 +00:00
paul
1c052ae3c6
lcl: formatting
...
git-svn-id: trunk@23590 -
2010-01-29 09:12:11 +00:00
paul
43def91dbc
lcl: implement Application OnModalBegin, OnModalEnd, ModalLevel, ModalStarted and ModalFinished based on patch of Zeljan (issue #0015616 )
...
git-svn-id: trunk@23584 -
2010-01-29 03:08:31 +00:00
paul
f81a7b073a
lcl: native resource support:
...
- add implementation for LoadFromResourceName and LoadFromResourceID for TIcon and TCursorImage
- try loading icon from native resource if appropriate lrs resource is not available
git-svn-id: trunk@23290 -
2009-12-26 15:10:14 +00:00
mattias
328ce2a7d3
LCL: fixed ReleaseComponent during ProcessAsyncCall
...
git-svn-id: trunk@23272 -
2009-12-25 11:52:13 +00:00
paul
f71903390f
lcl: revert ocasional debug change in r23237 #3319ecca5b
...
git-svn-id: trunk@23250 -
2009-12-24 02:04:18 +00:00