Commit Graph

47 Commits

Author SHA1 Message Date
paul
05a43c2437 win32: ifdef all vista open/save dialog code
git-svn-id: trunk@28265 -
2010-11-16 07:10:46 +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
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
61ed016376 win32: add IsProcessDPIAware function
git-svn-id: trunk@28171 -
2010-11-10 03:30:14 +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
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
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
paul
9430f5e3e6 win32: cleanup win32extra
git-svn-id: trunk@23393 -
2010-01-06 17:26:04 +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
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
ebf57a017e win32: fix WindowsVersion variable initialization (fixes bug #0014400)
git-svn-id: trunk@21384 -
2009-08-21 15:21: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
f50ffbfbc7 win32: implement vista/w7 menubar drawing
git-svn-id: trunk@20610 -
2009-06-13 04:54:27 +00:00
paul
fef147777a win32: cleanup win32extra - remove already defined in fpc 2.2.4 symbols
git-svn-id: trunk@20253 -
2009-05-26 23:03:33 +00:00
paul
61fc0cf97e win32: cleanup win32extra - remove already defined in fpc 2.2.4 symbols
git-svn-id: trunk@20252 -
2009-05-26 22:48:02 +00:00
paul
fa52b300b3 win32: cleanup win32extra - remove already defined in fpc 2.2.4 symbols
git-svn-id: trunk@20242 -
2009-05-26 13:11:33 +00:00
paul
a8544fc87d lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807)
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
6306629a9e win32: notify LCL on mouse enter/leave, NC movements more correct
git-svn-id: trunk@20069 -
2009-05-20 07:14:50 +00:00
paul
385d9cdf40 win32: implement winapi GradientFill function (strange that it is implemented for gtk only)
git-svn-id: trunk@20037 -
2009-05-19 04:36:37 +00:00
paul
7902442395 lcl: add idDialogShield icon
git-svn-id: trunk@19772 -
2009-05-02 17:30:37 +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
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
e2075dffd2 win32: fixes for unicode in GetMonitorInfo()
git-svn-id: trunk@19241 -
2009-04-06 09:10:30 +00:00
paul
3a19dfff75 lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo

