Commit Graph

251 Commits

Author SHA1 Message Date
micha
88a48665d5 make ignoreNextChar a global, because there is only one keyboard per application to be typed on (fixes #1227, setfocus in between KEYDOWN and KEYUP)
git-svn-id: trunk@8004 -
2005-10-30 15:33:20 +00:00
micha
707f5119bd remove unused PaintPixmap method
git-svn-id: trunk@7969 -
2005-10-16 18:17:54 +00:00
micha
86a7e13da6 fix combobox selection of text when resizing (fixes #1180)
improve message debugging (display # in front of message when sent by win32 default handler)

git-svn-id: trunk@7821 -
2005-09-25 18:35:08 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
micha
374a089bff fix getting raw image; need to use GetDIBits to convert DDB to DIB
git-svn-id: trunk@7504 -
2005-08-15 17:51:57 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
micha
a8d1f0629c fix double click heuristic to take into account cursor movement, if moved too much do not send double click
git-svn-id: trunk@7389 -
2005-07-21 17:37:40 +00:00
micha
4d1f460836 split up implementation of ResizeChild
git-svn-id: trunk@7371 -
2005-07-18 13:49:54 +00:00
micha
993f9a7aaa remove unused TLazObject
git-svn-id: trunk@7370 -
2005-07-18 12:44:15 +00:00
micha
e449af4c82 remove TWin32WidgetSet.RecreateWnd, use the one from Controls unit
git-svn-id: trunk@7369 -
2005-07-18 12:37:58 +00:00
micha
84421fe81f better looking arrow, not ideal, but better anyway (fixes #760)
git-svn-id: trunk@7146 -
2005-05-05 14:51:05 +00:00
micha
d2f22b90ba improve click-focus-click implies doubleclick heuristic to check for focus change within handling of mouseclick
git-svn-id: trunk@7144 -
2005-05-05 12:57:43 +00:00
micha
e749ccccaa send double click to window, if pattern mouse-click, focus-change, mouse-click detected (fixes bug #794)
git-svn-id: trunk@7117 -
2005-04-29 11:53:25 +00:00
micha
c0bd0aabc6 implement Ctrl+A to select all text for edit controls
git-svn-id: trunk@7063 -
2005-04-07 15:52:31 +00:00
vincents
83030c9805 fixed thread synchronize support for fpc 1.9.9 using WakeMainThread
git-svn-id: trunk@6880 -
2005-03-03 13:13:51 +00:00
marc
55f3a45a70 + Added RemoveProp winapi call
* Some maintenace on winapi/lclintf files

git-svn-id: trunk@6830 -
2005-02-23 01:12:47 +00:00
micha
7fc273c941 let general WindowProc also handle childedit of combobox, reduces code duplication, implements doubleclick for combobox
git-svn-id: trunk@6777 -
2005-02-10 21:07:29 +00:00
micha
66e4a148ca force default width and height for calendar control
git-svn-id: trunk@6764 -
2005-02-07 16:19:14 +00:00
micha
5e96e40e13 fix bug #558: title bar redraw (win32)
USE_SYNCHRONIZE enabled per default for 1.9.x

git-svn-id: trunk@6597 -
2005-01-15 10:09:23 +00:00
vincents
a53e4ba3fd added elements to LclCursorToWin32CursorMap for new crXXX constants
git-svn-id: trunk@6584 -
2005-01-14 12:16:39 +00:00
micha
69a02addd1 implement support for tthread.synchronize
git-svn-id: trunk@6420 -
2004-12-27 10:18:21 +00:00
micha
3239fd1cb9 remove obsolete and unused method twin32widgetset.settext
git-svn-id: trunk@6201 -
2004-11-04 16:57:32 +00:00
micha
8be1fd35e2 fix crash on showing tabpage
fix painting of radiobutton in groupbox (non-tabpage-parent)

git-svn-id: trunk@6177 -
2004-10-29 09:52:08 +00:00
micha
cfbcf45a59 convert GetProp and SetProp usage to one Atom pointing to a record of fields
git-svn-id: trunk@6175 -
2004-10-28 21:00:56 +00:00
micha
99a4975f37 remove obsolete message event array
git-svn-id: trunk@6173 -
2004-10-28 14:17:18 +00:00
micha
d5427c9574 experiment: use CS_SAVEBITS class style on tabpages to reduce flickering
git-svn-id: trunk@6169 -
2004-10-28 07:43:29 +00:00
micha
84c8159e94 fix winxp theming for tabcontrols (shaded background)
git-svn-id: trunk@6167 -
2004-10-27 20:58:58 +00:00
micha
86e77f52a8 remove statusbar helper methods from general widgetset object
git-svn-id: trunk@6144 -
2004-10-16 10:17:21 +00:00
micha
2b55646f6f splitup of CreateComponent to widgetset CreateHandle methods
git-svn-id: trunk@6137 -
2004-10-15 09:51:09 +00:00
micha
64e62a5abe split up common dialogs code
git-svn-id: trunk@6118 -
2004-10-06 10:52:46 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
micha
e48907bdf1 convert LM_SETDESIGNING message to TWidgetSet method
git-svn-id: trunk@6065 -
2004-09-24 14:50:58 +00:00
micha
71d0f3dd98 convert LM_SETPROPERTIES message to interface method for TCustomTrackBar
remove message LM_SETPROPERTIES, conversion done

git-svn-id: trunk@6059 -
2004-09-24 07:52:36 +00:00
micha
74f59c2028 convert LM_SETPROPERTIES message for tcustomlabel to interface methods
git-svn-id: trunk@6043 -
2004-09-22 14:50:18 +00:00
micha
b1a4a3dab4 convert LM_SETVALUE message to interface methods
git-svn-id: trunk@6032 -
2004-09-19 18:50:28 +00:00
micha
559f264877 convert LM_GETVALUE message to interface method
git-svn-id: trunk@6029 -
2004-09-18 17:07:58 +00:00
micha
f0eb9c47ac convert LM_SCREENINIT message to interface method (integrated with TWidgetSet.AppInit(var ScreenInfo)
git-svn-id: trunk@6025 -
2004-09-18 10:52:48 +00:00
micha
0420d2ead2 convert LM_GETITEMINDEX and LM_SETITEMINDEX messages to interface methods
git-svn-id: trunk@6007 -
2004-09-15 17:21:22 +00:00
micha
f601ebe0c9 convert LM_REDRAW message to interface method (in twidgetset)
git-svn-id: trunk@5995 -
2004-09-14 10:06:26 +00:00
micha
fcba6eb0fe convert LM_SHOWTABS message to interface method
git-svn-id: trunk@5994 -
2004-09-13 19:57:31 +00:00
micha
692a8dc161 convert LM_ADDPAGE and LM_REMOVEPAGE messages to new interface methods
git-svn-id: trunk@5993 -
2004-09-13 19:06:04 +00:00
micha
977ee858b4 convert LM_SHOWMODAL to interface methods
git-svn-id: trunk@5990 -
2004-09-13 13:13:47 +00:00
micha
a3fbe1707a convert LM_SETSIZE message to new interface method
git-svn-id: trunk@5986 -
2004-09-12 19:50:36 +00:00
micha
38ed545b88 convert LM_GETPIXEL and LM_SETPIXEL to interface methods (of twidgetset, DCGetPixel and DCSetPixel)
git-svn-id: trunk@5975 -
2004-09-12 13:11:50 +00:00
micha
b09d407049 convert LM_BRINGTOFRONT message to interface method
NOTE: was only used for tapplication, not from other controls

git-svn-id: trunk@5969 -
2004-09-11 13:38:37 +00:00
micha
84ef0bbe40 convert LM_ADDCHILD message to interface method
git-svn-id: trunk@5968 -
2004-09-11 13:06:49 +00:00
micha
18d67ba979 convert LM_CLB_G/SETCHECKED to interface methods
git-svn-id: trunk@5962 -
2004-09-10 20:19:13 +00:00
micha
773ffa3278 convert LM_ATTACHMENU to interface method
git-svn-id: trunk@5961 -
2004-09-10 18:58:24 +00:00
micha
963bdc89c2 convert lm_gettext to new interface methods
remove lm_settext replacement settext methods in twidgetsets

git-svn-id: trunk@5956 -
2004-09-10 14:38:30 +00:00
micha
d189d5601f convert LM_SETLABEL message to interface methods
git-svn-id: trunk@5954 -
2004-09-10 09:43:13 +00:00
micha
6adb463e6f convert LM_SHOWHIDE message to new intf method TWSWinControl.ShowHide
git-svn-id: trunk@5946 -
2004-09-08 20:47:17 +00:00
micha
e512c8e42a convert LM_SETCOLOR message to new intf method TWSWinControl.SetColor
git-svn-id: trunk@5945 -
2004-09-08 19:09:34 +00:00
micha
e91d8c2c09 fix logs to get rid of comment level 2 warning
git-svn-id: trunk@5932 -
2004-09-07 10:26:17 +00:00
micha
02b14f6cbb fix win32 interface, remove lm_setlimittext (obsolete)
git-svn-id: trunk@5931 -
2004-09-07 10:18:11 +00:00
micha
12e184b13e convert lcl messages to new interface using methods: LM_{G,S}ETSELSTART, LM_{G,S}ETSELLEN, LM_{G,S}ETLIMITTEXT
git-svn-id: trunk@5930 -
2004-09-07 09:44:46 +00:00
micha
fe38ae6e93 implement tapplication.minimize for win32, stub for gtk
git-svn-id: trunk@5868 -
2004-08-27 08:55:23 +00:00
micha
bb66c88f50 use new lcl interface methods instead of messages (for win32; twsbitbtn)
git-svn-id: trunk@5847 -
2004-08-25 15:04:44 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mattias
cd9a3b8c9f added TCustomButton, TCustomBitBtn, TCustomSpeedButton
git-svn-id: trunk@5682 -
2004-07-15 10:43:39 +00:00
marc
c4afc3033d * Implemented most of TListColoum/Item in the Ws for gtk and win32
git-svn-id: trunk@5667 -
2004-07-11 17:20:47 +00:00
micha
5ed811d1ac initialize common controls: date picker
git-svn-id: trunk@5627 -
2004-06-30 20:59:11 +00:00
micha
57873bfd7d fix showtabs for win32 interface
git-svn-id: trunk@5615 -
2004-06-29 08:03:08 +00:00
micha
3c7d11944b remove old obsolete/commented toolbutton code
rename lazarusform classname to window, because we use it for panels, notebookpages, etc too

git-svn-id: trunk@5592 -
2004-06-20 20:36:55 +00:00
vincents
0ea700d181 fixed pasting from clipboard
git-svn-id: trunk@5579 -
2004-06-18 20:47:34 +00:00
micha
47ee7b1b10 fix xp themes drawing image on bitbtn
git-svn-id: trunk@5577 -
2004-06-18 19:55:43 +00:00
micha
0f9632c7e9 fix cursors to use what's available
git-svn-id: trunk@5561 -
2004-06-13 14:32:15 +00:00
vincents
a8ed94e6e6 listbox style changes are notified to the widgetset
git-svn-id: trunk@5551 -
2004-06-10 22:07:58 +00:00
vincents
b42f9e541f converted win32proc.inc to unit
git-svn-id: trunk@5549 -
2004-06-10 18:14:10 +00:00
vincents
93567b011d implemented basic clipboard support for win32
git-svn-id: trunk@5547 -
2004-06-09 20:51:45 +00:00
micha
0ebc945aa3 implement new borderstyle
- centralize to twincontrol (protected)
- public expose at tcustomcontrol to let interface access it

git-svn-id: trunk@5490 -
2004-05-21 09:03:55 +00:00
micha
5408f03b2a fix itemheight of listbox, handle measureitem message
git-svn-id: trunk@5473 -
2004-05-14 17:48:39 +00:00
micha
b8c82bc41f fix toolbar buttons by handling them as customcontrols
remove handledialogmessage, now handled in lcl

git-svn-id: trunk@5459 -
2004-05-12 09:46:25 +00:00
micha
5effa0b10e cursor management updated:
- lcl notifies interface via WSControl.SetCursor of changes
- fix win32 interface to respond to wm_setcursor callback and set correct cursor

git-svn-id: trunk@5398 -
2004-04-11 10:19:28 +00:00
micha
bade7949c7 - added: [win32] mousewheel default handler sends scrollbar messages
- fixed: lmsetcursor; partial todo

git-svn-id: trunk@5392 -
2004-04-10 17:54:52 +00:00
vincents
7db1e8aa7a Fixed line endings
git-svn-id: trunk@5342 -
2004-03-26 21:20:54 +00:00
marc
1b18ec2ef4 * Removed all ComponentCreateHandle routines
git-svn-id: trunk@5330 -
2004-03-19 00:53:34 +00:00
marc
897fe72887 * Fixes some typos and changes uses clause cases
git-svn-id: trunk@5317 -
2004-03-17 19:59:56 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00
marc
e693ca5784 * Renamed TWin32Object to TWin32WidgetSet
git-svn-id: trunk@5265 -
2004-03-05 01:04:21 +00:00
marc
3443dbecdb * Renamed TInterfaceBase to TWidgetSet
git-svn-id: trunk@5260 -
2004-03-05 00:14:02 +00:00
marc
de8f27af5b * Interface CreateComponent splitup
* Implemented CreateButtonHandle on GTK interface
  on win32 interface it still needs to be done
* Changed ApiWizz to support multilines and more interfaces

git-svn-id: trunk@5236 -
2004-02-27 00:42:41 +00:00
micha
912d81b51e revert intf split
git-svn-id: trunk@5225 -
2004-02-23 08:19:05 +00:00
micha
8c520fe744 split interface into non-lcl and lcl-component dependent parts
git-svn-id: trunk@5224 -
2004-02-22 22:52:59 +00:00
micha
c452389ad5 fixed: name clash SetCursor (message LM_SETCURSOR), and inherited SetCursor (winapi)
git-svn-id: trunk@5215 -
2004-02-21 13:35:15 +00:00
micha
fd4254a45d statusbar interface dependent reimplementation (from vincent)
git-svn-id: trunk@5052 -
2004-01-12 08:36:34 +00:00
micha
8e542cff62 fix dialogs owner handle, fixes focusing issue
git-svn-id: trunk@4977 -
2003-12-27 16:47:18 +00:00
micha
11a8c94ee7 fix window activation z-order
git-svn-id: trunk@4908 -
2003-12-19 18:18:17 +00:00
micha
e8d7c82083 remove non-useful variable wndlist (thx vincent)
git-svn-id: trunk@4900 -
2003-12-18 10:17:00 +00:00
micha
6ff2c7cbb9 fix accelerators: now registered per window
git-svn-id: trunk@4899 -
2003-12-18 08:51:01 +00:00
micha
5e5162e764 checklistbox, implement object+checked; from vincent
git-svn-id: trunk@4887 -
2003-12-15 21:57:16 +00:00
micha
56bdc23a6f hint fixes: parentfont, font itself, showing/hiding + more
git-svn-id: trunk@4884 -
2003-12-14 19:18:04 +00:00
micha
364db38a4a hintwindow, color, rectangle size fixes
git-svn-id: trunk@4883 -
2003-12-13 19:44:42 +00:00
mattias
d36880c511 removed menutype.pas
git-svn-id: trunk@4851 -
2003-11-27 23:02:30 +00:00
mattias
515fa579db fixed win32 TBaseMenuitem
git-svn-id: trunk@4846 -
2003-11-26 21:55:15 +00:00
marc
3b9c6758e9 * implemented new LCL(check|enable)Menuitem functions
* introduced the lclintf inc files to win32

git-svn-id: trunk@4843 -
2003-11-26 00:23:47 +00:00
micha
ac34069131 implement tchecklistbox
git-svn-id: trunk@4841 -
2003-11-25 21:20:38 +00:00
micha
688afe1bd5 new api lclenable,checkmenuitem according to list
git-svn-id: trunk@4840 -
2003-11-25 14:21:28 +00:00
micha
ab6d51cfb8 cleanups; wm_hscroll/wm_vscroll fix
git-svn-id: trunk@4820 -
2003-11-21 20:32:01 +00:00
micha
a447e9293b fpimage fixes
git-svn-id: trunk@4800 -
2003-11-14 20:23:31 +00:00
micha
c8af4ddcf3 cleanups; win32 fpimage support
git-svn-id: trunk@4790 -
2003-11-10 16:15:32 +00:00
micha
477baf5d1a compiler warning cleanups
git-svn-id: trunk@4782 -
2003-11-08 17:41:03 +00:00
mattias
246851ae33 fixed unit circle
git-svn-id: trunk@4734 -
2003-10-28 14:25:37 +00:00
micha
615e8484ee new interface method to attach a menu to window
git-svn-id: trunk@4733 -
2003-10-26 17:34:41 +00:00
micha
912975406c cleanups; single parent window (single taskbar button)
git-svn-id: trunk@4727 -
2003-10-23 07:45:49 +00:00
micha
87c8cd928e spinedit fix; variables cleanup
git-svn-id: trunk@4720 -
2003-10-21 15:06:27 +00:00
mattias
00ba3ba05c removed FMainForm by Micha
git-svn-id: trunk@4686 -
2003-09-30 13:05:59 +00:00
mattias
eddbbdf6ea TScrollBox for win32 intf from Karl
git-svn-id: trunk@4683 -
2003-09-27 09:52:44 +00:00
mattias
06801fd78c varois improvements for ParentColor from Micha
git-svn-id: trunk@4654 -
2003-09-20 13:27:49 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
8330f4c4b1 fixed common dialogs from Karl
git-svn-id: trunk@4620 -
2003-09-14 09:43:45 +00:00
mattias
049cdf91af removed class function
git-svn-id: trunk@4583 -
2003-09-08 13:24:17 +00:00
mattias
bf6c4c8362 added fpImage reader/writer hooks to TBitmap
git-svn-id: trunk@4581 -
2003-09-08 12:21:48 +00:00
mattias
40044dcf40 listbox and comboboxes now set sort and selection at handle creation
git-svn-id: trunk@4541 -
2003-08-28 09:10:01 +00:00
mattias
d0b28bec51 implements SET_LABEL from Micha
git-svn-id: trunk@4535 -
2003-08-27 09:33:26 +00:00
mattias
c771afd96b applied listbox/combobox patch from Karl
git-svn-id: trunk@4524 -
2003-08-26 08:12:33 +00:00
mattias
5073d76b3e fixed win32int
git-svn-id: trunk@4523 -
2003-08-26 07:04:04 +00:00
mattias
710904b03c size fixes from Karl
git-svn-id: trunk@4507 -
2003-08-21 06:52:47 +00:00
mattias
11e77dd2c1 added directory selection dialog from Vincent
git-svn-id: trunk@4492 -
2003-08-17 12:51:35 +00:00
mattias
3dc1252ce3 fixed mem leak
git-svn-id: trunk@4491 -
2003-08-17 12:47:53 +00:00
mattias
a366802840 fixed parts of the win32 intf size system
git-svn-id: trunk@4490 -
2003-08-17 12:26:00 +00:00
mattias
840b151bf7 added identcompletion context information and fixed win32 intf
git-svn-id: trunk@3919 -
2003-03-13 19:57:38 +00:00
mattias
cb8dad4ea8 more localization for gtk- and win32-interface and lcl
git-svn-id: trunk@3908 -
2003-03-11 07:46:44 +00:00
mattias
b37432d3e7 fixes for win32 listbox/combobox from Karl Brandt
git-svn-id: trunk@3771 -
2003-01-01 10:46:59 +00:00
mattias
0766c51155 toolbutton patch from Martin Smat
git-svn-id: trunk@3747 -
2002-12-28 09:42:12 +00:00
mattias
4356dd7165 applied win32 notebook patch from Vincent
git-svn-id: trunk@3698 -
2002-12-16 09:02:27 +00:00
mattias
9db0976b62 renamed TinterfaceObject.Init to AppInit and TWinControls can now contain childs in gtk
git-svn-id: trunk@1389 -
2002-02-09 01:48:23 +00:00
mattias
1ae5952b58 patch from Vincent: clean ups and fixed crash on destroying window
git-svn-id: trunk@1385 -
2002-02-09 01:48:22 +00:00
mattias
9291b2726e cleaned up
git-svn-id: trunk@1376 -
2002-02-09 01:48:21 +00:00
mattias
1997f7ee21 applied clipbrd patch from Vincent
git-svn-id: trunk@1365 -
2002-02-09 01:48:20 +00:00
mattias
746e97db7f added Timer patch from Vincent Snijders
git-svn-id: trunk@1353 -
2002-02-09 01:48:19 +00:00
mattias
a0e87c84ba applied patch from Karl Brandt
git-svn-id: trunk@1346 -
2002-02-09 01:48:18 +00:00
lazarus
02fe0f0f09 AJ: fixed compiling
git-svn-id: trunk@1336 -
2002-02-09 01:48:17 +00:00
lazarus
ceb796263e MG: broke LCL<->interface circles
git-svn-id: trunk@1322 -
2002-02-09 01:48:16 +00:00
lazarus
0aed079421 MG: added graphics extensions from Andrew Johnson
git-svn-id: trunk@1305 -
2002-02-09 01:48:15 +00:00
lazarus
38a833cac4 Keith: Code cleanup.
git-svn-id: trunk@1303 -
2002-02-09 01:48:14 +00:00
lazarus
8ccce64f72 MG: updated licenses
git-svn-id: trunk@1290 -
2002-02-09 01:48:13 +00:00
lazarus
fe884b1796 Keith:
* Removed more obsolete code
  * Compiles again!

git-svn-id: trunk@1271 -
2002-02-09 01:48:12 +00:00
lazarus
fb093d7503 Keith: Removed obsolete code, in preperation of a pending TWin32Object cleanup
git-svn-id: trunk@1257 -
2002-02-09 01:48:11 +00:00
lazarus
ae9eee5b17 Keith: Fixed persistent label captions and a few less noticable things
git-svn-id: trunk@671 -
2002-02-07 08:35:13 +00:00
lazarus
cefcefa70c Keith: Fixed Win32 compilation problems
git-svn-id: trunk@654 -
2002-02-03 06:06:26 +00:00
lazarus
d2c64aa547 Keith: Fixes for Win32
git-svn-id: trunk@652 -
2002-02-01 10:13:09 +00:00
lazarus
431e35aef5 Keith:
* Open and save dialogs can now coexist in apps (however, only one of each type of common dialog can be used per app :( )
  * Fixed make all
  * Fixed crash in Windows 98/ME

git-svn-id: trunk@649 -
2002-01-31 09:32:07 +00:00
lazarus
4e53ea1b36 Keith: Improved events and common dialogs on Win32
git-svn-id: trunk@626 -
2002-01-25 19:42:57 +00:00
lazarus
55887225f3 Keith: Fixed TPage creation
git-svn-id: trunk@603 -
2002-01-17 03:17:45 +00:00
lazarus
05eb399fb1 MG: win32 interface update from Keith Bowes
git-svn-id: trunk@579 -
2002-01-05 13:16:10 +00:00
lazarus
326a431398 MG: applied Keith Bowes win32 interface updates
git-svn-id: trunk@383 -
2001-11-01 22:40:14 +00:00
lazarus
f1dd977018 MG: win32 interface patch from Keith Bowes
git-svn-id: trunk@325 -
2001-08-02 12:58:35 +00:00
lazarus
4ac1b588ad Updated OI from Mattias
Shane

git-svn-id: trunk@63 -
2000-12-12 14:16:43 +00:00