log win/dw.c @ 671:c60a4f6cfae8

age author description
Sun, 27 Feb 2011 19:01:40 +0000 bsmith Implemented icon support on the Mac. In the process created a new HICN type.
Sat, 19 Feb 2011 00:02:12 +0000 bsmith Put in a fix for a Visual Studio 2008 crash with a time of 0.
Sun, 03 Oct 2010 00:34:36 +0000 mhessling Add dw_listview_insert()
Fri, 10 Apr 2009 10:30:54 +0000 mhessling Close debug file on exit
Fri, 10 Apr 2009 10:25:26 +0000 mhessling Support for setting transparent colour for bitmaps
Thu, 30 Oct 2008 10:43:16 +0000 mhessling Attempt to make click_default work properly.
Sat, 12 Apr 2008 12:22:09 +0000 mhessling Fixed dw_file_browse(); filters now work on extension passed in.
Sun, 06 Apr 2008 00:33:45 +0000 mhessling Add rudimentary internal logging for debug
Sun, 23 Mar 2008 05:14:32 +0000 mhessling Attempt auto resizing of window based on widget sizes; not very successful.
Sun, 23 Mar 2008 04:54:30 +0000 mhessling Modify Calendar widget
Thu, 14 Jun 2007 07:24:56 +0000 mhessling Fix for dw_notebook_new() with tabs at bottom
Sun, 01 Oct 2006 04:40:02 +0000 mhessling Fix trailing junk on dw_mle_export()
Mon, 25 Sep 2006 22:13:53 +0000 mhessling Add calendar widget.
Mon, 23 May 2005 07:54:10 +0000 bsmith Escape out of _free_window_memory() if we are being called on an embedded
Sun, 22 May 2005 18:07:23 +0000 bsmith Added dw_html_* functionality for embedding HTML pages in Dynamic Windows
Fri, 20 May 2005 11:28:16 +0000 bsmith Fixed a slight regression in the unified icon bitmap code.
Wed, 23 Mar 2005 09:26:36 +0000 mhessling Add support for .ico files to dw_window_set_icon()
Wed, 09 Feb 2005 17:53:26 +0000 bsmith Fix for incorrect indexes on subsequent container inserts on windows.
Tue, 20 Jul 2004 07:36:11 +0000 mhessling Add dw_listbox_list_append()
Thu, 17 Jun 2004 11:22:14 +0000 mhessling Add dw_color_choose()
Wed, 21 Apr 2004 05:33:51 +0000 bsmith Removed dw_percent_get_range() to simplify coding. The range is now always
Sat, 17 Apr 2004 05:38:09 +0000 bsmith Added a bunch of support routines I now own due to the settlement
Sun, 11 Apr 2004 08:35:43 +0000 bsmith Use LoadImage() and BS_ICON for properly loading the odd sized icon images
Sun, 11 Apr 2004 05:58:43 +0000 bsmith Initial code to support icons in dw_bitmapbutton_new() but it doesn't seem
Sun, 04 Apr 2004 01:58:48 +0000 bsmith Committed Icon code from Mark.
Thu, 01 Apr 2004 07:48:52 +0000 bsmith Fixed optimization errors on Windows.
Thu, 01 Apr 2004 07:25:38 +0000 bsmith Some splitbar optimizations, removed unneeded code and optimized crucial
Tue, 23 Mar 2004 22:37:21 +0000 bsmith More Timer cleanups, but it still stops for no apparent reason!
Tue, 23 Mar 2004 20:50:41 +0000 bsmith Added DW_POINTER_DEFAULT, this will return the pointer to the default
Tue, 23 Mar 2004 11:00:04 +0000 bsmith Fixed dw_window_pointer() so it works on Windows. Tried to fix the
Tue, 23 Mar 2004 10:10:27 +0000 mhessling Remove extraneous arguments to dw_messagebox()
Tue, 16 Mar 2004 08:23:04 +0000 bsmith For whatever reason the new WS_EX_MDICHILD method is not working properly,
Tue, 16 Mar 2004 02:55:04 +0000 bsmith Updated copyrights and license file.
Fri, 12 Mar 2004 23:47:37 +0000 bsmith More function name changes for Rexx/DW compatibility.
Tue, 09 Mar 2004 05:58:52 +0000 bsmith Fixes search and replace errors.
Tue, 09 Mar 2004 03:54:21 +0000 bsmith Removed the increments parameter from dw_scrollbar_new().
Tue, 09 Mar 2004 03:27:39 +0000 bsmith Change function names to be inline with Mark Hessling's Rexx/DW.
Mon, 08 Mar 2004 03:46:17 +0000 bsmith MDI frames have no data saved on their titlebared window handles, so
Wed, 18 Feb 2004 10:26:49 +0000 mhessling Added dw_container_get_column_type and dw_filesystem_get_column_type.
Thu, 22 Jan 2004 18:51:49 +0000 bsmith Added missing calling conventions. Thanks Bastian for pointing this out.
Wed, 21 Jan 2004 06:31:41 +0000 bsmith Load the Win2K/98 functions dynamically so the same DW.DLL binary will
Sun, 18 Jan 2004 06:52:50 +0000 bsmith Another minor change.
Sun, 18 Jan 2004 06:33:25 +0000 bsmith Added dw_filesystem_change_*() and testcase code from Mark in dwtest.
Sat, 17 Jan 2004 16:19:02 +0000 bsmith Only activate the container select callback when the item state changes,
Fri, 12 Dec 2003 05:19:36 +0000 bsmith Don't use globals for keeping track of dw_container_query*() loops, allows
Fri, 12 Dec 2003 00:07:26 +0000 bsmith Fixes for dw_container_delete*() so they don't interfere with a pending
Thu, 13 Nov 2003 01:13:08 +0000 bsmith Minor updates for the taskbar code.
Sat, 08 Nov 2003 15:30:19 +0000 bsmith Implemented taskbar icons on windows, so I can keep feature for feature
Wed, 15 Oct 2003 18:24:31 +0000 bsmith Implemented the new tree functions and signal on Windows and exported the
Fri, 10 Oct 2003 10:01:51 +0000 mhessling Add support for column-click signal.
Wed, 08 Oct 2003 21:59:23 +0000 bsmith Free menu memory on Windows as well.
Wed, 08 Oct 2003 21:40:06 +0000 bsmith More menu fixes, free signal handlers and memory on OS/2, and the begining
Wed, 08 Oct 2003 10:01:09 +0000 bsmith Cleanup code needs to delayed by posting to the window procedure so that
Wed, 08 Oct 2003 09:36:10 +0000 bsmith Added new code to make the menu handlers window local instead of global.
Wed, 09 Jul 2003 07:20:17 +0000 bsmith Fixes timer problems on Windows, however this may break Win95 support.
Wed, 25 Jun 2003 03:39:44 +0000 bsmith Hybrid fix, seems the last change illiminated some important code that
Mon, 23 Jun 2003 22:50:18 +0000 bsmith Fixes GDI font object leak when calling dw_window_set_font() on
Mon, 23 Jun 2003 17:24:54 +0000 bsmith Eliminate unnecessary and also erroneous code segment from the resize
Mon, 23 Jun 2003 17:13:02 +0000 bsmith Testing some even further optimization.
Mon, 23 Jun 2003 16:52:21 +0000 bsmith Optimizations to the layout engine on OS/2 and Windows, eliminated 3 MUL
Mon, 23 Jun 2003 08:58:38 +0000 mhessling Allow all special keys with keypress callback.
Tue, 17 Jun 2003 01:45:58 +0000 mhessling Add support for directory browsing under Win32. DW_DIRECTORY_OPEN can be
Mon, 09 Jun 2003 08:14:59 +0000 bsmith When a box is a groupbox, we need to add the groupbox border to both the
Tue, 03 Jun 2003 09:13:35 +0000 mhessling Add more tests for dw_pac*() functions. Throw up a messagebox if you try and
Mon, 02 Jun 2003 06:08:21 +0000 bsmith Changed from GetWindowLong() and SetWindowLong() to GetWindowLongPtr() and
Thu, 29 May 2003 18:38:49 +0000 bsmith Noticed an artifact from the OS/2 port that was incorrect.
Thu, 29 May 2003 09:53:04 +0000 bsmith Hopefully better method of removing the font modifiers.
Thu, 29 May 2003 09:18:54 +0000 bsmith Only throw up the messagebox when expand and size are both 0 and the item
Wed, 28 May 2003 04:52:34 +0000 mhessling Fix bug with specifying fonts with modifiers; the modifiers were not being
Tue, 27 May 2003 03:41:57 +0000 mhessling Check for inconsistent parameters in dw_box_pack_start() and
Sun, 18 May 2003 08:42:10 +0000 bsmith Division by zero fix in the layout engine.
Thu, 15 May 2003 16:21:27 +0000 bsmith Removed the defines again.
Thu, 15 May 2003 06:32:16 +0000 bsmith Added checks for UDM_SETPOS32 into the source file, I had removed them
Thu, 15 May 2003 03:44:01 +0000 bsmith Woops, missed a variable when copying the code from OS/2 to Windows.
Thu, 15 May 2003 03:38:44 +0000 bsmith Changes to calculate groupbox border widths and take this into account
Tue, 13 May 2003 09:15:00 +0000 mhessling Off by 1 test in _acquire_font(). "10.Terminal Bold" now works.
Tue, 13 May 2003 05:51:01 +0000 bsmith Added parsing for " Bold" and " Italic" in the font name so it behaves
Fri, 09 May 2003 12:54:51 +0000 mhessling Add flags parameter to dw_messagebox() to specify buttons and icon displayed.
Wed, 07 May 2003 22:20:23 +0000 mhessling Change call to SendMessage() to make dw_mle_set() actually work.
Wed, 07 May 2003 21:24:11 +0000 bsmith Stop select events during dw_tree_clear().
Sun, 27 Apr 2003 18:50:58 +0000 bsmith Check for comboboxes in listbox functions, and handle missing events,
Sun, 27 Apr 2003 18:43:14 +0000 bsmith Fixes for background set to DW_CLR_DEFAULT.
Sun, 27 Apr 2003 18:34:48 +0000 bsmith Updated the license information, and copyrights. Code to do background
Fri, 18 Apr 2003 09:28:27 +0000 mhessling Changes to implement justification on container columns.
Wed, 16 Apr 2003 12:00:00 +0000 bsmith Make dw_listbox_query_text() work on comboboxes on Windows.
Mon, 14 Apr 2003 13:47:20 +0000 bsmith Removed slider flags and container selection flags from the header file.
Fri, 11 Apr 2003 13:35:50 +0000 bsmith Implemented switch-page on OS/2, and changed the signal prototype to
Fri, 11 Apr 2003 12:22:10 +0000 bsmith Use dw_notebook_page_query() to query the logical notebook page id.
Fri, 11 Apr 2003 12:20:12 +0000 bsmith Forgot to free the array of pointers in the notebook control.
Fri, 11 Apr 2003 10:44:59 +0000 bsmith Call TreeView_SelectItem() instead of dw_tree_item_select() so we get the
Thu, 10 Apr 2003 12:37:28 +0000 bsmith Minor fix.
Thu, 10 Apr 2003 12:33:29 +0000 bsmith Some pointer changes.
Thu, 10 Apr 2003 12:05:36 +0000 bsmith Minor change to dw_window_set_icon() on OS/2 and Windows.
Wed, 09 Apr 2003 09:57:48 +0000 bsmith Check that the notification message is actually TCN_SELCHANGE.
Wed, 09 Apr 2003 09:43:01 +0000 mhessling Implement switch-page signal for notebooks. Bit of a bug in that it fires
Tue, 08 Apr 2003 17:47:31 +0000 bsmith Tree item handles are now of the type HTREEITEM instead of HWND since they
Thu, 03 Apr 2003 10:13:42 +0000 bsmith Make sure dw_tree_item_select() does not cause a DW_SIGNAL_ITEM_SELECT.
Thu, 03 Apr 2003 00:41:06 +0000 bsmith Fixed a typo.
Thu, 03 Apr 2003 00:29:46 +0000 bsmith Added dw_tree_get_data() to get a tree item's data.
Mon, 31 Mar 2003 10:20:08 +0000 bsmith Make sure itemdata is NULL for container callbacks.
Mon, 31 Mar 2003 09:57:45 +0000 bsmith Unified the callback functions for tree and container widgets.
Mon, 31 Mar 2003 09:18:00 +0000 bsmith Removed obsolete dw_container_set_view() function.
Mon, 31 Mar 2003 08:53:46 +0000 bsmith Fixed a typo in the signals.
Mon, 31 Mar 2003 08:21:55 +0000 bsmith Use the signal #defines internally so all that is required to change
Fri, 28 Mar 2003 21:19:07 +0000 bsmith Create the bitmap button even if the bitmap file does not exist.
Thu, 27 Mar 2003 10:49:06 +0000 bsmith More keypress fixes on Windows.
Thu, 27 Mar 2003 08:54:48 +0000 bsmith Use DrawStatusText() to make the status lines, instead of doing it ourself.
Thu, 27 Mar 2003 07:49:57 +0000 bsmith Sanity check, if expand is set width/height can't be zero... force it to 1.
Wed, 26 Mar 2003 07:03:04 +0000 bsmith More key_press cleanups.
Tue, 25 Mar 2003 23:49:59 +0000 bsmith If key code is extended pass 0 as the character parameter. Also fixed an
Sun, 23 Mar 2003 16:31:16 +0000 bsmith A cleaner dw_tree_delete() for recusiveness.
Sun, 23 Mar 2003 16:05:32 +0000 bsmith Fixed memory leak in the tree control on Windows.
Mon, 17 Mar 2003 15:38:57 +0000 bsmith Woops, screwed up the splitbar tab direction on Windows.
Mon, 17 Mar 2003 15:33:51 +0000 bsmith BOXVERT is now DW_VERT and BOXHORZ is now DW_HORZ. Also code cleanups,
Fri, 14 Mar 2003 18:20:50 +0000 bsmith Implemented dw_bitmapbutton_new_from_file() on Windows.
Fri, 14 Mar 2003 18:03:35 +0000 bsmith Initial code for dw_bitmapbutton_new_from_file and added filename parameter
Fri, 07 Mar 2003 20:25:18 +0000 bsmith Pass WM_CHAR messages to the signal handler proc for boxes.
Mon, 03 Mar 2003 19:50:19 +0000 bsmith Added initial version of updated key_press_event callback.
Thu, 20 Feb 2003 20:19:09 +0000 bsmith Added dw_icon_load_from_file() on OS/2 and Windows. Added a stub on Unix
Wed, 19 Feb 2003 08:48:09 +0000 bsmith Minor change.
Wed, 19 Feb 2003 08:46:50 +0000 bsmith Implemented dw_window_from_id() on Windows.
Wed, 19 Feb 2003 06:37:24 +0000 bsmith Use GetObject() instead of GetBitmapDimensionEx() to get the loaded bitmap
Wed, 19 Feb 2003 06:23:59 +0000 bsmith Fixes for Windows code.
Wed, 19 Feb 2003 06:00:54 +0000 bsmith Added dw_pixmap_new_from_file().
Tue, 18 Feb 2003 19:34:21 +0000 bsmith Rewrote the menu code to not return structs.
Sat, 01 Feb 2003 11:28:43 +0000 bsmith Automatically scroll when getting PAGE and LINE messages, not just
Sat, 01 Feb 2003 09:53:56 +0000 bsmith nMax is inclusive or exclusive?
Sat, 01 Feb 2003 08:00:38 +0000 bsmith The basics of the new scrollbar code on Windows, and dw_main_iteration().
Mon, 20 Jan 2003 20:28:41 +0000 bsmith Removed it from the comment too. ;)
Mon, 20 Jan 2003 20:27:51 +0000 bsmith Removed window parameter on Windows.
Mon, 20 Jan 2003 11:08:43 +0000 bsmith Implemented scrollbars and timers on Windows, and added scrollbar to the
Sat, 18 Jan 2003 19:15:18 +0000 bsmith Comboboxes need the CBS_AUTOHSCROLL style on Windows.
Fri, 17 Jan 2003 20:31:06 +0000 bsmith Fixes for dw_color_xxxx_set() to accept OS/2 style colors, and fixed a
Thu, 19 Dec 2002 04:16:32 +0000 bsmith Updated the menu code.
Fri, 06 Dec 2002 23:34:49 +0000 bsmith Minor splitbar fixes on OS/2 and Windows. The splitbar width is now 4
Mon, 02 Dec 2002 19:40:40 +0000 bsmith I need to call DestroyMenu() after TrackPopupMenu() otherwise I leak memory.
Mon, 02 Dec 2002 19:30:02 +0000 bsmith Fixing leaks on Windows and OS/2.
Sun, 01 Dec 2002 14:33:43 +0000 bsmith Fixes for Windows.
Sun, 01 Dec 2002 11:18:14 +0000 bsmith Updated dw_window_get_text() on Windows.
Wed, 27 Nov 2002 16:54:08 +0000 bsmith Allow subitems to have icons so the container controls will be the same
Tue, 26 Nov 2002 07:10:37 +0000 bsmith Added new container functions, and fixed resource leaks.
Mon, 18 Nov 2002 15:24:01 +0000 bsmith Use strftime to display time and date on Windows and unix.
Sun, 17 Nov 2002 11:51:30 +0000 bsmith Allow tree-select signal to work on container controls.
Tue, 12 Nov 2002 08:52:22 +0000 bsmith Added module support.
Thu, 07 Nov 2002 22:31:02 +0000 bsmith Another sync of sources, enhancements to dw_window_set_color() ... works
Wed, 06 Nov 2002 17:28:04 +0000 bsmith Sync up with the latest F/X sources.
Sat, 26 Oct 2002 21:33:31 +0000 bsmith Removed the filter from the test program and updated dw_main().
Thu, 24 Oct 2002 15:53:27 +0000 bsmith Removed unnecessary parameters from dw_main().
Wed, 23 Oct 2002 14:34:29 +0000 bsmith Upped the DW revision to 1.0, and merged with the latest code in the FX
Mon, 21 Oct 2002 11:41:30 +0000 bsmith Fixed a horrible bug in the code to remove user data from a window on OS/2
Sun, 20 Oct 2002 06:36:18 +0000 bsmith Code cleanup and OS/2 and Windows.
Sun, 20 Oct 2002 06:10:31 +0000 bsmith Safety checks in the splitbar calculations on OS/2 and Windows.
Sun, 20 Oct 2002 05:39:02 +0000 bsmith Finalized splitbar support on Windows.
Sun, 20 Oct 2002 01:41:04 +0000 bsmith Use float instead of int for percent on Windows. And a minor safety check
Sat, 19 Oct 2002 06:36:41 +0000 bsmith Implemented initial splitbar code on Unix. And made some fixes for
Sat, 19 Oct 2002 03:41:36 +0000 bsmith Initial new splitbar code on Windows.
Sun, 22 Sep 2002 13:26:34 +0000 bsmith Readded a piece of code I accidentally removed.
Sun, 22 Sep 2002 13:03:39 +0000 bsmith Spinbutton behaviour cleanups.
Sat, 21 Sep 2002 10:38:59 +0000 bsmith Use DWInstance, and some updates to the spinbutton hack.
Tue, 17 Sep 2002 17:33:06 +0000 bsmith Rewrote the Windows packing code so it is more like OS/2 to improve window
Fri, 06 Sep 2002 22:49:10 +0000 bsmith Give the frame window focus if it is clicked on.
Wed, 04 Sep 2002 09:05:19 +0000 bsmith Some changes to the container optimization code.
Sat, 24 Aug 2002 07:51:46 +0000 bsmith For multiple select listboxes on windows use the multiple select style
Fri, 16 Aug 2002 22:26:17 +0000 bsmith Minor changes to the container code on windows.
Thu, 30 May 2002 07:47:28 +0000 bsmith Avoid allocating super huge buffers when dealing with the MLEs.
Thu, 25 Apr 2002 02:10:49 +0000 bsmith Changed handling of menu item click events.
Mon, 22 Apr 2002 08:34:35 +0000 bsmith Committed the dw_window_set/get_data() changes from the FX tree.
Fri, 19 Apr 2002 17:52:38 +0000 bsmith Include a vertical scrollbar on comboboxes when there are too many items.
Tue, 16 Apr 2002 19:10:16 +0000 bsmith Added vertical center logic for static text controls on windows.
Wed, 03 Apr 2002 05:48:15 +0000 bsmith Fixed a problem with the date type in the containers... month should be
Fri, 29 Mar 2002 07:21:41 +0000 bsmith Fixes for a resource leak.
Wed, 27 Mar 2002 09:10:49 +0000 bsmith Updated to the latest DW.
Wed, 13 Mar 2002 17:35:36 +0000 bsmith Updated to latest DW, and updated the Makefile to install the header files
Mon, 18 Feb 2002 08:43:34 +0000 bsmith Added C/C++ style escape sequence processing. And fixed a couple OS/2 and
Fri, 15 Feb 2002 09:30:50 +0000 bsmith Added localization APIs as well as some miscellaneous bug fixes.
Sun, 10 Feb 2002 18:22:25 +0000 bsmith Fixed a bug where if dw_filesystem_* was used then the last column
Mon, 04 Feb 2002 16:04:43 +0000 bsmith Added new container functions, and implemented some missing functionality.
Tue, 22 Jan 2002 23:45:01 +0000 bsmith Minor tab changes on OS/2 and Windows.
Tue, 22 Jan 2002 10:55:20 +0000 bsmith Focus fixes and removal of several hack in the OS/2 code base.
Mon, 14 Jan 2002 00:48:08 +0000 bsmith Synched up with the latest dynamic windows, has new slider support and
Wed, 05 Dec 2001 06:03:49 +0000 bsmith Added shift-tab and up/down/left/right button support. And added missing
Thu, 29 Nov 2001 15:10:39 +0000 bsmith Sync with the latest DW code.
Wed, 21 Nov 2001 23:39:41 +0000 bsmith Don't use WinMain() in the example, use main() since the conversion is
Wed, 21 Nov 2001 23:37:15 +0000 bsmith Fixed example test app at the bottom of the source to use new dw_init
Wed, 21 Nov 2001 23:30:24 +0000 bsmith Added a mutex lock and unlock in the pointer calls. And fixed a warning
Wed, 21 Nov 2001 22:31:55 +0000 bsmith Sync with the latest dynamic windows, tree fixes, and other miscellaneous
Sat, 17 Nov 2001 17:40:16 +0000 bsmith Added new tree functions, and fixed a memory leak as well as use of
Sun, 11 Nov 2001 17:49:33 +0000 bsmith Added a redraw parameter to dw_container_clear().
Fri, 09 Nov 2001 13:49:44 +0000 bsmith Added font text extent querying code, and made it so winmain.c can be used
Mon, 05 Nov 2001 10:56:39 +0000 bsmith Latest fixes, mainly for GTK.
Fri, 02 Nov 2001 10:31:29 +0000 bsmith Fixes for box alignment problem on OS/2, crash in dw_bitmap_new() on unix
Tue, 30 Oct 2001 10:49:09 +0000 bsmith Fixed an error in the container date code on Windows and Unix.
Tue, 30 Oct 2001 10:15:44 +0000 bsmith Fixed makefile for Windows, and updated to latest source.
Mon, 22 Oct 2001 22:32:58 +0000 bsmith Lots of fixes and new functions on all platforms.
Fri, 19 Oct 2001 14:16:50 +0000 bsmith Added focus fixes and set-focus fixes on all three platforms.
Sun, 14 Oct 2001 23:27:37 +0000 bsmith Sync with latest Dynamic Windows code.
Mon, 03 Sep 2001 23:30:43 +0000 bsmith Added dw_window_default() to set the default focus widget in a dialog.
Thu, 30 Aug 2001 06:07:19 +0000 bsmith Renamed slider class to percent class. Implemented my own percent widget
Mon, 27 Aug 2001 17:16:12 +0000 bsmith Added missing exports, added new tree functions and signals, fixed Win32
Sat, 25 Aug 2001 05:39:33 +0000 bsmith Added tree view functions and signal.
Thu, 02 Aug 2001 09:57:21 +0000 bsmith Added tree widgets, fixed some delete event processing, fixed a layout bug
Wed, 18 Jul 2001 22:32:45 +0000 bsmith Some more updates.
Thu, 12 Jul 2001 20:31:26 +0000 bsmith Added new Dynamic Windows build information to the DWEnv struct.
Wed, 11 Jul 2001 21:57:56 +0000 bsmith Lots of Windows and Unix bug fixes.
Fri, 06 Jul 2001 13:32:57 +0000 bsmith Many Win32 and GTK fixes.
Tue, 03 Jul 2001 13:54:29 +0000 bsmith Updates to latest build.
Tue, 03 Jul 2001 07:50:39 +0000 ktk Import