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 » [BUG] TheIDE doesn't restore window state correctly on Linux
Re: [BUG] TheIDE doesn't restore window state correctly on Linux [message #32923 is a reply to message #30639] Tue, 21 June 2011 05:09 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Strange. Function void TopWindow::SyncState0() (file TopWinX11.cpp, line 124) need to have opened window.
Because Maximize don't work until window realy not opened.

I use this code to work Maximize function:
void MainWindow::Setup(){
	if(splitter<1000 || splitter>9000) sp.SetPos(7700); else sp.SetPos(splitter);
	Open();
	Ctrl::ProcessEvents();
	LoadLocalSettings(); //Load settings from .cfg-file
	if (maximized) Maximize(); 
}

But in this case, filling of window content exposed to user.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Tue, 21 June 2011 05:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WhenEnter in GridCtrl not fired
Next Topic: Found solution. On arrayctrl, you have addcolumn, but what about deleting a column
Goto Forum:
  


Current Time: Thu Jun 05 02:19:12 CEST 2025

Total time taken to generate the page: 0.19899 seconds