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 #27171 is a reply to message #27158] Tue, 29 June 2010 17:04 Go to previous messageGo to previous message
281264 is currently offline  281264
Messages: 272
Registered: June 2010
Location: Spain
Experienced Member
Sergey,

Thanks a lot. I tried your proposal out and I have some question:

1.- Apparently, when the “Cancel” button is pressed in the dialog (in other words, when the user chooses not to do anything), the multiplication in the TopWindow is performed (which is something that shouldn’t ). How to avoid this? This question is related with the role of CtrlLayoutOKCancel: what is actually doing this function? How to control whether the user has pressed ok or cancel and, therefore, actuate accordingly in the TopWindow?

2.- So the conclusion is that it is better (from the stand point of C++ modularity) to have different “.lay” files, one for the “main window” and others for the respective dialogs.

3.- What is this?:
Result<<=(double)~dialogo.entrada_a*(double)~dialogo.entrada_b;


What is the role of ~ in the expression?

Thanks,

Javier
 
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 Jul 07 07:22:15 CEST 2025

Total time taken to generate the page: 0.03665 seconds