Search found 51 matches

by MattC
Thu 01 Aug 2019, 15:36
Forum: BBC BASIC language
Topic: Request by Richard to return
Replies: 8
Views: 2471

Re: Request by Richard to return

Hi. Just noticed this thread. I am an occasional (intermittent) user of this forum (and previous ones) so I'm not sure how much weight my opinion holds. Like RNBW, I had always considered this to be Richard's forum, anyway, and found it strange that he should not be here. For the few times I have us...
by MattC
Sun 21 Jul 2019, 20:56
Forum: BBC BASIC language
Topic: Task Tray App Display
Replies: 0
Views: 1071

Task Tray App Display

Hi.

I've got a program that sits on the desktop running all the time, and the app is displayed in the task tray. Is there a way to hide the task in the task band, but still have the program visible?

Matt
by MattC
Fri 14 Jun 2019, 18:07
Forum: BBC BASIC language
Topic: Focus Handle of Multiwin Output Window
Replies: 2
Views: 1289

Re: Focus Handle of Multiwin Output Window

I tried so many variations of different things that I may have just overlooked 'GetForegroundWindow'. Thanks.

I would be surprised if BB4W got confused with hwnd% and @hwnd%. Particularly as @... is a system variable. But I will investigate what you have brought up.

Thanks.

Matt
by MattC
Thu 06 Jun 2019, 18:04
Forum: BBC BASIC language
Topic: GUID Routine
Replies: 3
Views: 1101

Re: GUID Routine

Thanks DDRM. Yes, that's helpful. I hadn't considered where the variables were being stored, just that I assumed they would be released. That's one of the problems of taking a piece of code and shoving it into a program without carefully looking through. The GUID is mainly used for an random code wi...
by MattC
Thu 06 Jun 2019, 06:39
Forum: BBC BASIC language
Topic: GUID Routine
Replies: 3
Views: 1101

GUID Routine

Hi. I've been using a GUID (Global Unique Identifier) routine, which came from Wiki. REM Creates Global Unique Identifier name DEF FNguid LOCAL guid{}, guidw%, guida% SYS "LoadLibrary", "OLE32.DLL" TO ole32% SYS "GetProcAddress", ole32%, "CoCreateGuid" TO CoCreateGuid% SYS "GetProcAddress", ole32%, ...
by MattC
Wed 05 Jun 2019, 17:58
Forum: BBC BASIC language
Topic: Program Not Closing ON CLOSE
Replies: 8
Views: 2149

Re: Program Not Closing ON CLOSE

This is a very useful piece of information, and the added code works great.

Svein, thanks.

Matt
by MattC
Tue 04 Jun 2019, 19:51
Forum: BBC BASIC language
Topic: Program Not Closing ON CLOSE
Replies: 8
Views: 2149

Re: Program Not Closing ON CLOSE

Cheers. I'll investigate this. One of my thoughts was to add wait statements to various points and it seemed to have little effect. However, I'll try again.

Matt
by MattC
Tue 04 Jun 2019, 19:49
Forum: BBC BASIC language
Topic: SystemParametersInfoA
Replies: 5
Views: 1535

Re: SystemParametersInfoA

Thanks Svein.

Implementing this change into my program does sort this problem out. However, it seems to introduce another one, which I will have to investigate further. Thanks again for your advice.

Matt
by MattC
Tue 04 Jun 2019, 05:34
Forum: BBC BASIC language
Topic: Program Not Closing ON CLOSE
Replies: 8
Views: 2149

Re: Program Not Closing ON CLOSE

Thanks Zaphod. My understanding of the help for MOUSE and ON MOUSE is that ON MOUSE is an alternative rather than a necessary part of MOUSE. It's possible that using the ON MOUSE command might sort my problem out, but it would mean a heck of a lot of changes to my code. I'd be interesting to know, t...
by MattC
Sat 01 Jun 2019, 19:24
Forum: BBC BASIC language
Topic: Program Not Closing ON CLOSE
Replies: 8
Views: 2149

Re: Program Not Closing ON CLOSE

OK. That's interesting. :?

I've only got the one computer to try it on, so I'd be interested if anyone else has tried it, and what results they have. I retried it after a reboot and came up with the same result as before.

Matt