|
-
March 29th, 1999, 09:55 AM
#1
Child Frame window does not follow mouse while dragging.
Hi,
My application is an SDI application that can open one or two additional
SDI windows by selecting a menu item.
I dynamically create a new SDI Frame/View using MFC's template class.
The second SDI view window is a child window of the main SDI.
Everything works fine until I do the following:
- I set the second SDI Frame window's parent to be the main SDI's view window.
I do this because I want the second SDI frame to be confined within the main
window as opposed to having it float all over the screen.
The problem occurrs when I try to move the child frame (second SDI) with the mouse. The child frame immediately appears an inch or so lower than the mouse position. When I finish dragging the window, it snaps back next to the current mouse position. This is just not right. What is causing this and how can I fix it?
Thank You,
D.B.
P.S. Please don't recommend MDI. It is not appropriate for my app.
-
March 29th, 1999, 11:37 AM
#2
I have an MDI example that you may be able to modify
Ok, I won't recommend MDI, but I have an MDI example that may help you. It's very simple and small. Perhaps you could learn something helpful from it and apply it to your current problem. Let me know if you want it, and I will email it to you at [email protected].
-
March 29th, 1999, 01:28 PM
#3
Re: I have an MDI example that you may be able to modify
Thank you,
I welcome any help that you can provide.
Dan
-
March 30th, 1999, 01:15 PM
#4
I still can't figure it out.
I don't even know where to start looking.
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|