Commit Graph

1762 Commits

Author SHA1 Message Date
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
8118963651 win32: remove flickering from checklistbox
git-svn-id: trunk@24988 -
2010-04-27 01:40:34 +00:00
paul
a3f7991e43 win32: let windows handle paint messages for checklistbox (a trial to reduce flickering)
git-svn-id: trunk@24987 -
2010-04-27 00:40:39 +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
6469d26fdd win32: Move WndText, WndClassName to win32proc to use for debugging in more units
git-svn-id: trunk@24959 -
2010-04-26 09:51:40 +00:00
paul
fd1e6e7681 win32: fix showing of listview subitems images
git-svn-id: trunk@24954 -
2010-04-26 08:12:58 +00:00
paul
6c88ec356b win32: remove dummy invalidate client rect cache - it is done on LCL level too
git-svn-id: trunk@24953 -
2010-04-26 07:57:56 +00:00
paul
4cf5a87f9d win32: simplify checklistbox paint handler
git-svn-id: trunk@24943 -
2010-04-26 02:16:29 +00:00
paul
e4743af864 win32: remove groupbox wm_erasebackground workaround - this reduces flicking
git-svn-id: trunk@24942 -
2010-04-26 01:55:11 +00:00
paul
ca09af423f win32: use default thememanager drawing for treeitem text if os < vista
git-svn-id: trunk@24884 -
2010-04-24 16:35:34 +00:00
paul
0672755b94 win32: use default theme manager for treeview parts drawing if OS < Vista
git-svn-id: trunk@24847 -
2010-04-23 07:56:18 +00:00
paul
4a4cdb8ee5 lcl: add treeview hot glyph drawing support to the theme services
git-svn-id: trunk@24813 -
2010-04-22 07:29:26 +00:00
paul
ffee9b5bd4 win32: don't reset autosized width of listview column
git-svn-id: trunk@24774 -
2010-04-21 01:28:42 +00:00
mattias
5ee092816e win32 intf: TWin32WSCustomForm.SetShowInTaskbar check if something changes
git-svn-id: trunk@24751 -
2010-04-20 18:27:26 +00:00
paul
229564f15d lcl: add TTrackBar.SelStart, TTrackBar.SelEnd, TTrackBar.ShowSelRange based on patch of Justin Smyth (issue #0016299)
git-svn-id: trunk@24728 -
2010-04-20 04:39:09 +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
paul
d8edee2e5e win32: don't remove WS_VISIBLE flag from TCustomPage window - it is not passed there by default anyway
git-svn-id: trunk@24710 -
2010-04-19 03:22:11 +00:00
paul
7068d507da win32: don't explicitly set WS_VISIBLE WS_CHILD for calendar since PrepareCreateWindow do this
git-svn-id: trunk@24709 -
2010-04-19 03:17:58 +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
zeljko
f8cb0875ea win32: added IsWindow()
git-svn-id: trunk@24284 -
2010-03-29 12:45:42 +00:00
paul
db2312a9d8 win32: revert r24144 #7174f32749
git-svn-id: trunk@24206 -
2010-03-25 07:20:24 +00:00
paul
7174f32749 win32: don't block win32 messages in the default handler - let's pass them to windows
git-svn-id: trunk@24144 -
2010-03-21 14:21:04 +00:00
paul
d96d0481d2 win32: clear all LMessages fields at the beginning of the message window proc to prevent passing wrong LParam and WParam to LCL, fill WParam and LParam in case of LM_ACTIVATE, LM_DEACTIVATE since they store new ActiveWindow and other useful data
git-svn-id: trunk@24142 -
2010-03-21 13:48:10 +00:00
paul
458567979d lcl: add delphi compatible GetWindowOrgEx declaration
git-svn-id: trunk@24139 -
2010-03-21 13:08:52 +00:00
paul
99dce14266 win32: open picture dialog: workaround lcl bug with autosizing which prevent controls to apply their bounds if parent = nil and parentwnd = 0
git-svn-id: trunk@24021 -
2010-03-16 03:32:05 +00:00
paul
eef0d16e78 lcl: fix LM_CONTEXTMENU handling - use another message structure (windows compatible). also hopefully fixes 64bit compilation (issue #0016000)
git-svn-id: trunk@24011 -
2010-03-15 14:23:02 +00:00
paul
dcb25bd1e6 win32: fix drawing of 3D and Flat menu bars: choose right colors, draw edges for 3d (issue #0015723)
git-svn-id: trunk@24009 -
2010-03-15 09:58:13 +00:00
paul
1613c3ab5f win32: fix scrollbar regression (issue #0015717)
git-svn-id: trunk@23912 -
2010-03-10 08:40:34 +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
vincents
86d076e59b win32 and wince interface: fixed range check error, array of const parameters don't accept unsigned 32 bits integers (issue #15815)
git-svn-id: trunk@23890 -
2010-03-09 15:30:05 +00:00
paul
d6ffb794fb lcl: further work on TWinControl.ParentWindow:
- implement LCLIntf.SetParent for win32, wince and qt
  - implement TWinControl.SetParentWindow

git-svn-id: trunk@23846 -
2010-03-06 19:40:29 +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
paul
1f6c52fe1a lcl, win32: start implementation of TCustomForm.PopupMode, TCustomForm.PopupParent
git-svn-id: trunk@23723 -
2010-02-17 06:04:19 +00:00
paul
99a7c6eca0 win32: scroll listbox items when ItemIndex is set in multiselect mode
git-svn-id: trunk@23703 -
2010-02-15 04:02:06 +00:00
dmitry
f091ac2f5d fix for 15704
git-svn-id: trunk@23662 -
2010-02-08 05:45:00 +00:00
paul
3d4f978f63 win32: move statictext message handling to statictext window proc
git-svn-id: trunk@23639 -
2010-02-05 09:31:44 +00:00
paul
5b8c070f51 win32: remove unused units
git-svn-id: trunk@23636 -
2010-02-05 07:53:33 +00:00
paul
3299c6aa4c win32: move TrackBar code to own window message handlers
git-svn-id: trunk@23635 -
2010-02-05 07:49:42 +00:00
paul
45f1d382dd win32: move ListView code from the generic message handler to ListView message handler
git-svn-id: trunk@23634 -
2010-02-05 03:07:57 +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
paul
46bb53cc00 win32: remove HandleSpinEditDeltaPos from generic WindowProc to default window proc of spinedit
git-svn-id: trunk@23623 -
2010-02-04 01:56:39 +00:00
paul
072f7f8c22 win32: move spinedit change code to spinedit widgetset class default handler
git-svn-id: trunk@23621 -
2010-02-03 23:51:10 +00:00
paul
83ea351c48 win32: move few spinedit handlers from generic windowproc to spinedit windowproc
git-svn-id: trunk@23616 -
2010-02-03 10:34:48 +00:00
paul
a2d258006a win32: don't send WM_NCLBUTTONDOWN to LCL
git-svn-id: trunk@23614 -
2010-02-03 09:17:54 +00:00
paul
19471a58d8 win32: adjust size of pages after assigning an imagelist to a pagecontrol (bug #0015516)
git-svn-id: trunk@23602 -
2010-01-30 16:16:05 +00:00
paul
db416e28ac win32: pass better messages to NotifyApplicationUserInput for WM_NCMOUSE...
git-svn-id: trunk@23589 -
2010-01-29 09:11:25 +00:00
paul
f8471c645c win32: restore ocasional resource removal by Dmitry, replace rc resource usage by res - maybe it is better for cross-compilation (fixes bug #0015620)
git-svn-id: trunk@23583 -
2010-01-29 02:15:50 +00:00
paul
ab7d791825 win32: set WS_EX_LAYERED in TCustomForm.CreateHandle if needed
git-svn-id: trunk@23570 -
2010-01-27 08:53:57 +00:00
paul
3208c507b6 lcl: add TCustomForm.AlphaBlend, TCustomForm.AlphaBlendValue, change TWsCustomForm.SetAlphaBlend
git-svn-id: trunk@23565 -
2010-01-27 07:57:16 +00:00
dmitry
1b3f777fd0 lcl: fixed lcl compilation. moved SetLayeredWindowAttributes dynamic loading to win32extra
git-svn-id: trunk@23563 -
2010-01-27 07:12:46 +00:00
dmitry
f9a3cc0fd2 lcl: added SetAlphaBlend method to TWSCustomForm class + win32 implementation
git-svn-id: trunk@23562 -
2010-01-27 07:06:06 +00:00
marc
eae138c2f6 * winapi: added GetDoubleClickTime, RedrawWindow, SubtractRect as part of lclextentions integration
git-svn-id: trunk@23550 -
2010-01-24 18:06:08 +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
216da02c61 lcl: remove ver2_0 workarounds
git-svn-id: trunk@23392 -
2010-01-06 17:05:28 +00:00
luiz
ab2a0ee728 lcl/win32: move the TEdit.MaxLength check from lcl to win32 intf. Gtk2 and Qt has built in check and truncates text automatically
git-svn-id: trunk@23243 -
2009-12-23 16:03:12 +00:00
paul
b09f9f224a win32: don't perform any logic in DrawFrameControl - just call the windows function. By Luiz Americo (issue #0015358)
git-svn-id: trunk@23230 -
2009-12-22 07:03:31 +00:00
paul
d17bb54ae0 win32: allow system colors for FloodFill by Luiz (issue #0015345)
git-svn-id: trunk@23145 -
2009-12-15 03:59:26 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +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
marc
166da1d03e * Initialize procedure variables with default value in case a lin cannot be loaded. Fixes crash on win95 or winNT
git-svn-id: trunk@22930 -
2009-12-03 00:35:16 +00:00
paul
dfb5d67e48 win32: fix minimize of application where there is no main form or it has not handle yet
git-svn-id: trunk@22781 -
2009-11-26 04:20:03 +00:00
paul
cc5896f4e7 lcl: add TPopupMenu.Alignment, TPopupMenu.TrackButton
win32: implement TPopupMenu.Alignment, TPopupMenu.TrackButton

git-svn-id: trunk@22732 -
2009-11-24 07:58:44 +00:00
paul
964dd239b9 lcl: add TCustomEdit.HideSelection, publish it for TEdit, TMemo (requested by Marco van de Voort)
git-svn-id: trunk@22729 -
2009-11-24 03:29:11 +00:00
paul
40861cdaf8 win32: always call default window proc for WM_PAINT progressbar handler if it has marquee style (fixes bug #0015064)
git-svn-id: trunk@22692 -
2009-11-20 10:35:09 +00:00
paul
16bf008f5a win32: add progressbar messages to wm_to_string
git-svn-id: trunk@22690 -
2009-11-20 09:49:35 +00:00
paul
98a2219391 win32: another trial to solve vista menu bar repainting problem (issue #0014894)
git-svn-id: trunk@22595 -
2009-11-15 13:48:25 +00:00
martin
e633753632 LCL, Interfaces: added TNotebook.TabRect for Win/Gtk/2
git-svn-id: trunk@22512 -
2009-11-10 05:13:46 +00:00
paul
2e2fcd58fc lcl: bidi mode support for buttons from Zaher Dirkey (#issue #0014933)
git-svn-id: trunk@22448 -
2009-11-05 14:35:36 +00:00
paul
ef831d1924 win32: fix TWin32WSCustomCalendar.HitTest for systems < vista
git-svn-id: trunk@22441 -
2009-11-05 09:53:46 +00:00
paul
8064b14d92 win32: draw menu bar background once per repaint for all the menu bar (fixes bug #0014894)
git-svn-id: trunk@22410 -
2009-11-03 19:21:34 +00:00
paul
616c9d4e4d lcl: docking: replace
DefaultDockTreeClass: TDockTreeClass by
  DefaultDockManagerClass: TDockManagerClass
as requested by DoDi

git-svn-id: trunk@22395 -
2009-11-03 03:20:26 +00:00
paul
a350849e6b lcl: patch from Zaher Dirkey to fix TLabel and TStaticText alignment with respect the BiDi mode (issue #0014915)
git-svn-id: trunk@22312 -
2009-10-28 09:49:18 +00:00
paul
5b9bce5f38 lcl: apply patch of Boian Mitov to support listview state images and HitTestInfo under win32 (issue #0014881)
git-svn-id: trunk@22310 -
2009-10-28 09:41:02 +00:00
paul
18a0946b92 win32: restore not only combobox text but also cursor position and selection after items clear
git-svn-id: trunk@22301 -
2009-10-27 02:15:35 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
paul
c19617c093 win32: apply patch from Jose Mejuto to fix "Open/Save dialog (Win32/64) with option ofOldStyleDialog crashes" (bug #0014794)
git-svn-id: trunk@22215 -
2009-10-18 06:34:18 +00:00
paul
ecfeff9149 win32: allow statusbar resizing (issue #0014814)
git-svn-id: trunk@22213 -
2009-10-18 06:21:23 +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
07fc3954f6 win32: workaround windows bug when SetMenuItemInfo destroy/corrupts hSubMenu handle
git-svn-id: trunk@22092 -
2009-10-10 03:53:54 +00:00
paul
e477c10fea win32: menus:
- remove submenu flag from the menu item if there are no more child items there
  - set submenu flag only when GetMenuItemInfo result is True
  - don't try to double destroy menu item handle
  - show debug messages in the console in case of errors

git-svn-id: trunk@22080 -
2009-10-09 09:28:13 +00:00
vincents
04304dd66c LCL: added Application.IntfAppActivate and Application.IntfAppDeactivate, that can be called by the widgetset to notify the LCL, so it can raise the Application.OnActivate and OnDeactivate events. It is used in by the win32 widgetset (issue #8043)
git-svn-id: trunk@22062 -
2009-10-07 12:10:11 +00:00
paul
c6ba3e76d8 win32: TCheckListBox:
- move TCheckListBox code from the general WindowProc to the private one
  - preserve data on ListBox item change and appropriate code for TCheckListBox

git-svn-id: trunk@22039 -
2009-10-05 07:57:09 +00:00
paul
76f7d9f596 win32: correct vista menu bar drawing when there is only one menu item
git-svn-id: trunk@21932 -
2009-10-01 01:55:55 +00:00
paul
11ec547a04 win32: draw parent background using theme services instead of requesting full parent painting
git-svn-id: trunk@21928 -
2009-09-30 09:23:30 +00:00
paul
c4c2cdc5cd lcl: formatting
git-svn-id: trunk@21926 -
2009-09-30 07:47:53 +00:00
paul
6eec759d6e win32: request wm_measureitem for the menu item on item caption/bitmap change
git-svn-id: trunk@21915 -
2009-09-29 12:28:41 +00:00
paul
d21ae9f636 win32: don't override various menu flags (rtl for example) when we change caption/icon/or checked state
git-svn-id: trunk@21912 -
2009-09-29 09:31:17 +00:00
paul
0ef68ba7f4 win32: fix few issues with right-to-left popup menu drawing (bug #0014686)
git-svn-id: trunk@21911 -
2009-09-29 08:28:16 +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
0c54c5658c win32: fix vista drawing of Right-To-Left submenus (issue #0014669)
git-svn-id: trunk@21850 -
2009-09-24 23:23:14 +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
eaa3c7ca92 win32: notify application about idle on WM_ENTERIDLE
git-svn-id: trunk@21842 -
2009-09-23 21:44:07 +00:00
paul
048789bd19 win32: move GetDesignerDC, ReleaseDesignerDC to the appropriate files, implement IsDesignerDC
git-svn-id: trunk@21835 -
2009-09-23 12:00:42 +00:00
paul
75c0fc522b win32: don't handle menu opening via keyboard for designer forms
git-svn-id: trunk@21815 -
2009-09-22 02:36:54 +00:00
paul
541cc40c6d win32: formatting
git-svn-id: trunk@21768 -
2009-09-19 09:36:16 +00:00
paul
4e08e5bbe0 win32: simplify TWin32MemoStrings.GetTextStr
git-svn-id: trunk@21767 -
2009-09-19 09:35:06 +00:00
paul
f4a1e520cd lcl: cleanup
git-svn-id: trunk@21766 -
2009-09-19 09:34:41 +00:00
paul
eeba75a1a6 win32: force showing of form close button in the design-time (even if BorderIcons and BorderStyle request to hide it)
git-svn-id: trunk@21753 -
2009-09-18 04:44:38 +00:00
paul
e85ba5aa58 win32: return normal position of minimized windows for LM_MOVE and in GetRelativePosition
git-svn-id: trunk@21744 -
2009-09-17 08:08:36 +00:00
paul
718cf5e973 win32: return normal window size on WM_SIZE message if window is minimized
git-svn-id: trunk@21727 -
2009-09-16 07:02:04 +00:00
paul
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
paul
60784ed8aa win32: remove unneeded CreateHandle for TCustomPanel. TWinControl CreateHandle works very well itself.
git-svn-id: trunk@21685 -
2009-09-13 12:51:16 +00:00
paul
1417561829 win32: better detect top level window in TWin32WidgetSet.GetWindowSize (fixes bug #0013921)
git-svn-id: trunk@21648 -
2009-09-11 09:04:01 +00:00
paul
095869caaf win32: decrease border size when calculating preferred height for edit and spin edit controls (issue #0014327)
git-svn-id: trunk@21553 -
2009-09-03 09:30:54 +00:00
paul
f263d9b283 win32: invalidate groupbox on ui state change if themes are enabled (bug #0014452)
git-svn-id: trunk@21550 -
2009-09-03 07:33:37 +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
paul
4a0461a558 lcl: ListView:
- add TIconOptions
  - win32 implement support for different IconOptions (issue #0014460)

git-svn-id: trunk@21546 -
2009-09-03 02:48:41 +00:00
paul
ae65b07221 lcl, win32, carbon: initial implementation of virtual TListView by Dmitry (issue #0007749)
git-svn-id: trunk@21524 -
2009-09-01 16:44:31 +00:00
paul
ebf57a017e win32: fix WindowsVersion variable initialization (fixes bug #0014400)
git-svn-id: trunk@21384 -
2009-08-21 15:21:04 +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
martin
944b8b028b LCL: cleanup
git-svn-id: trunk@21233 -
2009-08-15 20:07:06 +00:00
martin
0599dc51aa LCL: small optimization to WM_SETCURSOR, avoid unnecessary calculations, if screen.cursor is set
git-svn-id: trunk@21217 -
2009-08-13 14:10:09 +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
vincents
c794009801 added svn properties
git-svn-id: trunk@21168 -
2009-08-11 11:14:49 +00:00
vincents
f2aa35fb07 win32 interface: destroy buttonlist when a bitbtn is destroyed, fixes gdi object leak (issue #14211)
git-svn-id: trunk@21137 -
2009-08-08 08:34:51 +00:00
vincents
808a2558b9 win32 interface: don't handle state changes in togglebox manually (issue #14252)
git-svn-id: trunk@21103 -
2009-08-05 09:47:25 +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
4ccfccdb9b win32: TWin32WidgetSet.GetWindowSize - don't return negative size for minimized windows
git-svn-id: trunk@20883 -
2009-07-18 04:14:36 +00:00
martin
9d66dc7a98 LCL: 2 missing typecast / rangecheck
git-svn-id: trunk@20843 -
2009-07-12 19:45:02 +00:00
paul
8b71b8f590 win32: use GetWindowInfo in GetWindowSize if possible
git-svn-id: trunk@20839 -
2009-07-12 04:59:04 +00:00
paul
02382c4881 win32: declare winapi functions and structs TWindowInfo, PWindowInfo, GetWindowInfo
git-svn-id: trunk@20837 -
2009-07-12 04:29:40 +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
319321c0d4 win32: remove debug writeln
git-svn-id: trunk@20835 -
2009-07-12 02:18:18 +00:00
paul
5f2c2bce3a win32: revert r20833 #b8419ee7b1 since it does not count menu and scrollbar sizes
git-svn-id: trunk@20834 -
2009-07-11 17:16:10 +00:00
paul
b8419ee7b1 win32: change GetWindowSize to return ClientRect instead of own calculations for the top level windows as suggested by Martin
git-svn-id: trunk@20833 -
2009-07-11 16:13:42 +00:00
paul
83038bf575 win32: process wm_help message
git-svn-id: trunk@20823 -
2009-07-11 05:49:46 +00:00
paul
2d43d1988c win32: support biHelp BorderIcon
git-svn-id: trunk@20815 -
2009-07-09 09:04:29 +00:00
paul
d889bf171c win32: fix sub menu items search in wm_menuselect
git-svn-id: trunk@20814 -
2009-07-09 06:21:56 +00:00
jesus
f6920f782e Printers, added TPrinter.FileName property, based on patch from mtournay, issue #13718
git-svn-id: trunk@20805 -
2009-07-07 05:09:52 +00:00
martin
10869b8cdf Fixed a possible RangeCheck exception
git-svn-id: trunk@20774 -
2009-07-01 14:04:49 +00:00
paul
7a0a4d2038 win32: fix TWin32WSCustomForm.SetShowInTaskbar for the case when window is visible
git-svn-id: trunk@20710 -
2009-06-22 08:09:27 +00:00
paul
5be6d50c10 win32: use better approach for forms with ShowInTaskbar = stAlways
git-svn-id: trunk@20707 -
2009-06-22 07:43:51 +00:00
paul
67b08ac58d win32: add more checks in UpdateUIState (maybe fixes bug #0014014)
git-svn-id: trunk@20686 -
2009-06-21 03:00:13 +00:00
paul
57446cdb93 win32: fix focus rect drawing on TBitBtn on Vista/w7
git-svn-id: trunk@20668 -
2009-06-19 07:17:55 +00:00
paul
08d373cf9c win32: add few checks
git-svn-id: trunk@20667 -
2009-06-19 06:37:39 +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
b5da1c1954 win32: fix drawing menu accelerators if they are disabled
git-svn-id: trunk@20663 -
2009-06-18 11:33:58 +00:00
paul
5db2c43ab0 win32: fix vista/w7 menu drawing when themes are not enabled (bug #0013986)
git-svn-id: trunk@20644 -
2009-06-17 01:46:09 +00:00
paul
7a80764617 win32: popup menu for vista/w7
- override system drawing of submenu arrow, use own painting (right colors now)
  - don't use own calculations for right to left layouts, ask windows to do this for us

git-svn-id: trunk@20638 -
2009-06-16 04:38:20 +00:00
paul
26309ffc92 win32: don't draw standard menu item bg for separator items on vista/w7
git-svn-id: trunk@20632 -
2009-06-15 09:28:51 +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