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 » 2 questions on ArrayCtrl and tray
icon5.gif  2 questions on ArrayCtrl and tray [message #33430] Fri, 05 August 2011 07:35 Go to previous message
Assargadon is currently offline  Assargadon
Messages: 11
Registered: August 2011
Location: Russia, Vladimir
Promising Member

Hello.
I have started study u++. And faced with 2 problems.
1. When I sorted column in ArrayCtrl pressing heading - numbers are sorted by increase/decrease. But when I sorted russian letters - its sorted not by an order.Have solved a problem or not?
index.php?t=getfile&id=3405&private=0

2. For closing of my program I cause function
void PB::Exit() //при выходе
{	
	if(PromptOKCancel("Выйти?"))
	{
		SaveXML();	
		Close();
	}
}

But when I cause this function from tray:
void PB::trayMenu(Bar& bar) //right click
{
	bar.Add(t_("Показать"), THISBACK(Maximize));
	bar.Add(t_("Скрыть"), THISBACK(Minimize));
	bar.Add(t_("О программе..."), THISBACK(About));
	bar.Add(t_("Выход"), THISBACK(Exit));
}

The program keeps the data
SaveXML();
, but isn't closed
Close();

When I close the form the program is closed correctly.
I don't understand in what a difference
P.S. Sorry for my English.
  • Attachment: sorted.jpg
    (Size: 3.27KB, Downloaded 655 times)

[Updated on: Fri, 05 August 2011 07:45]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Data Transfer
Next Topic: How do i create tabs without using .lay??
Goto Forum:
  


Current Time: Mon May 13 09:33:03 CEST 2024

Total time taken to generate the page: 0.01811 seconds