Home » U++ Library support » FileSel&FileList, Path » Common Dialog (copletely Desorientated)
Common Dialog [message #43913] |
Mon, 17 November 2014 13:02 |
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 |
Oblivion
Messages: 1091 Registered: August 2007
|
Senior Contributor |
|
|
Hello elch, and welcome to U++ Forums.
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.
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 17 November 2014 19:51] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 12:22:58 CET 2024
Total time taken to generate the page: 0.01751 seconds
|