stephenbrooks.orgForumMuon1GeneralCouple of thoughts for future versions
Username: Password:
Search site:
Subscribe to thread via RSS
bradsercombe
2002-08-14 18:27:03
Perhaps these can already be done and I just don't know the switches:

1. When I get a message that there is a new version to be downloaded I think the clients stop processing until you click ok (correct me if I'm wrong).  This an annoyance for those of us on the other side of the international date line as we loose a min of 1/2 day processing time and a max of a weekend worth (all my machine are at work).

2. A "slient" switch which turns off this notification altogether for computers that are being used by staff who don't really need to know what is taking up the other 99.5% of their CPU power. 

Kind Regards,

Brad.
Stephen Brooks
2002-08-15 03:38:37
Erm... Now there ought to be a way to get the Message-box to run asynchronously with the program.  I'll look into it.  It'll be a while until I release v4.22, but I'm just about to go through the forum to check if there's anything else I want to add to the to-do list.


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Jim Reed
2002-08-15 05:01:07
quote:
Originally posted by Stephen Brooks:
Erm... Now there ought to be a way to get the Message-box to run asynchronously with the program....


Two ways: either make it a modeless dialog or create a separate thread that displays the dialog and ends when the dialog is dismissed.  I haven't looked at your code to advise on which would be simpler.

Either way, there's the possibility that a user who is away from their machine for a long enough time could come back to find several dialogs nagging them to update.

Jim
TheFinalLoser
2002-08-15 06:19:40
maybe an dos and an unix textclient for the next version...
and maybe modify the grafik version so that it stays running if you are using ALT TAB to go to windows

and just a sugesstion, an Mouse movment system for the grafik client to navigate in it in the pause modus

maybe one or two of my ideas are good enough to implent them in one of the next versions smile smile
Stephen Brooks
2002-08-15 07:11:58
I can't find much about modeless message boxes in the Windows SDK, although I do know how to create threads so maybe that's the answer.

Having the program display several of these boxes if several versions have been uploaded is not a major flaw, and will not happen particularly often.

A commandline version of the program... Hmm.  I'll do that this afternoon, if I can, since many people want the Linux client and this version appears stable.

I will _not_ implement the following features for some time (if ever): tray icon; running while graphics version minimised; windowed version; installation program.
This is because these require a lot of Windows SDK programming, which I know nothing about and would rather avoid.


"As every 11-year-old kid knows, if you concentrate enough Van-der-Graff generators and expensive special effects in one place, you create a spiral space-time whirly thing, AND an interesting plotline"
Stephen Brooks
2002-08-15 08:04:43
http://stephenbrooks.org/muon1v421b_console.zip
Jim Reed
2002-08-15 09:25:47
quote:
Originally posted by Stephen Brooks:
I can't find much about modeless message boxes in the Windows SDK, although I do know how to create threads so maybe that's the answer.



If you are using MessageBo) from the Windows SDK and you're accustomed to threads, then creating a thread is the easiest approach.

I'm accustomed to creating more complex dialogs using MFC where you can make a dialog modeless just by calling Create() instead of DoModal().
Jwb52z
2002-08-15 10:09:12
[QUOTE]Originally posted by Stephen Brooks:
I will _not_ implement the following features for some time (if ever): tray icon; running while graphics version minimised; windowed version; installation program.
This is because these require a lot of Windows SDK programming, which I know nothing about and would rather avoid.

I know you don't want to do it really after reading this post, but I, and probably several others, would be greatly appreciative if you could make the program run even when minimized.  This is really the only enhancement I personally want in the program.  I don't like having to not be able to do anything with my computer to let it run and still have the graphical version.  Please in the future create the graphical version with the ability to run minimized so it can just be checked on when needed.  PLEASE with sugar on top.  smile

MaFi
2002-08-15 11:12:48
[quote] I will _not_ implement the following features for some time (if ever): tray icon; running while graphics version minimised; windowed version; installation program.[\quote]

in my opinion an instalation program isn't necessary at all.
it so easy: download the .zip file, unzip it, run muon1.exe - that's it
how could an instalation program make this any easier???
or is there anythin i don't see?

markus
Bellbox
2002-08-15 17:52:15
Maybe some people have trouble creating the user.txt big grin
TheFinalLoser
2002-08-16 05:36:10
i must say watching the client is realy cool, but if one run takes more than ten minutes i would realy prefer to minimze it and come ten minutes later to watch how it moved 2.5 ns futher on. 
It would be an real upgrade
[ARS]odessit
2002-08-16 08:11:42
I know, I know, how about getting rid of the FTP window?  So the background client can crunch in completely stealth mode without user knowing.

Intel P3-M 866 MHz
Duron 1000 MHz
XP 1600+ @ 2000+
Stephen Brooks
2002-08-16 10:52:36
If you can produce a program or a function that does a silent FTP script, I'd put that in.

I'm not doing the re-maximisable version on the basis that it would probably require a tray icon in order to get back at it.  However it could also be activated by a key combination (Alt-Shift-M for example) and I could make it that way.

If both of the above went in that would be an intriguing stealth program with a 'secret' key combination to make it appear.
Jwb52z
2002-08-16 13:30:29
That's not necessarily true.  Many programs without tray icons don't stop functioning just because they are minimized to the task bar.  Are you just not wanting to work that hard?  lol I'm joking.
TheFinalLoser
2002-08-16 16:46:12
i have realy no problem with any sort of key combination, as long i know it wink smile smile
and, i think that would be ok for everybody.
Stephen Brooks
2002-08-21 08:05:07
quote:
Originally posted by bradsercombe:
Perhaps these can already be done and I just don't know the switches:

1. When I get a message that there is a new version to be downloaded I think the clients stop processing until you click ok


For anyone else who is interested, the following ought to implement a MessageBox that works in a separate thread.  Called using AsyncMessageBox and just the same arguments you'd give to the Windows SDK call.

typedef struct {HWND hWnd; LPCTSTR lpText; LPCTSTR lpCaption; UINT uType;} AsyncMessageBox_args;
void AsyncMessageBox_t(AsyncMessageBox_args *a)
{
MessageBoa->hWnd,a->lpText,a->lpCaption,a->uType);
free(a);
}

void AsyncMessageBoHWND hWnd,LPCTSTR lpText,LPCTSTR lpCaption,UINT uType)
{
AsyncMessageBox_args *a=(AsyncMessageBox_args *)malloc(sizeof(AsyncMessageBox_args));
a->hWnd=hWnd; a->lpText=lpText; a->lpCaption=lpCaption; a->uType=uType;
unsigned long mallards;
CloseHandle(CreateThread(NULL,0,AsyncMessageBox_t,a,0,&mallards));
}

big grin

quote:
This an annoyance for those of us on the other side of the international date line


You mean your office computers are a day ahead of your home??
: contact : - - -
E-mail: sbstrudel characterstephenbrooks.orgTwitter: stephenjbrooksMastodon: strudel charactersjbstrudel charactermstdn.io RSS feed

Site has had 25163570 accesses.