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 » Problems when using layouts
Re: Problems when using layouts [message #27158 is a reply to message #27157] Tue, 29 June 2010 01:46 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

In attachment - working code.
If you have tool for compare source file - compare line by line

Some comments:

In C++ isolation - by modules, because combine header files and combine layout files OR split header files and split layout files.
(I split dialogo and main window into different files)

Use Button variable name ok - and change from CtrlLayout to CtrlLayoutOK - logic of work added automaticaly.
(I change variable name from Cerrar to ok - and method Close is gone...)

Don't forget add
#define LAYOUTFILE <prueba/dialogo.lay>
#include <CtrlCore/lay.h>
for every dialog
and for every class.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Message from the system.
Next Topic: is windows SDK needed after Visual Studio 2010
Goto Forum:
  


Current Time: Mon Apr 28 08:46:00 CEST 2025

Total time taken to generate the page: 0.00728 seconds