Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "PickIconDlg" in [All]

shell32

.

private static extern int PickIconDlg(IntPtr hwndOwner, System.Text.StringBuilder lpstrFile, int nMaxFile, ref int lpdwIconIndex);

.

Declare Unicode Function PickIconDlg Lib "Shell32" Alias "PickIconDlg" (ByVal hwndOwner As IntPtr, ByVal lpstrFile As String, ByVal nMaxFile As Integer, ByRef lpdwIconIndex As Integer) As Integer

.

retval = PickIconDlg(this.Handle, sb, sb.Length + 1, ref iconindex);

.

retval = PickIconDlg(this.Handle, sb, sb.Capacity, ref iconindex);

.

Dim retval As Integer ' Will contain the result of the PickIconDlg. 1 = OK, 0 = Canceled

.

retval = PickIconDlg(Me.Handle, iconfile, iconfile.Length, iconindex)


 
Access PInvoke.net directly from VS: