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 » TopWindow&PopUp, TrayIcon » Dialog windows showing semi randomly on the task bar on Linux
Re: Dialog windows showing semi randomly on the task bar on Linux [message #50339 is a reply to message #50335] Thu, 27 September 2018 14:41 Go to previous messageGo to previous message
Alboni is currently offline  Alboni
Messages: 214
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
so this shows only the program on the task bar.
void MyApp::MyFunction()
{
  SomeDialog dlg;
  dlg.Execute();
}



and this shows the program and the dialog separately on the task bar Confused
void MyApp::MyFunction()
{
  PromptOK("a message");
  SomeDialog dlg;
  dlg.Execute();
}


That has to be a bug.

But.. if I do this, it doesn't happen.
TimeCallback timer;
void MyApp::MyFunction1()
{
  PromptOK("a message");
  timer.Set(1, THISBACK(MyFunction2));
}
void MyApp::MyFunction2()
{
  SomeDialog dlg;
  dlg.Execute();
}

(and none of it happens on Windows)

[Updated on: Thu, 27 September 2018 16:13]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How often is Update called? Is there a similiar frequently called method?
Next Topic: Linux dual monitor: Not showing a TopWindow on the task bar
Goto Forum:
  


Current Time: Sun May 05 09:00:51 CEST 2024

Total time taken to generate the page: 0.01591 seconds