diff --git a/PInvoke/ComCtl32/CommCtrl.PropSheet.cs b/PInvoke/ComCtl32/CommCtrl.PropSheet.cs
index 7e6f1c6b..7e1c1dfe 100644
--- a/PInvoke/ComCtl32/CommCtrl.PropSheet.cs
+++ b/PInvoke/ComCtl32/CommCtrl.PropSheet.cs
@@ -521,7 +521,6 @@ namespace Vanara.PInvoke
[return: MarshalAs(UnmanagedType.SysInt)]
public static extern IntPtr PropertySheet(ref PROPSHEETHEADER lppsph);
- // TODO: Convert resource id fields to managed properties.
/// Defines the frame and pages of a property sheet.
[PInvokeData("Commctrl.h", MSDNShortId = "bb774546")]
[StructLayout(LayoutKind.Sequential)]
@@ -555,7 +554,7 @@ namespace Vanara.PInvoke
/// dwFlags member does not include PSH_USEICONID, this member is ignored. This member is declared as a union with hIcon.
///
///
- public HICON pIcon;
+ public ResourceIdOrHandle pIcon;
///
/// Title of the property sheet dialog box. This member can specify either the identifier of a string resource or the address of
@@ -563,7 +562,7 @@ namespace Vanara.PInvoke
/// the beginning of the title. This field is ignored for Wizard97 wizards. For Aero wizards, the string alone is used for the
/// caption, regardless of whether the PSH_PROPTITLE flag is set.
///
- public IntPtr pszCaption;
+ public ResourceId pszCaption;
/// Number of elements in the phpage array.
public uint nPages;
@@ -577,7 +576,7 @@ namespace Vanara.PInvoke
/// identifier of a string resource or the address of a string that specifies the name. This member is declared as a union with nStartPage.
///
///
- public IntPtr pStartPage;
+ public ResourceId pStartPage;
///
/// Pointer to an array of PROPSHEETPAGE structures that define the pages in the property sheet. If the dwFlags member does not
@@ -610,7 +609,7 @@ namespace Vanara.PInvoke
/// PSH_USEHBMWATERMARK, this member is ignored.
///
///
- public HBITMAP hbmWatermark;
+ public ResourceIdOrHandle hbmWatermark;
///
/// Version 5.80 or later. HPALETTE structure used for drawing the watermark bitmap and/or header bitmap. If the dwFlags member
@@ -627,7 +626,7 @@ namespace Vanara.PInvoke
/// PSH_USEHBMHEADER, this member is ignored.
///
///
- public HBITMAP hbmHeader;
+ public ResourceIdOrHandle hbmHeader;
}
/// Defines a page in a property sheet.