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 » U++ Widgets - General questions or Mixed problems » How to arrange widgets
How to arrange widgets [message #9583] Fri, 18 May 2007 10:08 Go to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
I want to place a imagectrl and a button on a topwindow. This is how i tried to do it:

Add(aboutImg.SetImage(MyImg::about()).LeftPos(1¸ 200).TopPos(1¸ 200));
Add(closeBtn.SetLabel("Close AboutDialog").LeftPos(1, 20).TopPos(250, 20));


I got these error:

G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp: In constructor `AboutDialog::AboutDialog()':
G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp:13: error: stray '\184' in program
G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp:13: error: expected `)' before numeric constant
G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp:13: error: stray '\184' in program
G:\Entwicklung\UPP\prohibisZA\aboutdialog.cpp:13: error: expected `)' before numeric constant


What's the right way to do it?

Michael
 
Read Message
Read Message
Read Message
Previous Topic: Ctrl::Accept
Next Topic: DropList::Find() error?
Goto Forum:
  


Current Time: Sat Jun 07 07:28:48 CEST 2025

Total time taken to generate the page: 0.04766 seconds