Commit Graph

1816 Commits

Author SHA1 Message Date
vincents
89ae509848 win32 interface: use same parameter names for Frame3D as other widget sets and TWidgetSet.
git-svn-id: trunk@28457 -
2010-11-24 14:33:23 +00:00
paul
ab02ee49aa lcl: redo QuestionDialog buttons usage, move buttons to outer class for use in widgetsets
win32: implement QuestionDialog for Vista+ systems

git-svn-id: trunk@28448 -
2010-11-24 10:12:28 +00:00
paul
d57e6262e0 win32: don't ignore frame width in Frame3D (issue #0018006)
git-svn-id: trunk@28391 -
2010-11-22 03:25:34 +00:00
paul
c6ae8b8210 lcl: add TTrackBar.Reversed property, implement for win32. Zeljan will implement for other widgetsets
git-svn-id: trunk@28312 -
2010-11-18 09:28:03 +00:00
paul
6380ade6ac lcl, win32: handle clDefault font color in controls
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
2fd8aba64b lcl: extent GetDefaultColor function to get default Brush and Font colors
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
d1e9b24dcf win32: force preview panel for TPictureSave(Open)Dialog
git-svn-id: trunk@28286 -
2010-11-17 07:51:14 +00:00
paul
f5461a5c18 win32: draw menubar with COLOR_MENU in case of non flat menus (bug #0017867)
git-svn-id: trunk@28270 -
2010-11-16 13:25:54 +00:00
paul
05a43c2437 win32: ifdef all vista open/save dialog code
git-svn-id: trunk@28265 -
2010-11-16 07:10:46 +00:00
paul
bbd6520a72 win32: handle CanClose = False for cancel clicks in Vista dialogs
git-svn-id: trunk@28262 -
2010-11-16 02:38:52 +00:00
paul
d73133ed38 win32: properly implement SelectionChange event for vista dialogs
git-svn-id: trunk@28261 -
2010-11-16 02:23:28 +00:00
paul
473b9e0b8d win32: fixed compilation with 2.4.2
git-svn-id: trunk@28250 -
2010-11-15 14:18:49 +00:00
paul
3f070ffe87 win32: add IFileDialogCustomize
git-svn-id: trunk@28240 -
2010-11-15 08:35:36 +00:00
paul
e3134c1abd win32: start implementation of Vista+ FileOpen and FileSave dialogs. todo is in the win32wsdialogs.pp
git-svn-id: trunk@28239 -
2010-11-15 08:11:31 +00:00
paul
4bcf14762c win32: show text in TaskDialog as Content instead of Main Instruction
git-svn-id: trunk@28237 -
2010-11-15 01:36:37 +00:00
paul
511b386b50 lcl: set PopupMode to pmAuto to fix problems with showing input/message/question dialogs to users from StayOnTop forms
win32: fix ShowModal of child forms which has WS_EX_TOPMOST parent

git-svn-id: trunk@28200 -
2010-11-13 09:12:04 +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
paul
78a7d0a8a8 win32: correct vista+ menu size for other DPIs (issue #0017878)
git-svn-id: trunk@28196 -
2010-11-13 02:16:03 +00:00
paul
2252ae27a0 win32: reimplement DrawParentBackground to support non-themed windows
git-svn-id: trunk@28175 -
2010-11-10 09:59:58 +00:00
paul
9bd782a63e lcl:
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
  - return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass

git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
61ed016376 win32: add IsProcessDPIAware function
git-svn-id: trunk@28171 -
2010-11-10 03:30:14 +00:00
paul
a2421a3173 win32: don't use csParentBackground if Themes are not enabled
git-svn-id: trunk@28153 -
2010-11-08 10:29:58 +00:00
paul
1e7ca80be4 win32: fix 2 typos
git-svn-id: trunk@28152 -
2010-11-08 10:23:29 +00:00
paul
f09ed2fb3c lcl: add TStaticText.Transparent property for Delphi compatibility
win32: implement TStaticText.Transparent same way as groupbox transparency

git-svn-id: trunk@28151 -
2010-11-08 09:07:40 +00:00
paul
0fa685a539 win32: remove a mess with painting on notebook, add simple support for csParentBackground required for transparent frames painting
git-svn-id: trunk@28149 -
2010-11-08 08:17:16 +00:00
paul
cd70f00a57 win32: make TGroupBox transparent when its color = parent color
git-svn-id: trunk@28148 -
2010-11-08 07:24:09 +00:00
paul
8c8ff0c25a win32: teach listview to set correct clDefault color
git-svn-id: trunk@28142 -
2010-11-08 03:16:46 +00:00
paul
c322d95b26 win32: fix CheckListBox brush usage
git-svn-id: trunk@28141 -
2010-11-08 03:05:11 +00:00
paul
d35e85a332 win32: restore wm_erasebkgnd default handler after clDefault experiments
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls

git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
ef89f04c0a lcl, win32: create right color brush when color = clDefault
git-svn-id: trunk@28139 -
2010-11-08 01:32:05 +00:00
paul
b2aa415919 win32: teach statusbar to handle clDefault color
git-svn-id: trunk@28116 -
2010-11-07 13:28:08 +00:00
paul
48a20553d3 win32: teach WM_CTLCOLORMSGBOX..WM_CTLCOLORSTATIC to handle clDefault
git-svn-id: trunk@28113 -
2010-11-07 13:04:10 +00:00
paul
bc8b1d10f7 win32: fix compilation for fpc 2.4.3
git-svn-id: trunk@28112 -
2010-11-07 13:00:41 +00:00
paul
8944d373f9 win32, lcl: further work on clDefault implementation
git-svn-id: trunk@28111 -
2010-11-07 12:54:33 +00:00
paul
d9dba370df win32: start clDefault implementation
git-svn-id: trunk@28108 -
2010-11-06 16:55:08 +00:00
paul
019f77c33d gtk2: don't change the focus on GetCapture call. gtk_grab_add do all the required job
win32: improve the debugging

git-svn-id: trunk@28094 -
2010-11-05 10:56:38 +00:00
sekelsenmat
56f71a1c43 Moves the code to set the initial dir for win32 from the LCL to the win32 widgetset. Fixes bug #17772
git-svn-id: trunk@28055 -
2010-11-03 10:54:18 +00:00
paul
9bcde488e1 win32: fix MenuBar drawing for selected items (issue #0017752)
git-svn-id: trunk@28034 -
2010-11-02 06:14:05 +00:00
paul
4030c2d591 win32: don't reset the mouse control on wm_ncmmouseleave, do it on wm_ncmousehover instead
git-svn-id: trunk@27933 -
2010-10-29 04:26:44 +00:00
paul
867da8c06b win32: fix combobox painting (issue #0017665)
git-svn-id: trunk@27845 -
2010-10-25 02:30:01 +00:00
paul
b83df84f67 win32: use standard hand point cursor (issue #0017432)
git-svn-id: trunk@27744 -
2010-10-18 04:45:18 +00:00
paul
6e3431f67d win32: use the correct MakeLong
git-svn-id: trunk@27726 -
2010-10-17 02:28:28 +00:00
paul
f1dec0d4e0 win32: a trial to fix a range check error Martin has found
git-svn-id: trunk@27725 -
2010-10-17 02:23:09 +00:00
paul
cfc294acab win32: don't directly set the mouse cursor in Twin32WSWinControl.SetCursor but do this through the window procedures
git-svn-id: trunk@27721 -
2010-10-16 16:01:00 +00:00
paul
d6d4003fe6 win32: also skip disabled windows while changing the cursor
git-svn-id: trunk@27720 -
2010-10-16 15:05:55 +00:00
paul
3efdffe38a win32: skip invisible windows while setting a cursor (bug #0017636)
git-svn-id: trunk@27719 -
2010-10-16 14:49:19 +00:00
paul
520d367826 lcl, win32: fix showing of windows which needs to be shown on taskbar (bug #0017561)
git-svn-id: trunk@27714 -
2010-10-15 06:45:36 +00:00
sekelsenmat
7b87139035 Patch from bug #17549 improves tray icon position in windows to handle taskbar positions different from the bottom
git-svn-id: trunk@27584 -
2010-10-05 15:35:46 +00:00
martin
89bc817f68 Fix getting too much string data from clipboard (w32 only). Issue #16483 Based on patch by Bart Broersma
git-svn-id: trunk@27553 -
2010-10-03 19:37:32 +00:00
mattias
b839e824d2 started lcl1 package
git-svn-id: trunk@27514 -
2010-09-28 18:29:03 +00:00