git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +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
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
0153631ad7 win32 interface: implemented unicode support for SelectDirectoryDialog
git-svn-id: trunk@14697 -
2008-03-31 19:38:55 +00:00
paul
d0f4ce1d1c win32: invalidate groupbox on enable change if themes are active (issue #0007877), misc
git-svn-id: trunk@14528 -
2008-03-15 13:04:21 +00:00
paul
a5b4f9d12f fix key handling of edit part of csSimple combobox (0007318)
git-svn-id: trunk@14249 -
2008-02-26 02:31:35 +00:00
paul
b21744f605 comment code that is never used
git-svn-id: trunk@14103 -
2008-02-12 06:08:39 +00:00
paul
4e33251c35 bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00
paul
1efe09c999 use nested record in NMLVCUSTOMDRAW definition
git-svn-id: trunk@14078 -
2008-02-11 02:32:31 +00:00
paul
859fbcbdf6 imagelist:
- extend imagelist interface to draw image with more states
- win32: implement drawing of gray state

git-svn-id: trunk@12765 -
2007-11-07 10:14:05 +00:00
paul
ce4864f3b7 win32: workaround windows 98 AV inside GetObjectType (issue #9955)
git-svn-id: trunk@12532 -
2007-10-20 11:41:16 +00:00
paul
f54cf5bbbc win32: fix small bug in hand made AlphaBlend that case wrong look of disabled glyphs under win98 (issue #9630)
git-svn-id: trunk@12437 -
2007-10-13 15:55:17 +00:00
vincents
d93285d68b win32 interface: fix win64 compilation
git-svn-id: trunk@12391 -
2007-10-09 09:36:59 +00:00
vincents
a9f96510dc win32 interface: enable new style select directory dialog, which has a button for creating new directories from YHernan (#9860)
git-svn-id: trunk@12383 -
2007-10-08 14:12:13 +00:00
marc
9117503b5d * Fixed dialog icons on windowsversions before XP
+ Added AlphaBlend for windows versions not supporting is
+ Added GetLastErrorText utility function

git-svn-id: trunk@12361 -
2007-10-07 18:17:07 +00:00
paul
9aca1999ae win32:
- move ComboBoxWindowProc from win32callback.inc to Win32WSStdCtrls
- declare GetComboBoxInfo method in win32extra (this functions can be used to get listox and edit handles from combobox)

git-svn-id: trunk@12289 -
2007-10-02 07:00:20 +00:00
paul
9912f6cd2a win32: fix mainform state not changing (issue #0008915)
git-svn-id: trunk@12254 -
2007-09-30 09:34:57 +00:00
paul
7d5f9842ec - fix win32 crash if listview imagelist changed to nil (from Nikolay aka Browny)
- change ToolButtons font on ToolBar font change events (from Nikolay)
- redraw ToolButton if enabled changed and pass apropriate flag to ImageList.Draw (from Nikolay)
- cleanup

git-svn-id: trunk@11974 -
2007-09-09 08:53:16 +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
marc
c2645e0867 * Fixed black background on imagelist when no manifest or bpp < 24
git-svn-id: trunk@11917 -
2007-09-02 15:27:57 +00:00
marc
04b4e27b62 * Implemented basic alpha support
* Implemented LCL side of imagelist
* restructured rawimage to more OO

Merged revisions 11289-11617 via svnmerge from 
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl

........
  r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
  
  private branch for bitmap rework
........
  r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
  
  * Initial linux and win32 implementation
........
  r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
  
  - fix compilation with fpc 2.3.1
  - remove unneded code for converting cursor mask
  - enabled loading of standard windows status icons instead of LCL
........
  r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
  
  - some bugs with mask and alpha
........
  r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
  
  * force alpha channel when PNG has alpha
........
  r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
  
  - fix black rectangles instead of manu item images
........
  r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
  
  formatting
........
  r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
  
  * Added alpha premultiply
  * Published Colorbox selection property
........
  r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
  
  misc
........
  r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
  
  * start with carbon
........
  r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
  
  - BitBtn glyph transparency
........
  r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
  
  - problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
  r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - More LCL way of painting images through ThemeServices
........
  r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - ability to override bitbtn glyph to nothing
........
  r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
  
  painting headercontrol images through ThemeServices
........
  r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
  
  fixing painting of 32bpp bitmaps with no Alpha
........
  r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
  
  missed file
........
  r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
  
  - revert previous commit
  - create 24bpp bitmaps by default
........
  r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
  
  * Added Alpha support on Carbon
  * Simplified win32 rawimage_fromdevice
........
  r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
  
  - adopt gtk2 code
........
  r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
  
  make gtk2 work
........
  r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
  
  - default WS imagelist implementation
........
  r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
  
  * Implemented MaskBlit
........
  r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
  
  draw new imagelist bitmap on widget canvas
........
  r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  * Rawimage rework
........
  r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  + Added header
........
  r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
  r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * added
........
  r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  + added header
........
  r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * Added alpha/masked strechblt support
........
  r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * create DIBSection instead of DIBitmap
........
  r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  * Fixed transparentcolor after loading bitmap
........
  r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  - Removed ARGB dataconversion, internal format is by default the same now
........
  r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
  
  * changed TRawImage into object
........
  r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init
  - change imagelist defines to use old imagelist (new is crashes ide)
  - change TWin32ThemeServices to use old imagelist
........
  r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
  - change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
  r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
  r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation on 2.0.4
........
  r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation
........
  r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed fillchar on TRawImage object
........
  r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * fixed crash when object has vmt
........
  r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * Made TRawimage compatible with record again
........
  r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * enabled newimagelist
........
  r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * fixed font
........

git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00