juha
7548ba8e96
LCL: Support for TImage.AntialiasingMode (stretching). Implement Win32 and GTK2. Issue #22205 , patch from Chronos
...
git-svn-id: trunk@39894 -
2013-01-19 17:42:38 +00:00
blikblum
e25d6f24b3
win32: replace TList by TFpList (FTimerData)
...
git-svn-id: trunk@39165 -
2012-10-25 14:22:51 +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
paul
df6f72a520
lcl, widgetsets: remove IntfSendsUTF8KeyPress from the widgetset interfaces implementation and call GetLCLCapability instead inside the generic function body
...
git-svn-id: trunk@36446 -
2012-03-30 08:28:34 +00:00
paul
6c8e15a1cf
win32: reduce amount of hints and warnings
...
git-svn-id: trunk@36434 -
2012-03-30 01:24:16 +00:00
paul
a793b4fa1f
win32: reimplement AppBringToFront - it should take care about MainFormOnTaskBar property and it should set the last active window as a foreground window generally
...
git-svn-id: trunk@36181 -
2012-03-21 01:24:02 +00:00
vincents
bf211c7a21
win32 interface: replaced SetClassLong with SetClassLongPtr to make it 64 bits safe (issue #19321 )
...
git-svn-id: trunk@36074 -
2012-03-16 08:49:12 +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
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
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
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
50f08451fd
win32: minor refactoring
...
git-svn-id: trunk@29243 -
2011-01-29 08:56:22 +00:00
paul
2c06e838e4
win32: don't create a taskbar item for LCL in libraries based on patch of Christian Budde (issue #0017965 )
...
git-svn-id: trunk@28859 -
2011-01-04 07:33:34 +00:00
paul
013200586a
lcl: move shortcut handling from after interface to before interface (bug #0016990 )
...
git-svn-id: trunk@26833 -
2010-07-26 04:54:10 +00:00
paul
ec0670136a
win32, wince: remove unused ancient accelerator code
...
git-svn-id: trunk@26775 -
2010-07-22 08:46:31 +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
paul
1aae556694
win32, wince: revert r25425 #112777a442 because it adds flickering to applications
...
git-svn-id: trunk@25679 -
2010-05-27 03:07:34 +00:00
sekelsenmat
a72bba258d
Updates Win32 RemoveStayOnTop
...
git-svn-id: trunk@25536 -
2010-05-20 11:07:03 +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
paul
112777a442
win32: create form and hint window classes with brush handle (for clDefault support)
...
git-svn-id: trunk@25425 -
2010-05-15 15:06:48 +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
6cbcdb2b75
win32: fix modal form showing when stay on top forms are visible (bug #0015636 )
...
git-svn-id: trunk@25138 -
2010-05-02 16:59:54 +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
44427e31a1
win32: use SetWindowPos to set position, size and visibility of the windows - this allows to reliable receive wm_windowposchanged message
...
git-svn-id: trunk@24960 -
2010-04-26 09:52:47 +00:00
paul
fe58688a50
win32: don't use LCLIntf ShowWindow in win32 interface
...
git-svn-id: trunk@24712 -
2010-04-19 07:56:48 +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
825457d6b0
win32, wince, qt, gtk: fix DCSetPixel to allow system colors by Luiz Americo (issue #0015265 )
...
git-svn-id: trunk@23136 -
2009-12-14 05:29:59 +00:00
paul
82ae075ca3
lcl: notify controls using message on FontChanged, and ParentFontChanged for delphi compatibility
...
git-svn-id: trunk@22196 -
2009-10-16 13:36:52 +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
70b464b507
lcl: remove ICC_ constants from the LCLType unit
...
win32: register more comctrl classes
git-svn-id: trunk@21548 -
2009-09-03 03:18:31 +00:00
paul
77ab5052b4
win32: init more common control classes
...
git-svn-id: trunk@21547 -
2009-09-03 03:09:58 +00:00
sekelsenmat
839f502c1d
Updates LCL Capability constants
...
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
sekelsenmat
cc2fd37660
Uses constants instead of raw numbers for the result of GetLCLCapacity
...
git-svn-id: trunk@21281 -
2009-08-18 14:52:56 +00:00
paul
87a2fea05c
win32: rename TWindowInfo -> TWin32WindowInfo, GetWindowInfo -> GetWin32WindowInfo, etc because of conflict with winapi functions and structures
...
git-svn-id: trunk@20836 -
2009-07-12 04:27:59 +00:00
paul
92e7669048
win32: add button messages to wm_to_string
...
git-svn-id: trunk@20625 -
2009-06-14 09:43:29 +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
e03a117023
win32: fix TWin32WidgetSet.InitStockFont for the system font
...
git-svn-id: trunk@20281 -
2009-05-28 14:00:54 +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
vincents
a348e5f501
win32 interface: reverted r19668 #c1f7d67ccc, because CoInitialize COINIT_MULTITHREADED doesn't work with new style TSelectDirectory.
...
git-svn-id: trunk@19800 -
2009-05-04 13:39:35 +00:00
paul
02f8fc163d
lcl: add new LCLCapability flag lcDragDockStartOnTitleClick
...
git-svn-id: trunk@19701 -
2009-04-30 03:22:04 +00:00
vincents
c1f7d67ccc
win32 interface: use CoInitialize instead of OleIntialize, so we can choose the threading model; COINIT_APARTMENTTHREADED, the value used by OleIntialize crashes in some cases (issue #12742 )
...
git-svn-id: trunk@19668 -
2009-04-28 19:50:13 +00:00
vincents
0f06c0fbd1
win32 interface: fixed typo in comment
...
git-svn-id: trunk@19550 -
2009-04-21 12:31:42 +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
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
vincents
1f3f833a84
win32 interface: use UTF16 <-> UTF8 conversion functions from LCLProc instead of UTF8Encode/UTF8Decode from the RTL to work around fpc bug #13075
...
patch by: Theo
fixes issue #13067
git-svn-id: trunk@18769 -
2009-02-20 08:33:44 +00:00
paul
366e21d328
lcl: add lcModalWindow flag to the TLCLCapatibility enum. Windows has this flag set to 0 and other widgetsets which supports native modal forms to 1 (todo: make wince modal handling the same as on win32)
...
git-svn-id: trunk@18630 -
2009-02-10 15:06:14 +00:00