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

    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...
  2. Replies
    8
    Views
    1,332

    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...
  3. Replies
    8
    Views
    1,332

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

    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,...
  5. 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...
  6. Replies
    3
    Views
    840

    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...
  7. Replies
    3
    Views
    840

    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...
  8. Replies
    3
    Views
    840

    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...
  9. Replies
    6
    Views
    632

    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.
  10. Replies
    6
    Views
    632

    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...
  11. Replies
    6
    Views
    632

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

    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...
  13. Replies
    5
    Views
    866

    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...
  14. Replies
    5
    Views
    866

    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...
  15. Replies
    5
    Views
    866

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

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

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

    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,...
  19. Replies
    3
    Views
    716

    Re: Stretch a docked CDialogBar.

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

    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...
  21. Replies
    1
    Views
    1,189

    Re: ToolStrip container and icons

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

    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...
  23. Replies
    9
    Views
    1,976

    Re: CFileDialog - access to folder view interface

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

    Re: CFileDialog - access to folder view interface

    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...
  25. Replies
    9
    Views
    1,976

    Re: CFileDialog - access to folder view interface

    I have been searching MSDN and other sites all day, but I've come up empty-handed so far. I only post questions on here when I hit dead-ends.
Results 1 to 25 of 253
Page 1 of 11 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center