Archive for May, 2010

How to delete default minimize and maximize button of window using c#.

Add namespaces : using System.Windows.Interop; using System.Runtime.InteropServices;
public Window1()
{
InitializeComponent();
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
RemoveControlBoxes();
}
[DllImport("User32.dll", EntryPoint = "GetWindowLong")]
private extern static Int32 GetWindowLongPtr(IntPtr hWnd, Int32 nIndex);
[DllImport("User32.dll", EntryPoint = "SetWindowLong")]
private extern static Int32 SetWindowLongPtr(IntPtr hWnd, Int32 nIndex, Int32 dwNewLong);
private const Int32 GWL_STYLE = -16;
private void RemoveControlBoxes()
{
IntPtr hWnd = new WindowInteropHelper(this).Handle;
long WindowLong = GetWindowLongPtr(hWnd, GWL_STYLE);
WindowLong = WindowLong & -131073 [...]

Read the rest of this entry »

Communication management is the new mantra for any business success.

There is something called a communication and document management software that can help evade problem that every manager faces in work life. Tasktrek is one such recommended software that helps simplify work, encourages seamless communication, formulates standards or templates for team members to follow, minimizes communication channels to cut the clutter and keeps you updated anytime and anywhere. Other basics such as delegation of task, monitoring and reporting are other important in-built tools of this software.

Read the rest of this entry »