Commit Graph

105 Commits

Author SHA1 Message Date
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
paul
a54c5387fe win32: hide modal window by SetWindowPos() - this partly fix issue #0021306
git-svn-id: trunk@35962 -
2012-03-14 01:48:40 +00:00
paul
04d7f69119 win32: use SW_SHOWNORMAL instead of SW_SHOW when we are showing a window (bug #0020670)
git-svn-id: trunk@35169 -
2012-02-06 06:08:03 +00:00
paul
0ac2f35d4e lcl: move WN_NCHITTEST handling of THintWindow into LCL to allow overriding (issue #0019594)
git-svn-id: trunk@31468 -
2011-06-30 06:30:12 +00:00
paul
b11b6f938a win32: don't recreate window or perform any action when form style changes from fsStayOnTop to fsSystemStayOnTop and vice versa
git-svn-id: trunk@30229 -
2011-04-07 02:40:45 +00:00
paul
f37b868f3a win32: a trial to correct application focus lose when local stay on top windows are involved (issue #0018494)
git-svn-id: trunk@30228 -
2011-04-07 02:30:35 +00:00
paul
6c7c35c17b lcl: formatting
git-svn-id: trunk@30227 -
2011-04-07 00:35:47 +00:00
paul
902d2755bb win32: cleanup
git-svn-id: trunk@30195 -
2011-04-05 02:42:36 +00:00
paul
318a6d8d6f win32: don't activate forms when we only need to change z-order (issue #0018494)
git-svn-id: trunk@30166 -
2011-04-04 05:49:56 +00:00
paul
c0ca12b0b3 win32: fix compilation
git-svn-id: trunk@30133 -
2011-04-02 16:14:06 +00:00
paul
e9016d46d3 win32: cleanup
git-svn-id: trunk@30132 -
2011-04-02 15:42:29 +00:00
paul
eb193faaf6 win32: move handling of hint window messages to a dedicate window proc
git-svn-id: trunk@30059 -
2011-03-29 05:11:02 +00:00
paul
c7ac358e17 win32: move BorderStyleToWin32Flags, BorderStyleToWin32FlagsEx to win32wsforms, fix form style for bsNone with Parent <> nil or ParentWindow <> 0 (don't set WS_POPUP) - fixes issue #0019012
git-svn-id: trunk@30058 -
2011-03-29 04:57:29 +00:00
paul
8387ee8302 win32: don't clear WS_CHILD and other unrelated to border style/border icon flags on form handle creation, fix handling of WS_CHILD forms (can be either parent <> nil or ParentWindow <> 0)
git-svn-id: trunk@30046 -
2011-03-28 07:12:19 +00:00
paul
1106bb17a4 win32: reduce warnings and hints
git-svn-id: trunk@30015 -
2011-03-25 09:04:25 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
paul
412dc4ecc9 win32: also put Icon flags into AdjustWindowRectEx calls, cleanup
git-svn-id: trunk@29757 -
2011-03-09 04:06:03 +00:00
paul
bc0c4be8ea win32: cleanup
git-svn-id: trunk@29279 -
2011-02-01 05:41:35 +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
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
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
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
83e5f75727 lcl: ignore BorderStyle changes for TForm during the design time (issue #0017099)
git-svn-id: trunk@26993 -
2010-08-03 11:55:11 +00:00
paul
d53a9b30fa win32: skip AlphaBlend in design time (issue #0017080)
git-svn-id: trunk@26975 -
2010-08-02 09:03:05 +00:00
paul
e0a5a6d15b win32: remove some system menu items from the window if borderstyle = bsDialog to behave the same as standard windows dialogs and delphi dialogs
git-svn-id: trunk@26770 -
2010-07-22 04:47:44 +00:00
dmitry
25902403e2 win32: prevent designed components to become TopMost
git-svn-id: trunk@25774 -
2010-05-30 16:21:26 +00:00
dmitry
aff5d74181 win32: improve FormStyle switching, without window recreation
git-svn-id: trunk@25773 -
2010-05-30 16:12:51 +00:00
dmitry
70416c81dc win32: fix for changing FormStyle in runtime. fix for #16573
git-svn-id: trunk@25771 -
2010-05-30 15:33:35 +00:00
dmitry
928c735935 win32: fix for StayOnTop switching
git-svn-id: trunk@25727 -
2010-05-28 11:49:01 +00:00
sekelsenmat
45b34f356d Doesn't activate StayOnTop if designing under win32
git-svn-id: trunk@25559 -
2010-05-21 05:29:42 +00:00
sekelsenmat
9d7aa39624 Implements a new form style: fsSystemStayOnTop, reverts win32 fsStayOnTop to mean staying on top of the App only and implements sending WM_HOTKEY messages to the user TMyForm.WndProc. Also adds the OldFormStyle to the parameters of TWSCustomForm.SetFormStyle so that it isn't always necessary to recreate the Wnd.
git-svn-id: trunk@25531 -
2010-05-20 09:28:21 +00:00
paul
f8cf173c87 win32: don't call ShowWindow in TWin32WSCustomForm.ShowModal since it is already called by ShowHide
git-svn-id: trunk@25296 -
2010-05-10 13:22:48 +00:00
paul
77895ca1a7 win32: move wm_getminmaxinfo to the form window proc
git-svn-id: trunk@25293 -
2010-05-10 10:19:31 +00:00
paul
db1ba90fac formatting
git-svn-id: trunk@25137 -
2010-05-02 16:50:58 +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
mattias
5ee092816e win32 intf: TWin32WSCustomForm.SetShowInTaskbar check if something changes
git-svn-id: trunk@24751 -
2010-04-20 18:27:26 +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
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
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
2d43d1988c win32: support biHelp BorderIcon
git-svn-id: trunk@20815 -
2009-07-09 09:04:29 +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
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
78cb9d1a20 win32: implement TWin32WSCustomForm.SetFormStyle
git-svn-id: trunk@20579 -
2009-06-11 01:23:02 +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
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