BBC BASIC for Windows
« A solution to the old FN_setproc problem. »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:57pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: A solution to the old FN_setproc problem.  (Read 598 times)
Malvern
Guest
xx Re: A solution to the old FN_setproc problem.
« Reply #15 on: Aug 19th, 2014, 11:24pm »

Just so that you know you are not the only one to see the effect I have made it do it, but it was very difficult to make happen. Win 7 64bit.

I am not going to speculate as to what causes it....

I typically don't use Eventlib but use the methods here
https://groups.yahoo.com/neo/groups/bb4w/files/%22Temp%20Folder%22/Event_Programming/

I expect it would show the same issues though as it uses a similar queue.
User IP Logged

Malvern
Guest
xx Re: A solution to the old FN_setproc problem.
« Reply #16 on: Aug 20th, 2014, 04:50am »

Quote:
It is for sure the WM_SIZE message


Yes, certainly that is what I see also. You can single step through the program when this condition arises. The handler for the WM_SIZE event is generating a further WM_SIZE event as it is being handled so the event queue never gets cleared and the oscillation is the effects of some Windows weirdness and the WHILE loop in PROC_eventpoll that never gets its exit condition met. Why Windows doesn't behave as RTR predicted under all circumstances is for Microsoft to know.



« Last Edit: Aug 20th, 2014, 05:28am by Malvern » User IP Logged

sveinioslo
Developer

member is offline

Avatar




PM


Posts: 64
xx Re: A solution to the old FN_setproc problem.
« Reply #17 on: Aug 20th, 2014, 09:29am »

Thank you !

Svein
User IP Logged

Malcolm
Guest
xx Re: A solution to the old FN_setproc problem.
« Reply #18 on: Sep 15th, 2014, 6:27pm »

on Aug 20th, 2014, 04:50am, Malvern wrote:
The handler for the WM_SIZE event is generating a further WM_SIZE event as it is being handled...


If this is the case couldn't you just put an "ON MOVE LOCAL : RETURN" in the part that deals with WM_SIZE so that the next ON MOVE event(s) that occur within the PROCmove would get ignored?

Malcolm
User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls