English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 18 March 2015, 15:05   #1
AGS
XoXo/Tasko Developer
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 46
Posts: 450
Question Closing a window with shared Messageport?

Hi,

I could need some help with this topic. I have a mainloop that gets and replies messages for all windows. In between it shows a message to the window it belongs to and then the mainloop replies it.

When the window sees a close message, it does a forbid and strips all its remaining messages from the common port and replies them. logically the close message that triggered this is replied by the mainloop AFTER the window has stripped its messages, but following the order it should have been replied before the other messages are stripped?

What's the right method?

thanks
ags

ps: I found some documents that says that all messages belonging to a window must have been replied before closing it. I know that, but I don't know if the messages must be replied in a correct order.

pps: I am now doing it in the right order, replying the messages in the order I get them, everything works fine.

Last edited by AGS; 18 March 2015 at 22:52.
AGS is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
File comments and shared folders mark_k support.WinUAE 2 06 December 2012 10:15
Shared folder issue with Kickstart 1.3 mark_k support.WinUAE 11 04 February 2012 19:50
GoG closing its doors :( laffer Retrogaming General Discussion 6 22 September 2010 16:19
How do i Get Miami to mount shared folders Rogueraven support.Hardware 6 13 March 2008 11:57
why closing down a thread. Dasse project.EAB 15 25 November 2003 15:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.07557 seconds with 13 queries