Believe me, I've researched all these messages. I'm already handling the WM_WINDOWPOSCHANGING for the majority of my actual work (and have considered WM_MOVING), but that only gets called once a...
In my scenario, I need the entire desktop to dim at the point the user is thinking about moving the window, so that only the active window being moved is colorized (giving more emphasis to this...
I'm handling the WM_ENTERSIZEMOVE message to perform some processing of my window. But I'll need to know whether its a size or a move for some of my logic. Is there a good way to...
Hello - I've been researching this all day without any luck. I have a multi-top-level interface application with several open frame windows. When the user is taking some action on one frame window,...
I have a form with a number of various controls on it. Given different modes my application is running in, I'd like to provide different layouts for this form. I'd like to re-use...
Another thing - when I run in Windows Classic mode on Windows 7, the rectangles WM_GETTITLEBARINFOEX returns are incorrect for the buttons. I can't seem to find a reliable way to get the rectangles...
In this particular case, I'm in the OnCreate(LPCREATESTRUCT) handler for my frame class, after calling the base class. It's possible that the visual styles haven't yet been applied, but I'm not sure...
I'm trying to make use of the WM_GETTITLEBARINFOEX message on a Windows 7 machine. It seems however that the sizes for the Minimize, Maximize, and Close buttons are incorrect until...
I was hoping you could just pass NULL as the 'hWnd' into InvalidateRgn or something, and the Win32API would invalidate all windows that intersect the given region. It just seems like there should be...
I was able to find a way to do it by enumerating all top-level windows (EnumWindows) and seeing if the region intersected with each window. If so, invalidate and redraw that window (as long as its...
I have a window, and as part of an internal diagnostic, I frame a region around it. I have a CRgn member, and whenever my window receives the WM_PAINT message, I create a CWindowDC given the Desktop...
Yes in fact. I extend the CFileDialog with a custom resource where I put a list box on the right side with some other configuration controls. I have a button that should enable when the user...
Thanks for the response Arjay, but you're not understanding my issue. I'm trying to do a little processing of the items the user selects WHILE the dialog is still up. I have an advanced need to do...
I have a class derived from CFileDialog, and I want to do some processing of user-selected files as the selections change. In my class, I override the OnFileNameOK, OnFileNameChange,...
I know it's by design, and I don't have an issue with that (I'm not suggesting that the window passed in the WM_ACTIVATE message is wrong). In my case however, I need to know what window will become...
I have a dialog that handles the WM_ACTIVATE message to know when it's deactivated for another window. The 'pWndOther' parameter of OnActivate indicates the window being activated,...
I'm feeling pretty dumb right now, but I can't seem to get my docked CDialogBar to stretch the length of a window. I want my dialog bar to be docked to the top (the user can't change this). In the...
I have an icon that contains various image sizes that are optimized for alpha channels and smoothed edges. It seems that the ToolStrip, however, doesn't allow me to use icons for the...
Thanks D_Drmmr. I'm aware of that whole GetParent change that was made, however I tested this solution on both an x64 Windows 7 box and an XP box and it seems to work on both machines. While ugly,...
After some (OK, a lot) more research and piecing together little bits from all over the place, I've come up with a solution that seems to work for me. For the sake of other people looking for a...