Search found 50 matches

by hellomike
Sat 29 Jun 2019, 08:32
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5972

Re: WINLIB2B Close buttons don't work.

Thanks for the offer. In the forum historie I indeed saw that you have dealt with the library before. Clearly you have better figured out how the library works, i.e. how Richard incorporates the dialog box procedure in it. Ideally I would like to have a wrapper function "FNappNewDialog(title$,x%,y%,...
by hellomike
Fri 28 Jun 2019, 08:05
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5972

Re: WINLIB2B Close buttons don't work.

p_m21987, Please thank Richard for his reply. He always provides good information. So I was thinking of getting the dialog handle when there is a ID_CANCEL and then give all dialog-PROCs a change to match the dlg and do their business. Was about to test how to obtain the handle today but.... Zaphod ...
by hellomike
Thu 27 Jun 2019, 10:02
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5972

Re: WINLIB2B Close buttons don't work.

Thanks for thinking along. I agree that my handling of modal vs modeless boxes is an ongoing issue. Most of them can or rather should be modal. Because of a menu-choice I call a PROC that opens the correct dialog box, like: CASE msg% OF WHEN WM_COMMAND REM Menu handling... CASE id% OF ............. ...
by hellomike
Wed 26 Jun 2019, 18:11
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5972

Re: WINLIB2B Close buttons don't work.

Hi Zaphod, Thanks for the fast reply! Actually I discovered today that at least WM_COMMAND with ID_CANCEL is send so I thought I was saved and that I could simply add this in my interrupt handler PROCedure, which is..... DEF PROCappSys(msg%, wpa%, lpa%) LOCAL nc%, id% nc%=wpa%>>16 : id%=wpa% AND &FF...
by hellomike
Wed 26 Jun 2019, 11:53
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5972

WINLIB2B Close buttons don't work.

Hi, Yes, I know this behavior is documented in the help but I can't understand why Richard decided to put this in the WINLIB2B library or actually why he didn't just update WINLIB2. As far as I can see from other applications (including BB4W IDE!) pressing escape or clicking the dialog box close but...
by hellomike
Fri 14 Jun 2019, 15:35
Forum: BBC BASIC language
Topic: Suppress SPOOL...
Replies: 5
Views: 3081

Suppress SPOOL...

Hi, Probably it isn't easily possible but maybe I'm unaware off a nifty trick so lets post this anyhow.... To have all PRINT output on screen also saved as file, obviously *SPOOL is how to do that, as it was 30 years ago. Obviously it saves all VDU output, hence also the COLOUR VDU bytes (17,...). W...
by hellomike
Wed 29 May 2019, 13:20
Forum: Libraries
Topic: Big Integer Library
Replies: 3
Views: 3050

Re: Big Integer Library

I sincerely hope that Richard will make it available for BB4W 6.x as well.
by hellomike
Sun 26 May 2019, 18:35
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 2549

Re: Determining Variable Type

this wiki page states:


CALL @fn%(4) ; Look up variable (esi points to name, returns type=al, varptr=ebp)


........
by hellomike
Sun 26 May 2019, 18:32
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 2549

Re: Determining Variable Type

Cross Reference only looks at the tokenized source. Program isn't running at that moment. Pretty sure it interprets the source about the same as interpreter does during run time. So it simply uses the actual last character of the variable name. %, $, &, <none>. Their purpose is not just readability ...