From: Peter E. <Pet...@at...> - 2001-07-16 20:01:07
|
How can I temporarily halt the main Dialog() from accepting other events? I have an event that opens a dialog box (an alert) that I bring focus to, disable the other windows, etc. I want to wait for user input (click a button) before moving on. However, the script picks up other things going on and it closes my DialogBox as fast as it opens it. |
From: Johan L. <jo...@ba...> - 2001-07-16 21:14:25
|
Peter wrote: >How can I temporarily halt the main Dialog() from accepting other events? I >have an event that opens a dialog box (an alert) that I bring focus to, >disable the other windows, etc. I want to wait for user input (click a >button) before moving on. A modal dialog box in other words. Unfortunately there is no support for a "true" modal dialog box in Win32::GUI AFAIK, so your way is pretty much the way to go. >However, the script picks up other things going on Even though the other windows are disabled? What kind of things? >and it closes my DialogBox as fast as it opens it. Can you find out why that happens? Is there another event being triggered by something? If you can't get it to work, try the Win32::GUI::Modalizer module at: http://www.bahnhof.se/~johanl/perl/Win32GUI/ It does what you want, although in a sligthly different way. I've had reports of it not working 100% properly under Win95, so if anyone using that platform would care to try it out I would be grateful. /J ------ ---- --- -- -- -- - - - - - Johan Lindström Boss Casinos Sourcerer jo...@ba... http://www.bahnhof.se/~johanl/ If the only tool you have is a hammer, everything tends to look like a nail |
From: <pko...@me...> - 2001-07-17 08:23:21
|
> If you can't get it to work, try the Win32::GUI::Modalizer module at: > > http://www.bahnhof.se/~johanl/perl/Win32GUI/ > > It does what you want, although in a sligthly different way. I've had > reports of it not working 100% properly under Win95, so if anyone using > that platform would care to try it out I would be grateful. I tested it under Win98 and sorry it didn't work there, too. Peter |
From: Johan L. <jo...@ba...> - 2001-07-17 08:30:18
|
Peter wrote: > > It does what you want, although in a sligthly different way. I've had > > reports of it not working 100% properly under Win95, so if anyone using > > that platform would care to try it out I would be grateful. > >I tested it under Win98 and sorry it didn't work there, too. In what way? Did it just not make the window modal? Or did it freeze/crash anything? I have never experienced this first hand myself, so... :) /J ------ ---- --- -- -- -- - - - - - Johan Lindström Boss Casinos Sourcerer jo...@ba... http://www.bahnhof.se/~johanl/ If the only tool you have is a hammer, everything tends to look like a nail |
From: <pko...@me...> - 2001-07-17 09:14:36
|
Johan wrote: > In what way? Did it just not make the window modal? Or did it > freeze/crash > anything? > I have never experienced this first hand myself, so... :) First: Am I right when I think that you use the Win32::GUI::Modalizer in Oasis to make dialogs modal? Then it is the problem I mentioned to you one or two weeks ago. The app freezes because the focus seems to change very fast between the dialog boxes, e.g. the about box in Oasis and the main app window. After that I must kill Oasis to work with Win98. Peter |
From: Johan L. <jo...@ba...> - 2001-07-17 09:27:13
|
Peter wrote: >Then it is the problem I mentioned to you one or two weeks ago. The app >freezes because the focus seems to change very fast between the dialog >boxes, Ahh... ok. I didn't understand that from our previous conversation, sorry about that. So, now the only problem is how to debug that on a platform I don't have access to :) A guess is that the Deactivate or Activate event is triggered differently on Win98 than on NT. /J - thinking of how to implement a "real" modal dialog using Inline::CPP (it should be doable) ------ ---- --- -- -- -- - - - - - Johan Lindström Boss Casinos Sourcerer jo...@ba... http://www.bahnhof.se/~johanl/ If the only tool you have is a hammer, everything tends to look like a nail |
From: <pko...@me...> - 2001-07-17 10:10:42
Attachments:
auctioneer.jpg
|
Johan wrote: > don't have access to :) A guess is that the Deactivate or Activate event > is triggered differently on Win98 than on NT. Perhaps, I don't know. > /J - thinking of how to implement a "real" modal dialog using Inline::CPP > (it should be doable) I would like a real modal dialog package for Win32::GUI, too. But I haven't the time to implement it. So my only big Win32::GUI project (a workflow managemenet for Ebay auctions, see screenshot) is stopped for now until there is a useful package to create modal dialogs (And I already don't know how to en-/disable speedbar buttons on the fly :-) Peter |
From: <pko...@me...> - 2001-07-26 12:56:54
Attachments:
auctioneer.jpg
|
Hello, I am searching for people who are interested in testing a Win32-GUI app. It is an german application which manages ebay auctions from german ebay - a little workflow managment system. It does the following: - collecting auction emails from ebay through Microsoft Outlook 98 - displaying finished and current auctions - storing auction, bidder and price data in an InterBase database - calculation commission - answering finished auctions by creating emails - logging payment and shipping dates The following prerequesites are needed: - Microsoft Outlook 98 - Borland InterBase - Account on german ebay - german reading/writing because it is only a german app at the moment, sorry. I attached a picture from the app. If anyone is interested, please mail me. Peter |