Get a child window?
-
How can i understand the child window which i got is of child dialog? i did this to get the child. CWnd* pWnd = GetWindow( GW_CHILD ); i want to know if pWnd is of child dialog? ajeesh c v
-
How can i understand the child window which i got is of child dialog? i did this to get the child. CWnd* pWnd = GetWindow( GW_CHILD ); i want to know if pWnd is of child dialog? ajeesh c v
-
How can i understand the child window which i got is of child dialog? i did this to get the child. CWnd* pWnd = GetWindow( GW_CHILD ); i want to know if pWnd is of child dialog? ajeesh c v
Ajeesh c v wrote:
i want to know if pWnd is of child dialog?
Do you wish to check
pWnd
is a Child dialog orpWnd
is a child of a dialog. UseGetParent
to find out the parent and then useGetClassName
to find out the class. You can also referGetParentOwner
.
Nibu thomas Software Developer Faqs by Michael dunn
-
Ajeesh c v wrote:
i want to know if pWnd is of child dialog?
Do you wish to check
pWnd
is a Child dialog orpWnd
is a child of a dialog. UseGetParent
to find out the parent and then useGetClassName
to find out the class. You can also referGetParentOwner
.
Nibu thomas Software Developer Faqs by Michael dunn
-
-
i got the child window using CWnd* pWnd = GetWindow( GW_CHILD ); but the pWnd i got is of the edit control of the parent dialog. i need to get only the pWnd of child dialog and not of child controls. ajeesh
-
How can i understand the child window which i got is of child dialog? i did this to get the child. CWnd* pWnd = GetWindow( GW_CHILD ); i want to know if pWnd is of child dialog? ajeesh c v
Ajeesh c v wrote:
CWnd* pWnd = GetWindow( GW_CHILD );i want to know if pWnd is of child dialog?
what about GetParent(..) api!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV