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 » How to create a Dialog
How to create a Dialog [message #27113] Fri, 25 June 2010 22:40 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Hi,

I am asking this question for it is not clear in the provided Help how to do it.

What control-class do I have to use? How to transfer values from the Dialog to the TopWindow (main window of my application)?, etc?.

I reckon that answers are trivial but I need some help. Many thanks.

Best wishes,

Javier.
Re: How to create a Dialog [message #27115 is a reply to message #27113] Fri, 25 June 2010 23:52 Go to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
In U++ a dialog is a TopWindow. Instead of TopWindow::Run() call TopWindow::Execute(). If you have a cancel or ok button in dialog you may call TopWindow::ExecuteCancel/OK() which return true if that button is pressed. You transfer values by simply accessing class members or functions or whatever type you use (that's C++ not U++).

Andrei
Previous Topic: Problem with the debugger
Next Topic: what is dword?
Goto Forum:
  


Current Time: Thu Mar 28 19:58:43 CET 2024

Total time taken to generate the page: 0.01249 seconds