Home » Community » Newbie corner » 2 questions on ArrayCtrl and tray
2 questions on ArrayCtrl and tray [message #33430] |
Fri, 05 August 2011 07:35 |
|
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?
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, but isn't closed
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
|
|
|
Goto Forum:
Current Time: Mon May 13 09:33:03 CEST 2024
Total time taken to generate the page: 0.01811 seconds
|