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 » U++ Library support » U++ Widgets - General questions or Mixed problems » How to center the top most window?
Re: How to center the top most window? [message #30003 is a reply to message #30001] Thu, 02 December 2010 15:21 Go to previous messageGo to previous message
unknown user
The window get centred if x, y parameters of SetRect are 0.

// Example: 
win.SetRect(0, 0, 640, 480); // or in constructor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NEW: LogPosCtrl, for editing LogPos of a Ctrl
Next Topic: Push button by keystroke (without ALT)
Goto Forum:
  


Current Time: Tue May 14 18:13:12 CEST 2024

Total time taken to generate the page: 0.02516 seconds