armen kc
September 7th, 2006, 11:53 AM
Hi Thanks for your attention.
i have two questions.
1-do you know how i can get messages for dynamically created controls.
2-and how i can move them.
Calculator
September 7th, 2006, 06:51 PM
1) What kind of messages? If you know exactly what it's doing, you can create the window dynamically with some window identifier (HMENU parameter) and handle the message you get with that identifier conditionally. If it needs to be some sort of generic handling of where they wouldn't have any really specialized functionality in of themselves, you could designate a range of resource identifiers that the functionality of those windows
2) Keep a handle to them, or GetDlgItem(ID) and MoveWindow or send window moving messages or SetWindowPos.