dahall
|
fe1b9c24e7
|
Fixed multiple problems with SystemParametersInfo and SPI values (#283). Overload methods now are tested against all SPI values.
|
2022-03-10 17:47:48 -07:00 |
dahall
|
5dd849eeed
|
Fixed XML docs
|
2022-03-10 17:46:12 -07:00 |
dahall
|
07f8d19680
|
Added NMHDR.LParamAsRef method
|
2022-03-10 17:45:13 -07:00 |
dahall
|
1a4c56c12c
|
Updated docs for all window messsages and notifications
|
2022-03-07 06:16:36 -07:00 |
dahall
|
807516de29
|
Updated documentation for all WM_* messages.
|
2022-03-04 20:09:11 -07:00 |
dahall
|
c2cdf92620
|
Added missing hook constants from winuser.h
|
2022-03-02 15:06:24 -07:00 |
dahall
|
5af855aeb2
|
Added helper functions to WINDOWPOS to help when using it with LPARAM values.
|
2022-03-02 15:05:34 -07:00 |
dahall
|
b669932c57
|
Removed code and conditionals for obsolete target frameworks.
|
2022-02-07 14:58:09 -07:00 |
dahall
|
d9f00186b0
|
Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8.
|
2022-02-07 14:35:37 -07:00 |
dahall
|
0bb9797e2f
|
BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions.
|
2022-01-14 07:32:51 -07:00 |
dahall
|
e15ee53a0a
|
Removed dependencies on WinForms and WPF for Gdi32 and User32 assemblies. This forced the removal of extension methods to convert HBITMAP and HICON to System.Windows.Media.Imaging.BitmapSource.
|
2022-01-04 07:27:12 -07:00 |
dahall
|
7026a893f9
|
Removed PackageReference details for .NET 5 and 6 projects with System.Drawing.Common.
|
2021-12-29 10:16:04 -07:00 |
dahall
|
b9614e7eb2
|
Rolled version to 3.4.0 and added support for .NET 6.0
|
2021-12-27 16:34:25 -07:00 |
dahall
|
eb338abbc2
|
Made changes to address #255. Untested.
|
2021-11-22 07:48:41 -07:00 |
dahall
|
2307a2ba7d
|
Added WindowStylesEx.WS_EX_NOREDIRECTIONBITMAP (#254)
|
2021-11-13 10:21:57 -07:00 |
dahall
|
34580ccf7f
|
Updated project files for 3.3.14
|
2021-10-25 21:49:50 -06:00 |
dahall
|
3f64f6d9d4
|
Added new functions from Win11
|
2021-10-25 18:35:13 -06:00 |
dahall
|
a0c1e82962
|
Fixed parameter and field types for User32 mouse functions (#248)
|
2021-09-09 07:31:58 -06:00 |
dahall
|
a29af2185b
|
Adjusted SystemEventHandler after removing BasicMessageWindow events
|
2021-08-29 15:07:27 -06:00 |
dahall
|
1c15f088f2
|
Removed BasicMessageWindows events (not relevant) and fixed some null handle potential
|
2021-08-29 15:06:40 -06:00 |
dahall
|
476b02ba21
|
Added SystemEventHandler.MessageWindowHandleCreated event
|
2021-08-17 13:02:39 -06:00 |
dahall
|
561400a001
|
Added BasicMessageWindow.HandleCreated and HandleDestroyed events.
|
2021-08-17 12:54:16 -06:00 |
dahall
|
e693b4b11e
|
Added CorrespondingType attributes to StandardClipboardFormat values.
|
2021-08-17 11:07:23 -06:00 |
dahall
|
e504a40d84
|
Updated User32.INPUT structure for better usability, changed UIntPtr fields to IntPtr in a few structures and functions, added VK_* constants.
|
2021-08-02 09:58:54 -06:00 |
dahall
|
46c8e028a7
|
Added parameter attributes
|
2021-05-29 08:06:43 -06:00 |
dahall
|
fec3fcbbe0
|
Fix #223 due to INPUT alignment problem
|
2021-04-11 20:27:45 -06:00 |
NN
|
28822bab9e
|
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
|
2021-03-23 07:26:03 -06:00 |
dahall
|
8aa4e7d96e
|
Updated package descriptions with briefer syntax
|
2021-03-07 11:24:58 -07:00 |
dahall
|
3e00f2743c
|
Updated referenced NuGet package versions
|
2021-03-07 11:15:52 -07:00 |
dahall
|
fa63350031
|
Updated project files for 3.3.4
|
2021-02-11 13:33:26 -07:00 |
dahall
|
bf1cbcf3ca
|
Improved parameter attributes and overloads for CreateWindowEx and GetClassInfoEx
|
2021-02-08 15:33:07 -07:00 |
dahall
|
03cb7bdda6
|
Fixed issues with BasicMessageWindow that caused creation failures and WndProc call failures.
|
2021-02-08 15:31:59 -07:00 |
dahall
|
6c4a37655b
|
Added `WindowClass` to ensupsulate information about a window class.
|
2021-02-08 15:30:54 -07:00 |
dahall
|
72e792928f
|
Fixed XML comment problems
|
2021-02-01 09:08:31 -07:00 |
dahall
|
a6d225b6b8
|
Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200)
|
2021-01-26 07:49:48 -07:00 |
dahall
|
adf48e9d4f
|
Added CreateWindowEx overload taking IntPtr for class name
|
2021-01-24 18:58:58 -07:00 |
dahall
|
3109a2ebbf
|
Fixed disposal bug in BasicMessageWindow
|
2021-01-24 18:58:16 -07:00 |
dahall
|
608e0f7d53
|
Updated project information
|
2021-01-05 21:55:12 -07:00 |
dahall
|
a8730903e3
|
More SendMessage work
|
2021-01-01 15:05:32 -07:00 |
dahall
|
eefe24a771
|
Moved HOTKEYF from ComCtrl32 to User32 to align with WM_GETHOTKEY location
|
2021-01-01 15:03:01 -07:00 |
dahall
|
6dc8b6a749
|
Updated SendMessage dependencies in ListView code
|
2020-12-31 20:46:27 -07:00 |
dahall
|
4e44329587
|
Added owner-draw structures and enum to User32.
|
2020-12-31 20:14:04 -07:00 |
dahall
|
1ef28a890a
|
POTENTIALLY BREAKING CHANGE: Revamped SendMessage overloads to reduce accidential use of wrong overload. Most uses still work except passing a class in as lParam.
|
2020-12-31 20:13:35 -07:00 |
dahall
|
feba58dafb
|
Added new SendMessage overload for WM_GETTEXT use case (#191).
|
2020-12-31 10:50:54 -07:00 |
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 |