mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2002-08-22, 18:56   #1
gowen72
 
Aug 2002

72 Posts
Default IDEA: Additional options in tray icon menu

It would be nice to be able to directly stop and continue the current test from the tray icon's right-click menu. Just like you can currently do in the Test menu of the main window.
gowen72 is offline   Reply With Quote
Old 2002-08-22, 20:19   #2
Angular
 
Aug 2002

2×33 Posts
Default

That is a good idea. My understanding is that it would be only a few minute modification :D

Speaking of the tray icon: Why is it red, associated with a stop light, when crunching and green, associated with go, when stopped? It seams backwards.
Angular is offline   Reply With Quote
Old 2002-08-22, 22:03   #3
 

24×307 Posts
Default

Red might mean "hot" like how things get hot when they run.

I think that it is a good idea also.

I also suggest maybe the things in undoc.txt can be put under the Advanced menu.
  Reply With Quote
Old 2002-08-23, 04:15   #4
Tasuke
 
Tasuke's Avatar
 
Aug 2002

23·32 Posts
Default

I would like to see the Undoc.txt stay as it is, because many of the features there can cause BAD things to happen. Yeah, some of them should be easier to use(the startup delay being one), but overall, if you have the time to read the undoc, chances are you will have the restraint not to use some of the'this feature will be deleted...' stuff.
Tasuke is offline   Reply With Quote
Old 2002-08-23, 16:40   #5
Angular
 
Aug 2002

2×33 Posts
Default

Why not go through the undoc.txt and make a list of features that we suggest that George move into the GUI?
Angular is offline   Reply With Quote
Old 2002-08-23, 17:09   #6
Tasuke
 
Tasuke's Avatar
 
Aug 2002

23·32 Posts
Default

TimingOutput=n
TimeStamp=0
BootDelay=n

Would be the only ones that I could see as being moved out of the undoc.txt. Most of the other stuff is definately well advanced or for debugging only.
Tasuke is offline   Reply With Quote
Old 2002-08-23, 23:18   #7
NickGlover
 
NickGlover's Avatar
 
Aug 2002
Richland, WA

22·3·11 Posts
Default

Quote:
Originally Posted by Tasuke
TimingOutput=n
TimeStamp=0
BootDelay=n

Would be the only ones that I could see as being moved out of the undoc.txt. Most of the other stuff is definately well advanced or for debugging only.
I would add

PercentPrecision=n
CumulativeTiming=1

to this list.
NickGlover is offline   Reply With Quote
Old 2002-09-01, 03:43   #8
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

777610 Posts
Default

Quote:
Originally Posted by Angular
That is a good idea. My understanding is that it would be only a few minute modification
Three hours of debugging later, I've decided Windows can't do it (at least not properly). There is no way to gray tray menu items that I can figure out. Windows just ignores my EnableMenuItem commands.

I've left it implemented - showing as either Stop or Continue, but never grayed. When should it be grayed? Well when you select Stop sometimes there is a lag before the Stop completes - it should be grayed during that time. Also, Contiinue should be grayed when not using primenet and the worktodo file is empty.
Prime95 is offline   Reply With Quote
Old 2002-09-04, 17:24   #9
dsouza123
 
dsouza123's Avatar
 
Sep 2002

10100101102 Posts
Default Code for graying/disabling system tray menu items

Code snippet of modifying system tray icon menus

This is MASM code (windows assembly) using Win32 API calls

If an item in the menu was setup this way
invoke AppendMenu,hPopupMenu,MF_STRING,IDM_STOP,addr StopString

then the following code would GRAY and DISABLE it.

invoke ModifyMenu,hPopupMenu,IDM_STOP, MF_STRING+MF_GRAYED+MF_DISABLED,IDM_STOP, addr StopString

and

invoke ModifyMenu,hPopupMenu,IDM_STOP, MF_STRING+MF_ENABLED, IDM_STOP,addr StopString

would enable it once more.
dsouza123 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide icon in system tray? ccstpaul Software 2 2006-04-12 03:50
LLRnet starts as a system tray icon vaughan Prime Sierpinski Project 1 2005-01-26 15:43
Tray icon OS/CPU/Uptime prog PrimeCruncher Programming 4 2003-10-17 19:10
Tray Icon won't vanish in XP saherr1969 Software 2 2003-06-15 20:39
Problem with the Tray Icon under Win 98 Reboot It Software 6 2002-09-06 23:52

All times are UTC. The time now is 09:35.


Fri Jan 28 09:35:39 UTC 2022 up 189 days, 4:04, 2 users, load averages: 1.34, 1.36, 1.29

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