Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to position dialog in relation to parent window (How to position dialog in relation to parent window)
Re: How to position dialog in relation to parent window [message #43343 is a reply to message #43317] Thu, 03 July 2014 17:28 Go to previous message
awksed is currently offline  awksed
Messages: 61
Registered: April 2012
Member
FIXED:-

MyDlg dlg(this);

dlg.Open();

Rect pr = GetRect();
Rect r = dlg.GetRect();
Size s = r.GetSize();

r.top = pr.top + 10;
r.SetSize(s);

dlg.SetRect(r);

dlg.Execute();
 
Read Message
Read Message
Previous Topic: CSV file
Next Topic: How do I get parameters for GetTextSize
Goto Forum:
  


Current Time: Tue May 14 10:45:18 CEST 2024

Total time taken to generate the page: 0.02450 seconds