paul
d4d220476d
win32: change var to out argument modifier for PrepareCreateWindow
...
git-svn-id: trunk@25160 -
2010-05-04 03:31:30 +00:00
paul
0cc6be3008
lcl: correctly fill TCreateParams structure in CreateParams method
...
win32: use CreateParams styles, exstyle, parent, caption and geometry instead of own calculated (issue #0014288 )
git-svn-id: trunk@25149 -
2010-05-03 09:39:52 +00:00
paul
8ef1c9a937
win32: remove groupbox createhandle hack (issue #0016360 , issue #0015085 )
...
git-svn-id: trunk@25052 -
2010-04-29 01:26:13 +00:00
paul
68e504e4e8
win32: invalidate window on WM_UPDATEUISTATE to fix occasional control disappearing, move some groupbox only code to groupbox message handler
...
git-svn-id: trunk@25022 -
2010-04-28 08:10:10 +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
e9e35dd3d2
win32: send wm_size if clientrect changes on DoSetBounds
...
git-svn-id: trunk@25008 -
2010-04-27 14:30:32 +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
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
9a6460190f
win32: use WS_VISIBLE only when it is required by CreateParams
...
git-svn-id: trunk@24531 -
2010-04-09 01:09:56 +00:00
paul
458567979d
lcl: add delphi compatible GetWindowOrgEx declaration
...
git-svn-id: trunk@24139 -
2010-03-21 13:08:52 +00:00
paul
a20e1dcaac
lcl: change use of CreateParams:
...
- move TForm.PopupParent handling to CreateParams (it only chooses a right Parent handle)
- check also ParentWindow property when setting WndParent in CreateParams
win32: use TCreateParams WndParent property for CreateWindow
git-svn-id: trunk@23840 -
2010-03-05 08:14:49 +00:00
martin
944b8b028b
LCL: cleanup
...
git-svn-id: trunk@21233 -
2009-08-15 20:07:06 +00:00
martin
af0b5a9727
LLCL: Fixes to SetCursor (Windows) for Edit/Comboboxes controls, part of issue #14336
...
git-svn-id: trunk@21216 -
2009-08-13 13:27:54 +00:00
martin
edaea50d9b
LCL: Fixes to SetCursor (Windows) for tabbed controls, one part of issue #14336
...
git-svn-id: trunk@21214 -
2009-08-13 10:33:26 +00:00
martin
7a30d2fdae
Fixes to SetCursor (Windows) / Cleanup
...
git-svn-id: trunk@21197 -
2009-08-12 13:54:59 +00:00
martin
344ca971c9
LCL: Window, fixed SetCursor to no longer delay action to next mouse-move
...
git-svn-id: trunk@21090 -
2009-08-03 15:16:39 +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
1b5a77a7e7
win32: respect show accelerator windows option for controls (windows 2000 and next)
...
git-svn-id: trunk@20666 -
2009-06-19 03:28:59 +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
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
bca9b43b00
lcl: cleanup
...
git-svn-id: trunk@19283 -
2009-04-09 06:50:22 +00:00
paul
7a6728e3d2
win32: improve error message if window creation failed
...
git-svn-id: trunk@19017 -
2009-03-18 08:00:46 +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
sekelsenmat
3ef10c5da2
Implements SetWindowRgn for win32
...
git-svn-id: trunk@18696 -
2009-02-15 11:06:36 +00:00
paul
6fd6f8e904
win32: workaround showing accelerator chars (bug #0013056 )
...
git-svn-id: trunk@18481 -
2009-01-29 03:30:24 +00:00
paul
a5a865fedc
win32: fix non unicode version compilation
...
git-svn-id: trunk@18130 -
2009-01-05 10:33:02 +00:00
paul
b2de706c04
win32: convert StrCaption, WindowTitle to String from PChar
...
git-svn-id: trunk@18127 -
2009-01-05 10:21:14 +00:00
paul
c0bf8bbc48
win32: repair focus rectangle for themed windows (bug #0012885 )
...
git-svn-id: trunk@18004 -
2008-12-31 09:06: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
10cb184641
win32: fix range check error (by Martin Friebe, #0012157 )
...
git-svn-id: trunk@16602 -
2008-09-16 02:44:11 +00:00
paul
ea198f3972
formatting
...
git-svn-id: trunk@16538 -
2008-09-11 03:14:24 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
8dd2b0738e
win32: don't tread TCustomControl caption as TCustomControl title. 1) no need, 2) it crashes when title is too big.
...
git-svn-id: trunk@15150 -
2008-05-15 09:18:44 +00:00
paul
dbddffe2cb
lcl: bidi mode patch from Ido with modifications
...
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
paul
c2db5ffa0f
qt: bidimode depends on TControl.UseRightToLeftAlignment, TControl.UseRightToLeftReading,
...
TContorl.UseRightToLeftScrollBar more than on BidiMode property since that methods are virtual
git-svn-id: trunk@14847 -
2008-04-16 05:51:23 +00:00
vincents
9ed9aa3295
win32 interfaces: added some defines to enable unicode support easily.
...
git-svn-id: trunk@14801 -
2008-04-11 11:22:20 +00:00
sekelsenmat
9e54486ffa
Large unicode improvements for Windows CE.
...
git-svn-id: trunk@14164 -
2008-02-16 21:38:56 +00:00
vincents
a630267f5b
win32 interface: fixed compilation with fpc 2.2.0 and 2.3.1
...
git-svn-id: trunk@14134 -
2008-02-14 13:20:14 +00:00
paul
f1d8f78b0c
initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
...
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
paul
9d15123d91
- gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
...
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it
git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
paul
2e413c5941
use obj.Reference.Handle instead of obj.Handle in lcl since obj.Handle is deprecated now (for converted gdi objects)
...
git-svn-id: trunk@13307 -
2007-12-13 02:01:24 +00:00
paul
3ed6ba4007
TWinControl.PaintTo:
...
- implementation for win32 and qt
- initial implementation for gtk
git-svn-id: trunk@13209 -
2007-12-07 18:56:17 +00:00
marc
425f7eb912
* Start handle rework. Splitup of internal WS referencedata and public widgetsetspecific references (handle/pointer/XID/...)
...
git-svn-id: trunk@13178 -
2007-12-06 01:17:52 +00:00
paul
b3343919da
replace writeln with debugln in verbose mode
...
git-svn-id: trunk@13107 -
2007-12-01 16:52:19 +00:00
paul
323051e548
win32:
...
- add BlendRect from Marc (for win32 rubber band. win32 rubber band will be commited later due to unsolved problems)
- fix recursion of WindowProc in case of subclussing of lazarus registered window class
- add missed flags for SetWindowPos
- formatting and misc
git-svn-id: trunk@11955 -
2007-09-07 16:56:15 +00:00
vincents
31a2d5bbb8
win32 interface: implemented setting listview.font.color (bug #8773 )
...
git-svn-id: trunk@11807 -
2007-08-13 21:35:55 +00:00
paul
d5c7e43700
- BidiMode patch from Zaher Dirkey (0008996) part 1
...
git-svn-id: trunk@11408 -
2007-07-02 07:00:51 +00:00
paul
56e1a6af27
fixed cursor changing in designer mode (error introduced in fix #11001 )
...
git-svn-id: trunk@11005 -
2007-04-26 03:29:33 +00:00
paul
06e9d893e8
TEdit/TMemo and some other with LCL cursor = crDefault had problems with setting their default cursor if it was differ from default application cursor.
...
git-svn-id: trunk@11001 -
2007-04-25 11:43:38 +00:00
paul
a85405aa69
- fixed typos in win32 drag image list
...
git-svn-id: trunk@10934 -
2007-04-11 08:30:04 +00:00