Search found 50 matches

by hellomike
Sun 03 Nov 2019, 08:53
Forum: Support and Promote
Topic: Brandt-Daroff
Replies: 11
Views: 805

Re: Brandt-Daroff

Nice combination of graphics, GUI and speech!

You might want to add a WAIT somewhere though as the program takes a huge chunk of the CPU!

Regards,

Mike
by hellomike
Sun 27 Oct 2019, 20:43
Forum: BBC BASIC language
Topic: Suppress SPOOL...
Replies: 5
Views: 3081

Re: Suppress SPOOL...

Hi Richard,

It is for BB4W. This neat trick is far more elegant than what I use now.

Thanks a lot and happy to have you back at full force.

Mike
by hellomike
Thu 17 Oct 2019, 09:20
Forum: BBC BASIC language
Topic: Request by Richard to return
Replies: 13
Views: 4795

Re: Request by Richard to return

Richard's return is without any doubt very welcome!
by hellomike
Tue 13 Aug 2019, 10:34
Forum: Libraries
Topic: HUGESLIB.BBC
Replies: 9
Views: 3478

Re: HUGESLIB.BBC

You're welcome. Assembly language is also not my strong point, however searching for a specific byte, like the comma (ASCII 44) given the memory location to start, isn't very difficult. Searching for more characters a little more tricky but doable. If INSTR() gives you too much delay then let me kno...
by hellomike
Tue 13 Aug 2019, 07:53
Forum: Libraries
Topic: HUGESLIB.BBC
Replies: 9
Views: 3478

Re: HUGESLIB.BBC

Hi Edja, The possibility to store a whole file into a string is indeed tempting. However you have to realize that, in order to find a sub string, INSTR() will always make a copy of the string before it does the search. In addition, it needs the work space to do it. So if you use the default(?) 2MB o...
by hellomike
Tue 30 Jul 2019, 19:31
Forum: User Interface
Topic: keystroke detection
Replies: 3
Views: 2474

Re: keystroke detection

Hi Ric, Not sure what you tried but when I run the following: REPEAT WAIT 0 MOUSE X%,Y%,B% IF B% IF INKEY(-1) N%+=1 : PRINT "Mouse clicked AND <shift> pressed... ";N% UNTIL 0 It will print text only when both a <shift> key is pressed and a mouse button is clicked. Regards, Mike
by hellomike
Sun 07 Jul 2019, 09:33
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5971

Re: WINLIB2B Close buttons don't work.

Yes indeed. I'm using SYS "GetParent" now, storing the handle in global variable D% and then giving each dedicated dialog PROC a chance to match. Without Richards help I wouldn't have know though that a button with IDCANCEL id HAS to exist in order to get a handle back in @lparam%. It probably is in...
by hellomike
Wed 03 Jul 2019, 23:02
Forum: BBC BASIC language
Topic: Request by Richard to return
Replies: 13
Views: 4795

Re: Request by Richard to return

Richard returning would mean always very high quality explanations, valuable advise, more Wiki articles because of question users have and much more.
What's not to like?
by hellomike
Mon 01 Jul 2019, 07:47
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5971

Re: WINLIB2B Close buttons don't work.

Wow. Richard is, of course, correct. Only when there is a button on the dialog box with a IDCANCEL id, @lparam% contains a handle when WM_COMMAND with id IDCANCEL is received. When there is no button with IDCANCEL, @lparam% contains 0 when clicking close button. Either clicking on the close button o...
by hellomike
Sat 29 Jun 2019, 20:21
Forum: User Interface
Topic: WINLIB2B Close buttons don't work.
Replies: 16
Views: 5971

Re: WINLIB2B Close buttons don't work.

Hi, Latest situation is that the following seems to work........ CASE id% OF WHEN ID_CANCEL SYS "GetCursorPos", Point{} SYS "WindowFromPoint", Point.x%, Point.y% TO D% IF D%=@hwnd% THEN Ready%=TRUE ELSE PROCappAddCol(95) PROCappCDSet(95) PROCappCDWidths(95) PROCappCellDetails(95, -1) PROCappLists(95...