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 » edit field in sub menu
Re: edit field in sub menu [message #37501 is a reply to message #37500] Thu, 11 October 2012 20:00 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

nlneilson wrote on Thu, 11 October 2012 18:24

Widget placement, size, etc. yes.

Something like this should work:
	EditString edit;
	void Menu(Bar& bar) {
		bar.Add(edit.SizePos(),50);
		bar.Add("Exit", THISBACK(Exit));
	}


Best regards,
Honza

EDIT: Added full source in attachment.
  • Attachment: main.cpp
    (Size: 0.52KB, Downloaded 225 times)

[Updated on: Thu, 11 October 2012 20:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [HttpRequest] undefined identifier
Next Topic: Dont underline letters in buttons
Goto Forum:
  


Current Time: Fri Jul 18 03:38:58 CEST 2025

Total time taken to generate the page: 0.03103 seconds