well i was PointToScreen() but when the control is inside a group box this method dont work and gives me wrong coordinates.
so is there is anyother method to get the position of a control inside a group box control?
i need that screen position so i can display a dialog near that control.
thanks
well i was PointToScreen() but when the control is inside a group box this
Share
Probably you are using PointToScreen on the wrong control…
If you have a groupbox with a button then the following code works just fine: