Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sjc

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Ghost window

    by sjc
    Replies
    3
    Views
    338

    Re: Ghost window

    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...
  2. Thread: Ghost window

    by sjc
    Replies
    3
    Views
    338

    Re: Ghost window

    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...
  3. Thread: Ghost window

    by sjc
    Replies
    3
    Views
    338

    Ghost window

    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%. ...
  4. Replies
    8
    Views
    1,973

    Re: WM_ENTERSIZEMOVE - size or move?

    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...
  5. Replies
    8
    Views
    1,973

    Re: WM_ENTERSIZEMOVE - size or move?

    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...
  6. Replies
    8
    Views
    1,973

    WM_ENTERSIZEMOVE - size or move?

    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...
  7. Replies
    0
    Views
    825

    Dim or blend frame window when inactive.

    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,...
  8. Defining different layouts for a Windows form.

    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...
  9. Replies
    3
    Views
    1,003

    Re: WM_GETTITLEBARINFOEX has wrong button rects

    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...
  10. Replies
    3
    Views
    1,003

    Re: WM_GETTITLEBARINFOEX has wrong button rects

    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...
  11. Replies
    3
    Views
    1,003

    WM_GETTITLEBARINFOEX has wrong button rects

    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...
  12. Replies
    6
    Views
    708

    Re: Refreshing region outside client area.

    I do lots of things that aren't recommended, so what's one more? =) Thanks for your assistance, ProgramArtist.
  13. Replies
    6
    Views
    708

    Re: Refreshing region outside client area.

    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...
  14. Replies
    6
    Views
    708

    Re: Refreshing region outside client area.

    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...
  15. Replies
    6
    Views
    708

    Refreshing region outside client area.

    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...
  16. Replies
    5
    Views
    998

    Re: CFileDialog: Getting true selected files.

    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...
  17. Replies
    5
    Views
    998

    Re: CFileDialog: Getting true selected files.

    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...
  18. Replies
    5
    Views
    998

    CFileDialog: Getting true selected files.

    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,...
  19. Replies
    5
    Views
    889

    Re: Getting focused window in OnActivate?

    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...
  20. Replies
    5
    Views
    889

    Re: Getting focused window in OnActivate?

    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...
  21. Replies
    5
    Views
    889

    Getting focused window in OnActivate?

    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,...
  22. Replies
    3
    Views
    823

    Re: Stretch a docked CDialogBar.

    That's what I'm doing now, but that seems like a hack to me.
  23. Replies
    3
    Views
    823

    Stretch a docked CDialogBar.

    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...
  24. Replies
    1
    Views
    1,261

    Re: ToolStrip container and icons

    I've answered my own question. I found a way to do it using ImageList objects.
  25. Replies
    1
    Views
    1,261

    ToolStrip container and icons

    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...
Results 1 to 25 of 256
Page 1 of 11 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center