S
S Shulman
I added the following declaration withing a namespace but not within a class
[DllImport("user32.dll", EntryPoint="SendMessage", CharSet=CharSet.Auto )]
public static extern int SendCharFmtMsg( IntPtr hWnd, int Msg, int wParam,
ref CHARFORMAT2 cf2 );
And UI get the following compiler error
C:\Componenets\ABC\ABCColor\Class1.cs(11): Expected class, delegate, enum,
interface, or struct
Thank you,
Shmuel Shulman
[DllImport("user32.dll", EntryPoint="SendMessage", CharSet=CharSet.Auto )]
public static extern int SendCharFmtMsg( IntPtr hWnd, int Msg, int wParam,
ref CHARFORMAT2 cf2 );
And UI get the following compiler error
C:\Componenets\ABC\ABCColor\Class1.cs(11): Expected class, delegate, enum,
interface, or struct
Thank you,
Shmuel Shulman