Jul 26

private static int WM_NCPAINT = 0×0085;
private static int WM_ERASEBKGND = 0×0014;
private static int WM_PAINT = 0×000F;

[DllImport(“user32.dll”)]
static extern IntPtr GetDCEx(IntPtr hwnd, IntPtr hrgnclip, uint fdwOptions);
DllImport(“user32.dll”)]
static extern int ReleaseDC(IntPtr hwnd, IntPtr hDC);

protected override void WndProc(ref Message m)

{

    base.WndProc(ref m);

    if (m.Msg == WM_NCPAINT || m.Msg == WM_ERASEBKGND || m.Msg == WM_PAINT)

    {

        IntPtr hdc = GetDCEx(m.HWnd, (IntPtr)1, 1 | 0×0020);

        if (hdc != IntPtr.Zero)

        {

            Graphics graphics = Graphics.FromHdc(hdc);

            Color borderColor = Color.Blue;

            Rectangle rectangle = new Rectangle(0, 0, this.Width, this.Height);

            ControlPaint.DrawBorder(graphics, rectangle, borderColor, ButtonBorderStyle.Solid);

            m.Result = (IntPtr)1;

            ReleaseDC(m.HWnd, hdc);

        }

    }

}

written by M. Badr CHOUFFAI - بدر الشفاعي

Jul 20

There are currently millions of developers worldwide that are using Microsoft.NET technologies. If you are one of them or want to become one, then each of the websites I am about to list should be in your list of favorites, your list of bookmarks, or just written down on a piece of paper (yeah right, as if a .NET developer would use a pen and paper). Continue reading »

written by M. Badr CHOUFFAI - بدر الشفاعي

Jul 20

Free utility Open++ adds a new submenu to your right-click context menu with advanced options for adding virtually any function you could want.

Rather than add a bunch of its own custom commands (though it does have a few handy defaults, like Copy Path), Open++ provides a versatile utility for adding your own functions. Continue reading »

written by M. Badr CHOUFFAI - بدر الشفاعي

Jul 20

The powerhouse for the last mention. FileMenu Tools goes further than the previous two mentioned. It takes the context menu out of the box and literally makes it a file manager. It allows you to either clean up the clutter or throw in a few more options for handling files and folders. Over and above, add your own choice of programs, folders and paths. Also, add your own icons and names through the properties dialog Continue reading »

written by M. Badr CHOUFFAI - بدر الشفاعي

Jul 20

There are a lot of different reasons why one would want to use any number of password hack tools to hack a Windows password. Of course, there are the good-hearted reasons, like helping your grandpa because he forgot his password and is locked out of his own computer. Then, there are the more dubious reasons, like spying on your accountant. Continue reading »

written by M. Badr CHOUFFAI - بدر الشفاعي