nonclient

How to draw in the nonclient area?

I'd like to be able to do some drawing to the right of the menu bar, in the nonclient area of a window. Is this possible, using C++ / MFC? ...

Windows: Mouse Down on Window Decoration

In almost any Windows application, I notice that holding the mouse button down in a non-client area causes the painting to stop. Why is this required? For example, I have a Managed Direct 3D application which displays a spinning cube. If I place the pointer over the title bar and hold the mouse button down, the cube ceases to spin even ...

Handling WM_NCPAINT "breaks" DWM glass rendering on Vista/Aero.

I am trying to make a window that alternates between having an Aero/Glass and a custom rendered frame (by handling WM_NCPAINT) based on a user setting. (Windows Vista). DwmComposition is enabled. My app comes up with the glass frame, but as soon as I toggle the setting to trigger the custom WM_NCPAINT codepath then toggle back to use De...

Delphi: Draw a text in a caption form for vista with aero like windows 7

How does one draw text (with onClick event) in a caption bar on vista with aero Like Windows 7 ? The example at delphi.about.com doesn't work on Vista with aero. Do you have any ideas? Thanks to all. Sorry for my bad english. ...

DWM Composition toggle causes client area to lose alpha

I have a simple Windows application here: http://www.bengoodger.com/software/chrome/dwm/app.cc My app provides a customized glass frame for when DWM compositing is active, and a fully custom frame when it is inactive or not available. The "customized glass frame" consists of a enlarged title bar area, which is reported by my implement...

Access to non-current-user sessions data in PHP

Is it possible to access data in other users sessions than the sessions which is active with the currently connecting client ($_SESSION)? If so, how? ...

Transparent non-client area

Hi. I am creating a TextBox control subclass using Windows Forms. I am using the WM_NCCALCSIZE to change the client area (to enlarge the non-client area) but I have not found any solution on how to make the non-client area transparent. Is there any simple way to paint to non-client area in WM_NCPAINT in transparent way to duplicate the ...