PDA

Click to See Complete Forum and Search --> : WM_MDICREATE with MDICREATESTRUCT


JSlavin0828
Jun 22nd, 2000, 12:34 AM
i am subclassing a window for the WM_MDICREATE api message. when i get the message the lParam holds a pointer to a MDICREATESTRUCT structure which has the information on the window being created.
how do i get this information? i'm guessing if i create my own MDICREATESTRUCT and somehow set it equal to the one behind the pointer i could just read the info.
but how do i do this?
thank you
JSlavin0828@aol.com

kedaman
Jun 22nd, 2000, 06:15 AM
Declare this

Type MDICREATESTRUCT
szClass As String
szTitle As String
hOwner As Long
x As Long
y As Long
cx As Long
cy As Long
style As Long
lParam As Long
End Type