|
-
Sep 16th, 2000, 01:50 AM
#1
I want to subclass an MDI window and have the ability to get the handle of the newly created window before it appears. So far I can subclass the window and detect every time a window is about to be created, but I don't know how to get that window's handle.
To find out when an MDI form is being created, I subclass the WM_MDICREATE message, although just plain old WM_CREATE seems to work just fine as well.
Any suggestions on how I can get the newly created MDI window handle??
Thanks,
Jordan
-
Sep 17th, 2000, 03:17 PM
#2
I tried what you suggested - the wp returns zero, and the lp returns some number, but it's not the newly created
MDI child window's handle. Any ideas? (I want to be able to get the handle before it actually appears)
Thanks,
Jordan
-
Sep 17th, 2000, 06:45 PM
#3
Are you using CreateWindowEx to create them? Or are you loading them through VB?
-
Sep 17th, 2000, 10:28 PM
#4
I'm actually using a 3rd party global subclassing tool (Spyworks). I'm subclassing the AOL MDI using WM_MDICREATE
and that notifies me just fine when the window is about to be created. What I really need though is the handle of the
window thats being created so I can hack the window however I see fit before its displayed. 
Thanks Megatron
-
Sep 18th, 2000, 03:01 PM
#5
wow topics get buried quick around here
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
|