U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Problems when using layouts
Re: Problems when using layouts [message #27156 is a reply to message #27154] Mon, 28 June 2010 23:33 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1796
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Javier,

The problem is that the code in dialogoDlg.h doesn't know about the layout template, because that was included in prueba.h. The solution requires moving the code between the files a bit. I would say the simplest solution (but not only one) is to move the content of dialogoDLG.h into prueba.h and use only this one file.

Additionally, in class prueba you have :
dialogoDlg dialogo();
That is interpreted by compiler as function declaration, correctly it shoud be without the parenthesis:
dialogoDlg dialogo;


Honza
 
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: Wed Sep 16 22:58:34 GMT+2 2026

Total time taken to generate the page: 0.00735 seconds