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 » FileSel&FileList, Path » Common Dialog (copletely Desorientated)
Common Dialog [message #43913] Mon, 17 November 2014 13:02 Go to next message
elch is currently offline  elch
Messages: 5
Registered: November 2014
Promising Member
Hello,
I am what is called a newbei in U++.
Before i used Vc++ - Microsoft.
Most time I am spending in seeking documentation for u++...
So here my idiot-question:
How do I acces the common dialogs like Fileopen etc.

Thanks for Your answers
Re: Common Dialog [message #43914 is a reply to message #43913] Mon, 17 November 2014 17:27 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 381
Registered: August 2007
Location: Turkey
Senior Member
Hello elch, and welcome to U++ Forums. Smile

If you are using TheIDE, you can access all the available documentation using Help & Topic icons (rightmost red icon on the toolbar, with the question sign on it). Here is the web page version: http://www.ultimatepp.org/www$uppweb$documentation$en-us.htm l

Since you are new to U++, I suggest you examining the provided documentation and reference examples before using U++. Most of them have the answers to your questions.

Anyhow, if you need a file selector dialog, for example, What you need is a FileSel Ctrl (http://www.ultimatepp.org/src$CtrlLib$FileSel$en-us.html) and/or FileSel utilities ( http://www.ultimatepp.org/src$CtrlLib$FileSelUtil$en-us.html).

For example, below code snippet simply opens a file dialog for opening AND loading a jpeg file (for files with .jpg extension):


 String jpeg_image = SelectLoadFile("*.jpg");
 if(jpeg_image.IsVoid())
        Exclamation("Couldn't open file");

 // Do something with the loaded jpeg image.



By the way, a "ctrl" is basically a widget (e.g. button, scrollbar, checkbox, window) in U++ terminology.
Here is a list of them. Follow the links to access the api docs: http://www.ultimatepp.org/src$CtrlLib$index$en-us.html

Regards,
Oblivion.

[Updated on: Mon, 17 November 2014 19:51]

Report message to a moderator

Re: Common Dialog [message #43915 is a reply to message #43913] Mon, 17 November 2014 21:55 Go to previous message
elch is currently offline  elch
Messages: 5
Registered: November 2014
Promising Member
Thanks a lot for the answer. I'll keep on studiing.
Previous Topic: FEATURE REQUEST: File listing utility
Next Topic: FileSelector lambda troubles
Goto Forum:
  


Current Time: Sat Nov 18 20:12:37 CET 2017

Total time taken to generate the page: 0.01832 seconds