• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 122
  • Last Modified:

Moving a CFormView by clicking anywhere on it

I have a child form view in my MDI application. This window has no caption. Is it possible to move this window by clicking on it.
If YES, who must I proceed ?

I have try this :

UINT CMyFormView::OnNcHitTest(CPoint point)
 {
  return HTCAPTION;
 }

and it doesn't work fine. The view is moved but not the related frame.

Any idea ?
0
mike_marquet
Asked:
mike_marquet
  • 2
1 Solution
 
ZoppoCommented:
see my comment in your request about dialogs ...
0
 
ZoppoCommented:
<cheeky>

ZOPPO
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now