|
-
May 18th, 1999, 05:00 AM
#1
No parent notification of dynamically created controls
Hi,
I have a CWnd dreived class A, created from a dialog template with CWnd::CreateDlg(). That's fine.
I have also dynamically created some common controls (vertical CScrollBar, CHeader) with <controlClass>::create, als childs of the window A.
Problem: These controls do NOT send messages to their parents. A::OnVScroll() ist never called! No header mnessage passes A::PreTranslateMessage or A: efWindowProc()! WHY?
Isn't it ehough to create a control as its parent child, to notify him for everything?
Looks like a basic misunderstanding of mine!
Thanks for any hint! Thank You!
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
|