how draw a window titlebar look like always active?
-
Derive a class from System.Windows.Forms.Form, and override the WndProc method. As a side note, it's not a good idea to do custom drawing on the title bar. The title bar is maintained by the OS; in new versions of Windows, your app may not port well. In fact, Vista migration guidlines specifically mention that drawing on the title bar will be corrupted in Vista since the window manager composites how the title bar is blended with the background (as windows are translucent in Vista).
-
Derive a class from System.Windows.Forms.Form, and override the WndProc method. As a side note, it's not a good idea to do custom drawing on the title bar. The title bar is maintained by the OS; in new versions of Windows, your app may not port well. In fact, Vista migration guidlines specifically mention that drawing on the title bar will be corrupted in Vista since the window manager composites how the title bar is blended with the background (as windows are translucent in Vista).
-
In regards to the WndProc or the titlebar drawing?