|
|
Home » Developing U++ » UppHub » My Simple U++ Application
My Simple U++ Application [message #6013] |
Sat, 28 October 2006 09:21  |
yeohhs
Messages: 75 Registered: November 2005 Location: Malaysia
|
Member |
|
|
This is a U++ program (version 0.0.1 alpha) released for testing and comments.
Features implemented
1. Splash screen
2. About dialog
3. Menu and popup menu
4 Toolbar
5. Status bar
6. Options dialog
7. Help (using Topic++)
8. Editors dialog (only shows DocEdit and LineEdit)
9. use of .rc file to embed program icon and version info.
This program is meant as a simple template program which I will use to explore the various aspects of U++.
I'm still new to U++ so I would appreciate any ideas or suggestions on this simple template. I want to get it right so that later I will write an article that explains how this program works.
Thanks in advance
Yeoh
--
This version is obsolete so I have deleted it. The latest version is in a later posting below.
[Updated on: Tue, 31 October 2006 14:53] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: My Simple U++ Application [message #6056 is a reply to message #6013] |
Sun, 29 October 2006 11:42   |
yeohhs
Messages: 75 Registered: November 2005 Location: Malaysia
|
Member |
|
|
Here is the revised version. 
Changes
1. it now has load buttons to load text into DocEdit and LineEdit controls.
2. splash screen now uses TimeCallback object
3. bug fix: popup menu
Thanks and best regards,
Yeoh
--
File attachment deleted.
This version is obsolete so I have deleted it. Please see posting below for the latest version. Thanks. 
[Updated on: Fri, 10 November 2006 14:44] Report message to a moderator
|
|
|
Re: My Simple U++ Application [message #6397 is a reply to message #6013] |
Fri, 10 November 2006 14:42   |
yeohhs
Messages: 75 Registered: November 2005 Location: Malaysia
|
Member |
|
|
Hi,
This is the latest version of my simple U++ program.
It now covers all of the "most frequently used" controls as shown in the layout editor. This version only shows how to create the control and set, get values from the control. No fancy or complicated C++ code. 
Also, there is a custom USC file for UPX compression and file deletion.
Thanks and best regards,
Yeoh
--
P.S. This program was built using U++ 611-dev1 version and tested on Win2000 with MSC8 Optimal Build.
Obsolete attachment removed. Please see corrected version below.
[Updated on: Sat, 11 November 2006 17:39] Report message to a moderator
|
|
|
|
|
|
Re: My Simple U++ Application [message #6407 is a reply to message #6402] |
Sat, 11 November 2006 10:56   |
yeohhs
Messages: 75 Registered: November 2005 Location: Malaysia
|
Member |
|
|
Hi Graeme,
Thanks for reporting. This is strange as I assumed the main window automatically centers itself on the screen with the correct Z order. You're right about this too. I noticed that sometimes when I run it from theIDE, it is "hidden". There must be a Z order problem somewhere.
I'll have to look into the U++ source to see what is really happening. 
Will post a revised version soon.
Best Regards,
Yeoh
[Updated on: Sat, 11 November 2006 10:59] Report message to a moderator
|
|
|
|
|
|
|
Re: My Simple U++ Application [message #6432 is a reply to message #6418] |
Sun, 12 November 2006 19:47   |
masu
Messages: 378 Registered: February 2006
|
Senior Member |
|
|
Hi Yeoh,
I had tested your application under FreeBSD (it was winXP before) and I got an error, but I don't know what the reason is.
/home/masu/projects/upp/MyUppApp/MyUppApp.iml:4: error: expected unqualified-id before numeric constant
So I commented the affected line and it seems that it is not needed at all.
Matthias
931b81e7ea53320dccc37375b34b38c3
|
|
|
Re: My Simple U++ Application [message #6441 is a reply to message #6432] |
Mon, 13 November 2006 04:24   |
yeohhs
Messages: 75 Registered: November 2005 Location: Malaysia
|
Member |
|
|
masu wrote on Mon, 13 November 2006 02:47 |
So I commented the affected line and it seems that it is not needed at all.
Matthias
|
Hi Matthias,
Thanks for testing it under FreeBSD. 
Yes, you're right. The "Complex" image in MyUppApp.iml is now not used. MSC8 did not detect this! I must look at the compiler options again.
Fixed! Corrected version now uploaded.
Best Regards,
Yeoh
--
P.S. File attachment deleted. Please see latest upload below.
[Updated on: Tue, 19 December 2006 15:27] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 12:39:16 CEST 2025
Total time taken to generate the page: 0.00836 seconds
|
|
|