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 » Problem, prompt when moving the window.
Problem, prompt when moving the window. [message #15107] Tue, 01 April 2008 12:21 Go to previous message
huanghuan is currently offline  huanghuan
Messages: 10
Registered: December 2007
Promising Member
If a prompt will come out, when the user is keep draging move the window. the application will no response.
#include <CtrlLib/CtrlLib.h>

using namespace Upp;
struct MyApp : TopWindow {
     void MyCall()
     {
          PromptOK("no response now!!!");
     }
     virtual void LeftDown(Point pos, dword flags) {
          SetTimeCallback(3000, THISBACK(MyCall), 0);
    }
    typedef MyApp CLASSNAME; 
};

GUI_APP_MAIN {
	MyApp w;
	w.Zoomable().Sizeable();
	w.Run();
}


TestCase operation step:
1. click the window for 3 seconds prompt.
2. keep draging the window title bar utill the 3 seconds past.
3. when 3 seconds time out, the prompt and dragging move window maybe interactional.

[Updated on: Tue, 01 April 2008 12:57]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Windows TrayIcon improvement
Next Topic: Cannot get modal owned window
Goto Forum:
  


Current Time: Sun Apr 28 21:05:36 CEST 2024

Total time taken to generate the page: 0.03084 seconds