Mittwoch, 18. September 2013

Dunno why I still work on this, but at least the most neccessary base for DLC editing codewise is done, added DLC TOCbin Updater today.




Also I found a cool way to make a RichTextBox transparent, so I can use the Form background with tiled images:

public class TransparentRichTextBox : RichTextBox
{
  [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
  static extern IntPtr LoadLibrary(string lpFileName);
  protected override CreateParams CreateParams
  {
   get
    {
CreateParams prams = base.CreateParams;
if (LoadLibrary("msftedit.dll") != IntPtr.Zero)
{
 prams.ExStyle |= 0x020; // transparent 
 prams.ClassName = "RICHEDIT50W";
}
return prams;
    }
  }
}

greetz WV

Keine Kommentare:

Kommentar veröffentlichen