|
-
September 7th, 2006, 11:53 AM
#1
get messages for dynamically created controls
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.
Last edited by armen kc; September 7th, 2006 at 12:00 PM.
-
September 7th, 2006, 06:51 PM
#2
Re: get messages for dynamically created controls
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.
Windows XP, Visual Studio 2008, SVN
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
|