Mayo

Show:

What's happening?

  • Followup: RE: CFrame RecalcLayout() and SIZE_MAXIMIZED

    Hi David, thank you for those suggestion. I've added GetWindowPlacement to my CDlgScrollable::OnSize method and it now works as intended inline void CDlgScrollable::OnSize(HWND hwnd, UINT state, int cx, int cy) { WINDOWPLACEMENT wndpl; FromHandle(GetParent())->GetWindowPlacement(wndpl); state = wndpl.flags; ... // Scroll client only if scroll bar is visible and...

    2009-06-30 08:23:00 UTC in Win32++

  • CFrame RecalcLayout() and SIZE_MAXIMIZED

    Hi, I've new class CDlgScrollable derived from CDialog class, which basically just adds scrollbars to View CWnd object (window) when needed. The code is pretty much from http://www.codeproject.com/KB/dialog/scroll_dialog.aspx There new methods: OnHScroll, OnVScroll ... and overriden DialogProcDefault inline BOOL CDlgScrollable::DialogProcDefault(HWND hWnd, UINT uMsg, WPARAM wParam...

    2009-06-29 14:06:34 UTC in Win32++

About Me


Send me a message