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
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
juha
4d3cc5e247
LCL, Win32: fix range check error with newly started Windows. Issue #20321 , patch from Benito van der Zander
...
git-svn-id: trunk@32464 -
2011-09-23 07:41:10 +00:00
paul
e40d070b88
win32: cleanup
...
git-svn-id: trunk@30197 -
2011-04-05 03:01:51 +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
dfc3dc15df
lcl, win32: move ListBox, CheckListBox styles into CreateParams of LCL classes
...
git-svn-id: trunk@29914 -
2011-03-19 16:40:11 +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
paul
f0bce37226
interfaces: remove AssignSelf method
...
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +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
c2aca4cd85
lcl: replace TWidgetSet.AppHandle function with a readwrite property
...
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +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
50f08451fd
win32: minor refactoring
...
git-svn-id: trunk@29243 -
2011-01-29 08:56:22 +00:00
paul
8e99ab359b
win32: use TaskDialogIndirect for MessageDlg and ShowMessage on windows vista+
...
git-svn-id: trunk@28198 -
2010-11-13 07:42:13 +00:00
blikblum
0d632cce9c
win32: use a hardcoded flag to avoid sending LM_CHANGED msg to LCL when handling BM_SETCHECK (TCustomCheckBox), fixes #17425
...
git-svn-id: trunk@27386 -
2010-09-16 14:08:01 +00:00
paul
7ddd34c18c
win32: implement dock image using alpha-transparent window for windows >= vista (issue #0016782 )
...
git-svn-id: trunk@26309 -
2010-06-28 08:22:32 +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
dmitry
521f4bf383
win32: vista setpixel bug fixing #15822 , modified patch by zg
...
git-svn-id: trunk@25277 -
2010-05-09 15:10:18 +00:00
paul
68570673c2
win32: split common ShowHide method into different ws classes
...
git-svn-id: trunk@25009 -
2010-04-27 15:17:09 +00:00
paul
f95b2f63d5
win32:
...
- redo FinishCreateWindow to allow window subclassing,
- subclass combobox to get access to the first messages that control receives
ideintf: remove workaround with ValueComboBox handle check in MeasureItem
git-svn-id: trunk@24686 -
2010-04-17 19:53:55 +00:00
paul
a77478ebb9
win32: apply Dmitry patch with modifications for fixing application focus - move focus to last focused window on getting focus event (issue #0015494 )
...
git-svn-id: trunk@23911 -
2010-03-10 08:22:45 +00:00
paul
9b24fc25c2
win32: don't perform check 'is TCustomCalendar' in widgetset code
...
git-svn-id: trunk@23629 -
2010-02-04 04:27:43 +00:00
paul
88d281329b
lcl: remove TWidgetset.DrawArrow which got a TArrow control and TCanvas as arguments, move some implementations to TWSArrow classes
...
git-svn-id: trunk@23626 -
2010-02-04 04:06:00 +00:00
paul
9adc8929ff
win32: move TCheckListBox code from the generic handlers to checklistbox handlers
...
git-svn-id: trunk@23625 -
2010-02-04 03:23:45 +00:00
paul
9d6fb42169
win32: don't perform 'is TCustomFloatSpinEdit' comparisons in code. Therefore empty application does not contains spinedit code anymore (and executable is 12Kb smaller)
...
git-svn-id: trunk@23624 -
2010-02-04 03:09:32 +00:00
marc
20448170ae
+ WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
...
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
paul
9430f5e3e6
win32: cleanup win32extra
...
git-svn-id: trunk@23393 -
2010-01-06 17:26:04 +00:00
paul
00ec699a6e
lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
...
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
48e060d9f7
lcl: MainMenu refactoring and other menu changes:
...
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
- TMainMenu.WindowHandle is introduced for delphi compatibility
- Don't show a main menu for the bsDialog windows (delphi compatibility)
- Explicitly request MainMenu to notify form about destruction
git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
paul
dc4763f6ad
lcl: redo HideFormWithStayOnTop with RemoveStayOnTop which is only sets fsNormal instead of fsStayOnTop, add RestoreStayOnTop method. Add AppRemoveStayOnTopFlags, AppRestoreStayOnTopFlags to TWidgetset, implement them on windows (fixes issue #0013953 )
...
git-svn-id: trunk@20580 -
2009-06-11 01:37:06 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
c92f6641d1
lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
...
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
b4435027f4
win32: add shadow for hint window as it is present for native hints starting from XP
...
git-svn-id: trunk@19512 -
2009-04-19 12:53:09 +00:00
paul
03ec64bd87
win32: cleanup
...
git-svn-id: trunk@19391 -
2009-04-13 01:18:26 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
e486ddaa54
lcl: cleanup
...
git-svn-id: trunk@19284 -
2009-04-09 08:03:03 +00:00
paul
cdcb46fcd0
win32: application should call OleInitialize to use some windows features like Clipboard, Drag and Drop, etc. Do this for LCL applications (maybe related to issue #0010409 ).
...
git-svn-id: trunk@18807 -
2009-02-23 10:25:47 +00:00
paul
fefaf6be1a
lcl: implement TApplication.UpdateVisible, add TWidgetset.AppSetVisible (defined only for win32 at moment) (mantis #0010544 )
...
git-svn-id: trunk@18403 -
2009-01-24 10:07:36 +00:00
paul
92a3c282c1
lcl: formatting
...
git-svn-id: trunk@18283 -
2009-01-14 04:33:24 +00:00
paul
4bd4fa8fb0
win32: apply patch of Martin Friebe which allows triple and quad-mouse-click action for windows (only for left mouse button though) #0012767
...
git-svn-id: trunk@17742 -
2008-12-09 05:57:18 +00:00
paul
efe9d531c3
widgetset: make WS classes method explicitly published
...
win32: fix WS classes. move methods to published sections
git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
paul
06924525ea
lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big ( #0012401 )
...
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
micha
54fd9e1a03
* win32: fix waiting for event handles
...
git-svn-id: trunk@16951 -
2008-10-10 20:48:40 +00:00
tombo
e365c98cca
LCL: renamed TWidgetSet.LCLCapabilities to GetLCLCapabilities
...
- added new capabilities
git-svn-id: trunk@16849 -
2008-10-02 12:51:37 +00:00
paul
35596739bf
win32: TSavePictureDialog shows now Save Dialog instead of Open Dialog (partially fixes #0010287 )
...
git-svn-id: trunk@16383 -
2008-09-03 08:10:32 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
b26fda5243
gtk+gtk2+win32 intf: TComboBox: fixed LM_CHANGED, LM_SELCHANGED events, now LM_CHANGED are sent, whenever the text changes, from Luiz
...
git-svn-id: trunk@15831 -
2008-07-21 21:29:07 +00:00
jesus
7127fba858
lcl, grids, fixed editing unicode texts
...
git-svn-id: trunk@15642 -
2008-07-01 21:02:44 +00:00
paul
ce329d855d
lcl: add TWidgetset.AppSetIcon
...
win32, qt, carbon: implement AppSetIcon
git-svn-id: trunk@15497 -
2008-06-21 12:23:31 +00:00