I need to display two "nested" controls side by side. The main control e.g. CCustWnd constains another CMembWnd control as a member variable. It is not problem to display the main CCustWnd control however I don't know how to display the member control CMembWnd which is created dynamicaly when the main control is created . Probably the member control is clipped by the main control. I played for while with styles without any results. Probably it is not problem to display the member control inside the area of the main control however I need to display the member beside the main control (out of its drawing area) .
The parent window can be either CDialog or another complex control like CGrid control. The main control is usually created dynamically. In the main control CCustWnd::OnCreate method I do the following (simplified):
It depends on what properties you're looking for
GetWindowText will give you the name in the titlebar
GetWindowRect and GetClientRect will get size
GetWindowLong can be used the see what styles the window has...
you can enumerate all the child windows with EnumChildWindows
There are lots of things you can do, so maybe you should check the msdn docs
I want to write a program, which could monitor the IP Address which is trying to ping me. For example my system IP is 220.127.116.11 and other systems Ip is 18.104.22.168. If the other system trys to ping me using command
"ping 22.214.171.124" then i should be able to track the IP(126.96.36.199) which pinged me.
Last Visit: 31-Dec-99 19:00 Last Update: 3-Mar-21 18:14