Search:
Type: Posts; User: sjc
Search:
Search took 0.03 seconds.
-
Update: I actually came up with a kludge that seems to work for my purposes. In this example, my host window is a dialog. I made use of CPushRoutingFrame (in afxpriv.h):
void...
-
Thank you for your response. I've already handled the part about moving/sizing the host window by writing a plugin object that installs itself on the host window and intercepts its messages, so the...
-
Hello -
I implemented a ghost window to dim a host window while it was busy performing some action. It's essentially a WS_EX_LAYERED window with a white background whose opacity is set to 50%. ...
-
November 20th, 2012, 10:30 AM
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...
-
November 19th, 2012, 02:39 AM
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...
-
November 17th, 2012, 11:16 PM
Hello all -
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...
-
November 9th, 2012, 11:42 AM
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,...
-
September 14th, 2012, 01:54 PM
Hello all -
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...
-
April 3rd, 2012, 09:01 AM
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...
-
April 2nd, 2012, 05:03 PM
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...
-
April 2nd, 2012, 04:27 PM
Hi everyone -
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...
-
June 21st, 2011, 12:36 PM
I do lots of things that aren't recommended, so what's one more? =) Thanks for your assistance, ProgramArtist.
-
June 21st, 2011, 08:44 AM
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...
-
June 20th, 2011, 10:01 PM
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...
-
June 20th, 2011, 08:38 PM
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...
-
April 15th, 2011, 08:12 AM
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...
-
April 14th, 2011, 04:55 PM
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...
-
April 14th, 2011, 04:12 PM
Hello all -
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,...
-
April 1st, 2011, 01:41 PM
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...
-
April 1st, 2011, 12:45 PM
Yes I did. Unfortunately that points to the window being activated, not necessarily the window getting the input focus.
For example, I have a CFormView-derived class in my frame. Clicking on a...
-
March 29th, 2011, 11:51 AM
Hello all -
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,...
-
March 15th, 2011, 06:03 PM
That's what I'm doing now, but that seems like a hack to me.
-
March 15th, 2011, 04:07 PM
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...
-
February 17th, 2011, 03:18 PM
I've answered my own question. I found a way to do it using ImageList objects.
-
February 17th, 2011, 01:50 PM
Hello -
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...
|
Click Here to Expand Forum to Full Width
|