Commit Graph

218 Commits (e97896fda6a5ff8e1c3b8c04029f076d6a7426a7)

Author SHA1 Message Date
dahall f0fd3f0334 Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies. 2020-12-27 17:30:06 -07:00
dahall 2066523bd0 BREAKING CHANGE: Changed AppendMenu param from UIntPtr to IntPtr for easier conversion from HMENU and int command ids. Change MENUINFO.dwMenuData to IntPtr for easier conversions. 2020-12-27 16:51:46 -07:00
dahall c1c20171e7 Added IDC_ cursor resource id constants 2020-12-27 16:50:05 -07:00
dahall f526adbdf6 Doc fixes 2020-12-26 20:34:36 -07:00
dahall 4307eaa01a Added CW_USEDEFAULT constant and fixed return value of CreateWindow function 2020-12-26 16:01:51 -07:00
dahall a9ed619504 Added constants for static controls (msgs, notifications and styles) 2020-12-26 16:00:55 -07:00
dahall 662c8a18c1 Added IDI_* values for static icons and overloaded LoadIcon function to accept a ResourceId param. 2020-12-26 16:00:25 -07:00
dahall 96ab21f382 Added param to SystemEventHandler constructor to force creation of the message pump in a thread and a PreprocessMessage method that pre-processes messages in the pump. 2020-12-25 20:41:20 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall 8acca80194 Updated project information 2020-12-22 19:13:59 -07:00
dahall 8e1057e676 Exposed public properties in SystemEventHandler 2020-12-22 11:45:04 -07:00
dahall 1196a4ed48 Added abstract `SystemEventHandler` which provides a smart message window that will automatically spin up a thread, if needed, for the message pump. 2020-12-22 09:59:32 -07:00
dahall 5c0f92d07c More work on BasicMessageWindow 2020-12-20 09:16:10 -07:00
dahall c70614bd19 Added BROADCAST_QUERY_DENY return value. 2020-12-20 08:36:22 -07:00
dahall 6aa6d3fd70 More work and tests for BasicMessageWindow 2020-12-20 08:29:09 -07:00
dahall ddfad23ac1 Removed incorrect FlagsAttribute from WindowMessage enum and removed duplicate, unused WM_HSHELL values 2020-12-20 08:28:33 -07:00
dahall 9f65b87ab7 Added BasicMessageWindow class as a simple alternative to NativeWindow and MessageWindow 2020-12-18 17:49:56 -07:00
dahall 96cc9d8ba9 Added param attributes for CreateWindow(Ex) and CREATESTRUCT structure 2020-12-18 17:48:39 -07:00
dahall e214393430 Updated project documentation files 2020-12-16 11:41:02 -07:00
dahall 87273d6edb Optimized code for HICON.ToHBITMAP extension method 2020-12-07 18:49:03 -07:00
dahall 47cbd0be0b Added conversion methods from HICON to HBITMAP and BitmapSource. 2020-12-03 19:24:45 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall c7a322c069 Updated project references to Microsoft.Drawing.Common for .NET 5 2020-11-14 10:12:24 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall c466ab71a0 Added missing param attributes to CopyImage 2020-11-05 07:14:10 -07:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall e8bb34c109 BREAKING CHANGE: Fixed return value of TrackPopupMenuEx so command identifiers could be returned. 2020-09-25 17:17:12 -06:00
dahall 435b843080 Added `IntPtr SendMessage<TEnum, TWP>(HWND hWnd, TEnum msg, TWP wParam, IntPtr lParam = default)` 2020-08-06 17:15:12 -06:00
dahall 51716e2898 Addressed #155 by adding GetMonitorInfo overload that accepts MONITORINFOEX 2020-08-06 12:52:15 -06:00
dahall ca4a401713 Added User32 EnumChildWindows and GetChildWindow methods 2020-08-05 10:39:03 -06:00
dahall 7c96ee01d0 Added overloads for DialogBox and DialogBoxParam that take ResourceId params instead of strings. 2020-07-30 14:38:17 -06:00
dahall 3c2309311f BREAKING CHANGE: Corrected invalid WindowStyles.WS_SIZEFRAME changing to WS_THICKFRAME 2020-07-29 17:58:20 -06:00
dahall 95d7300c3e Added CreateWindow "macro". BREAKING CHANGE: Corrected GetClientRect to have 'out rect' param rather than by ref. 2020-07-29 17:32:29 -06:00
dahall f9f07c8ba6 Added class StandardCursor with values IDC_xx for LoadCursor 2020-07-29 17:29:32 -06:00
dahall 01a98c1a24 Added missing WindowStyles values 2020-07-29 17:28:46 -06:00
dahall 8450971eb2 Added LoadCursor overload with ResourceId param 2020-07-28 12:46:08 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall 8d5c587e9d Updated project file information 2020-06-27 18:54:55 -06:00
dahall 28eaf62f3b Updated project information 2020-06-02 22:02:36 -06:00
dahall e2eea570c2 Added PowerBroadcastType enum and POWERBROADCAST_SETTING struct for WM_POWERBROADCAST messages 2020-05-14 10:08:45 -06:00
dahall c0ff453a20 Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files. 2020-04-03 14:51:10 -06:00
dahall 1ffc814d5f Added ObjectIdentifiers static class with constants used by WinEventProc. (#113) 2020-04-03 08:02:45 -06:00
dahall 02c4896b98 Fixed build warnings for missing XML docs and obsolete marshal directives 2020-04-02 19:14:40 -06:00
dahall 9fdb1ea000 Update project versions to 3.2.4 2020-04-01 18:48:29 -06:00
dahall befc5a5eeb Added WinEvent constants (#111) for SetWinEventHook 2020-04-01 18:42:21 -06:00
dahall 1c217e668e Updated project files to 3.2.3 2020-03-31 18:51:44 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall b0791e0fd5 XML doc fixes. 2020-03-09 10:53:39 -06:00
dahall 24dc30de5a Updated project files with v3.2.1 information. 2020-03-09 10:23:37 -06:00
dahall 19b3efd408 Updated project information and version to 3.2.0 2020-02-26 17:35:48 -07:00
dahall 54d8478255 FIxed problems with generic SendMessage methods 2020-02-12 20:06:28 -07:00
dahall a9f8944fd5 Added constructor to MENUITEMINFO and changed dwItemData type to IntPtr. 2020-02-10 13:49:59 -07:00
dahall c856d06332 Updated project files for v3.1.9 2020-01-17 08:50:25 -07:00
dahall 92acfa944e Added new functions from Win10 1903 2020-01-13 11:16:07 -07:00
dahall 42677e2063 Project files update for v3.1.8. 2020-01-13 09:26:39 -07:00
dahall 6eb542ecd0 Updated project information for 3.1.7 2020-01-03 16:50:52 -07:00
dahall 6edf55346d Added support for .NET Core 3.1 2020-01-03 16:46:48 -07:00
David Hall 4efd504b33 Replaced int for SystemMetric as first parameter on GetSystemMetricsForDpi (#79) 2019-12-26 17:43:56 -07:00
David Hall 1ee34f1001 Updated all project files to version 3.1.7 2019-12-17 15:05:04 -07:00
David Hall c2c9a6e2e6 Updated project files to support SourceLink 2019-12-17 14:56:55 -07:00
David Hall 61d0fbb908 Updated project files for 3.1.6 release 2019-12-11 22:09:39 -07:00
David Hall 9494280b8f Fixed structure field order problem with WINDOWINFO (#75) 2019-11-29 08:03:11 -07:00
David Hall 8bb754f22e Updated project files to version 3.1.5 2019-11-26 08:20:16 -07:00
David Hall 2eab8af7eb Changed project versions to 3.1.4 2019-11-13 23:07:14 -05:00
David Hall 035f6ce631 Updated project files for v3.1.3 2019-11-08 08:29:33 -07:00
David Hall bfd863bfe6 XML Comment corrections (bad params, bad refs, bad syntax). 2019-11-05 22:52:45 -07:00
David Hall 6ef7235bf3 Update project versions to 3.1.2 2019-10-23 13:44:41 -06:00
David Hall dee8220068 Update project file information and version to 3.1.1. 2019-10-17 13:43:37 -06:00
David Hall f649adbc24 Added IUserHandle reference to all user object handles. 2019-10-17 11:21:20 -06:00
David Hall 4451258143 ADDED: Support for .NET Core 3.0 in all projects!!
Updated project files to version 3.1.0, changed icon to embedded NuGet resource rather than link, consolidated dependency conditions in project files, and updated all NuGet dependencies.
2019-10-03 13:35:16 -06:00
David Hall 9ecdceed2f Updated project documentation for 3.0.1 release 2019-09-20 13:24:06 -06:00
David Hall 8b02747d2f Fixes per #63 2019-09-19 08:10:53 -06:00
David Hall 97995b9464 Added SC_* values for WM_SYSCOMMAND (#62) 2019-09-16 06:53:14 -06:00
David Hall f36c3fcee9 Added Obsolete tag to StandardClipboardFormat to push towards using CLIPFORMAT 2019-09-10 13:29:56 -06:00
David Hall 846783b115 Updated project documentation 2019-09-05 21:03:18 -06:00
David Hall d56d9486e7 Updated project information to version 3.0.1, added DLL references, and updated markdown files. 2019-09-04 14:11:25 -06:00
David Hall 26c4f6df11 Updated for 3.0.0 release 2019-08-27 16:48:15 -06:00
David Hall 6b8e0ccf58 Combined PInvoke.User32 and PInvoke.User32.Gdi and updated all dependencies.
Added .NET Standard 2.0 and .NET Core 2.0 and 2.1 support to all projects except Windows.Forms and Windows.Shell
2019-08-27 16:03:21 -06:00
David Hall d89a9df2a5 With so many breaking changes, I decided to roll the version to 3.0.0. 2019-08-27 12:42:33 -06:00
David Hall fa9ba9ff74 Changed names of delegates where existing ALLCAP name was a reference to another name. Could be a breaking change. 2019-07-25 20:25:24 -06:00
David Hall 64b2911d5e BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling. 2019-07-12 09:49:54 -06:00
David Hall 422ab0a7dd Updated project files for 2.8.11 release 2019-06-07 20:42:41 -06:00
David Hall f59831bc2c Updated project files for 2.3.10 2019-06-04 12:18:56 -06:00
David Hall 0b83c0a914 Updated projects for version 2.3.9 2019-05-25 19:47:54 -06:00
David Hall 56f517d6e9 Updated project information for 2.3.8 2019-04-30 08:00:06 -06:00
David Hall 0cc1d914d0 Updated project files for 2.3.7 release 2019-04-24 08:48:29 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall 515fc01852 Completed work on adding all WinUser.h functions 2019-02-27 16:32:18 -07:00
David Hall 89d95791b2 Added High DPI functions from WinUser.h 2019-02-25 14:36:07 -07:00
David Hall 660b895787 Added Pointer Input Messages and Notifications from WinUser.h 2019-02-25 14:08:14 -07:00
David Hall 4e54effcd7 Added input functions from WinUser.h 2019-02-25 12:06:41 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall c1af977137 Added touch functions 2019-02-05 14:12:17 -07:00