onContextMenu STYLE Property

2001-05-10 Thread Robbie

Hi All,

I know the info is out there, but I recently looked at web page that had a
completely new STYLESHEET property that I had never even heard of!!!

onContextMenu = true or false

The first thing I wanted to ask is:

a) Why is it that there are loads of properties such as this that are never
documented in any of the usual popular sites or books?

b) Is there a definitive list anywhere for all ofthe available STYLESHEET
properties and their functions?

c) Does this onContextMenu property work on all platforms, ie IE and NN?

d) What does it actually do?

Many thanks.

Rgds

Rob








Changing the WIDTH of a Table when scrollbars are displayed

2001-05-10 Thread Robbie

Hi All,

Need your valued assistance again!!!

I have a navigation frame down the left hand side of my site that needs to
use the vertical scrollbars option (when needed) for uses to click on the
many links.

The problem I have that when the links go off the visible page and the
vertical scrollbar is displayed, the width of the scrollbar means that it
covers a table that I have there and invokes the horizontal scrollbar.  This
looks messy as it is only displaying the horizontal one to compensate for
the width of the vertical scrollbar.

I know the easy option is to allow a gap for the scrollbar, but this means
my table looks out of sorts between the left hand side frame and the main
window frame.

What I would love to do is check for the scrollbar being displayed and then
decrease the width of the table 'on the fly' so that it compensates cleanly.

Can somebody advise me on how to do this (using DHTML/Javascript ??)

Thanks


Robbie








Better NN Tree Folder

2001-05-10 Thread Robbie

Hi All,

Me Again

My final query is that although there appears to be many good IE tree folder
scripts, there isn't any flexible or concise ones for NN.

The one I currently use is basically 5 pages of code long, I can't change
the style of it in anyway (ie, font colours, sizes and icons), I can't have
more than 6 'root' folders and I can't place any text or pictures below it,
as it just becomes a jumbled mess.

All I basically want is the tree folder effect to allow me to group say a
maximum of 8 links in 8 different 'root' folders.  I don't need to go any
deeper than the root level with the links, ie there is no need for a folder
inside a folder.

Does anybody know of a good managable Javascript/DHTML tree folder script
that isn't too code heavy and will allow me to do what my existing one
can't?

Many thanks.

Regards


Robbie








Netscape 6.0 under win Me

2001-05-10 Thread Ofer Gaatone

Hi,
since starting to use Netscape 6.0 under Win ME i've found that things
that works OK in previous version work a little strange now:
1) When trying to add new item to the address book it does not warn if
such a name already exist. It simply gets it in. How can i get a warning
or not to permit to get two items using the same name ?
2) Trying to print an email, i recive the printing dialog screen but the
option to print just part of the message (from.. to..) is disabled. Why
?
3) Entering the list of headers it always start on top. Since it sorted
by ascending dates it start with the oldest one. I want to continue to
use the same sorting but start with the newest one. It worked on
previous versions. What happened ?

Any idea why it works strange ?

Bye

Ofer





Re: Netscape 6.0 under win Me

2001-05-10 Thread Alex

Ofer Gaatone wrote:

 Hi,
 since starting to use Netscape 6.0 under Win ME i've found that things
 that works OK in previous version work a little strange now:
 1) When trying to add new item to the address book it does not warn if
 such a name already exist. It simply gets it in. How can i get a warning
 or not to permit to get two items using the same name ?
 2) Trying to print an email, i recive the printing dialog screen but the
 option to print just part of the message (from.. to..) is disabled. Why
 ?
 3) Entering the list of headers it always start on top. Since it sorted
 by ascending dates it start with the oldest one. I want to continue to
 use the same sorting but start with the newest one. It worked on
 previous versions. What happened ?
 
 Any idea why it works strange ?
 
 Bye
 
 Ofer
 
 

Wrong newsgroup. This place is for the developers of the Mozilla Open 
Source Project, not for Netscape branded products. A list of Netscape 
newsgroups is at the link below:
http://help.netscape.com/nuggies/

-- 
Alex:3)~~
http://www.gerbilbox.com/newzilla/





Personalizate Netscape 4.51

2001-05-10 Thread srvnfrm

How I can personalizate icons in Netscape 4.51?

I want Enable/Disable the icons:
· Search
· Security


Thanks.








Re: Personalizate Netscape 4.51

2001-05-10 Thread Alex

srvnfrm wrote:

 How I can personalizate icons in Netscape 4.51?
 
 I want Enable/Disable the icons:
 · Search
 · Security
 
 
 Thanks.

Wrong newsgroup. This place is for the developers of the Mozilla Open 
Source Project, NOT Netscape branded products. Netscape newsgroups are 
listed at the link below:
http://help.netscape.com/nuggies/

-- 
Alex:3)~~
http://www.gerbilbox.com/newzilla/





Re: Netscape 6.01 terminally flawed

2001-05-10 Thread Up-state NY, U.S.A.

Mark--I can't agree with you more.  And I can't possibly tell you how
disappointed I was with my attempt at using Netscape 6.  I sent away for
Netscape's CD rather than download the whole package.  Once installed, I
found Netscape 6 to be:

   * Very slow (although it did tell me it needed a minimum of 233 MHz
 and 64 MB of Ram).
   * My Logitech mouse was no longer able to page...
   * My attempt at doing e-mail off-line failed.  Never did figure out
 where the e-mail went?
   * When I un-installed Netscape 6, I found that it had corrupted
 Windows98 thumbnail view for jpg and gif files.
   * I played with Netscape 6 for about two days and gave up...

So I'm now back running Netscape 4.7 and much happier with it. 
Apparently I never reached the point you did; however, I'm also very
disappointed to learn about the Java problem...

Have a nice day, Gary

Mark A Gregory wrote:

 It has been posted that Netscape 6.01 is not Java compatible and
 prevents signed applets from running.

 Signed applets cannot communicate with Javascript on web pages.

 Netscape has released a product that breaks most applets being used
 today and prevents customers from supporting netscape on their
 websites.

 When does netscape plan to release a 6.xx version that is not broken
 but supports Java and java applet to javascript communication?

 This question has been put to Netscape and Sun officials but there is
 no response forthcoming.





Re: onContextMenu STYLE Property

2001-05-10 Thread Jim Ley

On Thu, 10 May 2001 08:54:45 +0100, Robbie
[EMAIL PROTECTED] wrote:

Hi All,

I know the info is out there, but I recently looked at web page that had a
completely new STYLESHEET property that I had never even heard of!!!

onContextMenu is not a stylesheet property.

onContextMenu = true or false

This certainly doesn't do anything!

The first thing I wanted to ask is:

a) Why is it that there are loads of properties such as this that are never
documented in any of the usual popular sites or books?

Have you considered looking at the documentation of your browsers? if
not, then why not where else would you expect to find such
information?

b) Is there a definitive list anywhere for all ofthe available STYLESHEET
properties and their functions?

How can there be, browser vendors are free to create whatever they
want to, indeed due to the expando nature of the object models, and
the the flexible browsers, web authors can also create them.

c) Does this onContextMenu property work on all platforms, ie IE and NN?

d) What does it actually do?

What's the point of knowing if something works on multiple platforms,
if you don't know what it does?

The onContextMenu event is available on late versions of MSIE, see the
MSIE documentation - the event fires just before the contextmenu
appears.

Jim.





Re: problem with 0.81 (german version)

2001-05-10 Thread Christoph Basedau

Fabian Guisset schrieb:
 Christoph Basedau wrote:

[messed profile]

 Try creating a new profile: Start Mozilla from the DOS prompt with this 
 command:
 mozilla -profilemanager
 The create a new profile, it should fix the problem.

Great. Mozilla runs just fine now.
Thanx a lot.

Chris






Re: Netscape 6.01 terminally flawed

2001-05-10 Thread Carlfish

On Thu, 10 May 2001 06:18:47 -0400, Up-state NY, U.S.A. [EMAIL PROTECTED] 
 somehow managed to type:
Mark--I can't agree with you more.=A0 And I can't possibly tell you how
disappointed I was with my attempt at using Netscape 6.

Netscape 6 was a marketing decision. Netscape saw a series of negative
(and somewhat ignorant) press reports about how long it was taking to
finish the next version of their browser. They reacted by forcing through
a release of a product that was not even remotely ready.

Netscape branded products are also off-topic for the mozilla 
newsgroups. Followups set.

Charles Miller




Since Sunday, win32 nightlies have been crashing

2001-05-10 Thread Thomas Wolf

Not sure if this is the right group, but...
Last week I started noticing the new-and-improved theme on the
nightlies.  All seemed well, except for the occasional crash (such
as when Forwarding mail and at the end of a download (when the
download window is supposed to close.)  So, I thought I'd download
a more recent nightlybut every nightly I've tried since
Monday's dies on startup.  Has anyone experienced this?  I didn't
see anything in any recent posting.

As an aside: I also did this with the talkback versions of the
nightly.  Does anyone actually look at the bugs reported through there
or should I be filing bugs myself through bugzilla?

Ciao,
tom





Re: Netscape 6.01 terminally flawed

2001-05-10 Thread Fabian Guisset

Up-state NY, U.S.A. wrote:

 Mark--I can't agree with you more.  And I can't possibly tell you how
 disappointed I was with my attempt at using Netscape 6.  I sent away for
 Netscape's CD rather than download the whole package.  Once installed, I
 found Netscape 6 to be:
 
* Very slow (although it did tell me it needed a minimum of 233 MHz
  and 64 MB of Ram).
* My Logitech mouse was no longer able to page...
* My attempt at doing e-mail off-line failed.  Never did figure out
  where the e-mail went?
* When I un-installed Netscape 6, I found that it had corrupted
  Windows98 thumbnail view for jpg and gif files.
* I played with Netscape 6 for about two days and gave up...


Hi Gary,

Since you bothered to come to a Mozilla newsgroup to complain about 
Netscape 6, I'm going to give a Mozillian answer :)
Download Mozilla 0.9, and enjoy :)

Fabian.


 
 So I'm now back running Netscape 4.7 and much happier with it. 
 Apparently I never reached the point you did; however, I'm also very
 disappointed to learn about the Java problem...
 
 Have a nice day, Gary
 
 Mark A Gregory wrote:
 
 
It has been posted that Netscape 6.01 is not Java compatible and
prevents signed applets from running.

Signed applets cannot communicate with Javascript on web pages.

Netscape has released a product that breaks most applets being used
today and prevents customers from supporting netscape on their
websites.

When does netscape plan to release a 6.xx version that is not broken
but supports Java and java applet to javascript communication?

This question has been put to Netscape and Sun officials but there is
no response forthcoming.

 






Re: Profile directory and salting.

2001-05-10 Thread Bill Lee

Matthew Thomas [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Gervase Markham wrote:
 
  I was starting to feel in the minority. grin Actually, what I
   hate more than the salting is the fact that the user community has
   been given  no choice in the matter.  (And saying you can write your
   own code or pay money, etc., isn't really the point.)
 
  Well it is, really. As mpt is fond of saying, correctly, we can't have
  a pref for everything. The more we have, the more conditional forks in
  the code there are, and the greater its complexity and the greater the
  possibility of bugs. Those who write the code get to make the choices
  (subject to review and approval, and a spec if there is one.)
 ...

 Right. I don't like the salted folder either -- it's an insult to a Mac
 user who expects every file and folder on their system to have a
 semi-understandable name. (the DOS-like `.slt' on the end of the name
 increases its offensiveness.) But I'd rather have the salting always
 happen, than present users with an inevitably incomprehensible pref for
 it when they create a new profile.

Simple dialog: Would you like your preference files stored in a random
directory for increased security?.

bl






Re: Since Sunday, win32 nightlies have been crashing

2001-05-10 Thread Bill Lee

Thomas Wolf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Not sure if this is the right group, but...
 Last week I started noticing the new-and-improved theme on the
 nightlies.  All seemed well, except for the occasional crash (such
 as when Forwarding mail and at the end of a download (when the
 download window is supposed to close.)  So, I thought I'd download
 a more recent nightlybut every nightly I've tried since
 Monday's dies on startup.  Has anyone experienced this?  I didn't
 see anything in any recent posting.

 As an aside: I also did this with the talkback versions of the
 nightly.  Does anyone actually look at the bugs reported through there
 or should I be filing bugs myself through bugzilla?

My last nightly crashed so hard I had to remove it and reinstall it to get
it to run.  Every nighly I've gotten in the last couple of months has been
flakey.  All of my crashes have centered about Mail/News. Maybe it's the mad
rush to get to 1.0.

Moz is looking very, very good though.

I'm off to try milestone .9...
bl






Re: Profile directory and salting.

2001-05-10 Thread Gervase Markham

  Right. I don't like the salted folder either -- it's an insult to a Mac
  user who expects every file and folder on their system to have a
  semi-understandable name. (the DOS-like `.slt' on the end of the name
  increases its offensiveness.) But I'd rather have the salting always
  happen, than present users with an inevitably incomprehensible pref for
  it when they create a new profile.
 
 Simple dialog: Would you like your preference files stored in a random
 directory for increased security?.

This might get the user thinking that the app would pick a random
directory on your hard drive to put it in.

Every other security feature we put in the browser for the users
protection (not allowing web pages to do malicious stuff, no cross-frame
scripting, whatever) isn't optional. Why should this be?

Anyway, this discussion has been had. If someone wants it changed, produce
patches and then we'll have something to talk about :-)

Gerv




Re: Since Sunday, win32 nightlies have been crashing

2001-05-10 Thread Thomas Wolf

chris hofmann wrote:

...
 when you say dies on startup  does it crash and have the talkback 
 dialog come up,
 or does it just sit there in a suspended/hung state?


It crashes, puts up the Application Error dialog (something about
trying to reference a bad address), and has the talkback dialog come up.
(When i originally tried it, it was the version without talkback;
so it only put up the Application error dialog ;-)



 go to your user profile directory and remove the folder/directory
 called newcache and try to start again.   see if that works.


I just tried that - same crash at startup.  I then proceeded to wipe
out the Cache directory as well - again, same result.  The only
way I've been able to get things to work again is to go back to
the 0.9 milestone build; if I install that over the nightly, everything
works ok.


 send comments/questions to [EMAIL PROTECTED] if you want somebody
 to go dig out a stack trace for a talkback report you have sent in or
 try to correlate your problem to something others might be seeing.


I guess I'll file a bug and reference the talkback report.  Thanks for
the suggestions,
Tom





Getting the URL of a page Netscape is displaying

2001-05-10 Thread Dan Baumbach

Is there a way that a separate program can query Netscape/Mozilla to get the
URL of a page that Netscape/Mozilla is displaying?

- Dan.








Re: Netscape 6.01 terminally flawed

2001-05-10 Thread Mark Dixon

Yeah well, it ain't finished. It was a mistake to release it.

The latest open source release, Mozilla 0.9 is usable (0.8 was the first
release that could be considered usable for anything other than testing
sites)

Don't think they've ironed out all the java issues yet though, and I _know_
LiveConnect is still not switched on (although if you build it yourself,
there's probably a way to do this).

Mark


Up-state NY, U.S.A. [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Mark--I can't agree with you more. And I can't possibly tell you how
disappointed I was with my attempt at using Netscape 6. I sent away for
Netscape's CD rather than download the whole package. Once installed, I
found Netscape 6 to be:

   * Very slow (although it did tell me it needed a minimum of 233 MHz
 and 64 MB of Ram).
   * My Logitech mouse was no longer able to page...
   * My attempt at doing e-mail off-line failed. Never did figure out
 where the e-mail went?
   * When I un-installed Netscape 6, I found that it had corrupted
 Windows98 thumbnail view for jpg and gif files.
   * I played with Netscape 6 for about two days and gave up...

So I'm now back running Netscape 4.7 and much happier with it.
Apparently I never reached the point you did; however, I'm also very
disappointed to learn about the Java problem...

Have a nice day, Gary

Mark A Gregory wrote:

 It has been posted that Netscape 6.01 is not Java compatible and
 prevents signed applets from running.

 Signed applets cannot communicate with Javascript on web pages.

 Netscape has released a product that breaks most applets being used
 today and prevents customers from supporting netscape on their
 websites.

 When does netscape plan to release a 6.xx version that is not broken
 but supports Java and java applet to javascript communication?

 This question has been put to Netscape and Sun officials but there is
 no response forthcoming.







userContent.ss

2001-05-10 Thread Bren..

A while ago I tried to change userContent.css to display backgrounds as 
black and text as white. 

This worked however on some sites there are bakgrounds that will stay their 
original color, most of the time making reading the white fonts unreadable. 

If there any way this also can be changed in userContent.css?


Brendon




Re: Way OT: Macs and/or PCs suck (was: Re: Right-click problem)

2001-05-10 Thread Phillip M. Jones, C.E.T.


[EMAIL PROTECTED] wrote:
 
 In article [EMAIL PROTECTED], Phillip M. Jones, C.E.T.
 [EMAIL PROTECTED] writes:
 
 
 
 [snip]
 
 You have three simple options for ejecting a Floppy (even works for the
 Imation SuperDrive USB Drive and the G3/G4; also works with Zip and Jaz
 Drives).
 
 Highlight the image of the floppy disk:
 Command (Clover Leaf/Apple) Key - E (Eject) or
 Command - Y (Put away) Or
 
 
 Ah, of course!  Even the least computer savvy could have guessed either of
 those!  Come on Mr. Jones.
 
 Drag image of floppy to Trash.
 
 DU!!!
 
 
 Why would I want to delete all the files on my floppy?!?!?!  Clearly putting
 something into a trash can indicates that you want to discard it, right?
 NOPE!  NOT ON THE MAC!  WELL, SOMETIMES IT DOES, OTHER TIMES IT DON'T!

If you double click on the image of floppy disk  it opens to a desktop
file indicating the file contents of the Floppy Disk. If you highlight
either individually or as a Group (Command -A) and drag the files to
trash; you empty the contents of the diskette.

Draging the unopened image of the Diskette to trash unmounts the
Diskette and ejects the Diskette. doing that does not empty the contents
of the diskette.

 
 in case a disk gets stuck locate a small paper clip and locate the small
 hole usually located where the eject button would be on a PC Floppy
 insert in this hole and push. Pops right out. Duhhh!
 
 Right click hasn't been an option on a Mac (One button mouse) never
 needed it.
 
 Indeed!  With that completely intuitive Select Disk + Cloverleaf-E or -Y ==
 Eject the floppy, who needs context menus?!!?!
 
  So your getting PC's, and Mac's commands mixed up. Mac's have always been able
 to use a two/three button mouse provided the Driver (control panel) was
 setup for it (provide by Mouse Maker). I find having to use a two or
 three button mouse confusing.
 
 
 I find obscure key combos a tad more confusing than another mouse button, but
 what do I know.  Oh, well, I know that Win9x+ has been rather successful
 while the Mac has not.  Maybe there's a correllation.

If you go back a few years you'll discover the idea for Windows was a
concept stolen from the Macintosh, because Bill Gates feared that the
Mac was catching on too well and cutting into his revenues.

If Apple at the time had as deep Pockets as Microsoft did at the time;
there would not have been Window 3.1, Windows 95, 88 or wharever they
are up to now. 

I find that right click on a Windows mouse brings up Help.

There are two methods of calling up help. eith on Desktop, or within an Application.

 clicking on the help menu. or turning on Show Ballons (Ballon help)
turning this feature on when the mouse move over a Command in a menu a
Widow looking something like what you see in newspaper cartoons comes up
explaing what the command is supposed to do.
 
  -  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -
   http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam.  If this or other posts
 made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

-- 
--
Phillip M. Jones, CET |MEMBER:VPEA (LIFE) ETA-I, NESDA,ISCET, Sterling
616 Liberty Street|Who's Who. PHONE:540-632-5045, FAX:540-632-0868
Martinsville Va 24112-1809|[EMAIL PROTECTED], ICQ11269732, AIM pjonescet
--

If it's fixed, don't break it!

mailto:[EMAIL PROTECTED]




Re: Outgoing Mail Problem

2001-05-10 Thread Robert Hampton

Robert Hampton wrote:

 Hey, folks, don't know if this will work or not.  I was using 
 yesterday's build in Win98 and modified my prefs.js to change user-names 
 for a couple of email accounts.  Now when I try to send mail, Moz won't 
 send...just sits there trying to send.  I can cancel out of it so it is 
 not a lockup.  I didn't do anything to my Outgoing Server and it is 
 configured correctly.  Downloaded todays build with the same results. 
 Any suggestions?

Well, apparently I can post to NG's but not send mail.
-- 
Robert Hampton
Genesis POS
http://www.genesispos.com
(866) 244-8813 Voice
(915) 942-8872 Fax





mozilla style doc

2001-05-10 Thread Alec Flett

As a super reviewer, I've run into many of the same issues over and over 
again.. I'm starting to compile them into a larger list that I'd like 
people to start reviewing. The idea is not to teach people about 
architecture or COM or C++, but rather the conventions that we use 
throughout our code.

I'm soliciting feedback, especially in the form of a tip or two from 
fellow reviewers- something simple is fine, I'll probably know what 
you're talking about if you say No tabs or leading interCaps in IDL 
- I'll write up some nice explanations and code.

I've attached the latest version, which should be appearing here in the 
next 30 minutes:
http://www.mozilla.org/hacking/mozilla-style-guide.html

   Alec

Title: Mozilla Coding Style Guide


  

  
Mozilla Coding Style Guide

This document attempts to explain the basic styles and patterns that are used in the mozilla codebase. New code should try to conform to these standards so that it is as easy to maintain as existing code. Of course every rule has an exception, but it's important to know the rules nonetheless!
This is particularily directed at people new to the mozilla codebase, who are in the process of getting their code reviewed. Before getting a review, please read over this document and make sure your code conforms to the recommendations here.


COM and pointers
IDL
Error Handling
Strings
Naming and Formatting code


COM and pointers

  use nsCOMPtrIf you don't know how to use it, start looking in the code for examples. The general rule is that the very act of typing NS_RELEASE should be a signal to you to question your code: "Should I be using nsCOMPtr here?". Generally the only valid use of NS_RELEASE are when you are storing refcounted pointers in a long-lived datastructure. 



IDL

  Use leading-lowercase, or "interCaps"
  When defining a method or attribute in IDL, the first letter should be lowercase, and each following word should be capitalized. For example:
  
long updateStatusBar();

  


  Use attributes wherever possible

Whenever you are retrieving or setting a single value without any context, you should use attributes. Don't use two methods when you could use one attribute. Using attributes logically connects the getting and setting of a value, and makes scripted code look cleaner.
This example has too many methods:

interface nsIFoo : nsISupports {
long getLength();
void setLength(in long length);
long getColor();
};


The code below will generate the exact same C++ signature, but is more script-friendly.

interface nsIFoo : nsISupports {
attribute long length;
readonly attribute long color;
};



  Use java-style constants


When defining scriptable constants in IDL, the name should be all uppercase, with underscores between words:

const long ERROR_UNDEFINED_VARIABLE = 1;


Error handling

  Check for errors early and often
  Every time you make a call into an XPCOM function, you should check for an error condition. You need to do this even if you know that call will never fail fail. Why?

   Someone may change the callee in the future to return a failure condition.
 The object in question may live on another thread, another process, or possibly even another machine. The proxy could have failed to actually make your call in the first place.

  

  Return from errors immediately Every time an error condition happens, your knee-jerk reaction should be to return from the current function.
  Don't do this:


rv = foo->Call1();
if (NS_SUCCEEDED(rv)) {
rv = foo->Call2();
if (NS_SUCCEEDED(rv)) {
rv = foo->Call3();
}
}
}
return rv;


Instead, do this:



rv = foo->Call1();
if (NS_FAILED(rv)) return rv;

rv = foo->Call2();
if (NS_FAILED(rv)) return rv;

rv = foo->Call3();
if (NS_FAILED(rv)) return rv;


Why? Because error handling should not obfuscate the logic of the code. The author's intent in the first example was to make 3 calls in succession, but wrapping the calls in nested if() statements obscured the most likely behavior of the code.


Consider a more complicated example that actually hides a bug:


PRBool val;
rv = foo->GetBooleanValue(val);
if (NS_SUCCEEDED(rv) && val)
foo->Call1();
else
foo->Call2();


The intent of the author may have been that foo->Call2() would only happen when val had a false value. In fact, foo->Call2() will also be called when foo->GetBooleanValue(val) fails. This may or may not have been the author's intent, and it is not clear from this code. Here is an updated version:


PRBool val;
rv = foo->GetBooleanValue(val);
if 

Re: Way OT: Macs and/or PCs suck (was: Re: Right-click problem)

2001-05-10 Thread Garth Wallace

Phillip M. Jones, C.E.T. [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 [EMAIL PROTECTED] wrote:
 
  In article [EMAIL PROTECTED], Phillip M. Jones, C.E.T.
  [EMAIL PROTECTED] writes:
  
  Drag image of floppy to Trash.
  
  DU!!!
 
  Why would I want to delete all the files on my floppy?!?!?!  Clearly
putting
  something into a trash can indicates that you want to discard it, right?
  NOPE!  NOT ON THE MAC!  WELL, SOMETIMES IT DOES, OTHER TIMES IT DON'T!

 If you double click on the image of floppy disk  it opens to a desktop
 file indicating the file contents of the Floppy Disk. If you highlight
 either individually or as a Group (Command -A) and drag the files to
 trash; you empty the contents of the diskette.

 Draging the unopened image of the Diskette to trash unmounts the
 Diskette and ejects the Diskette. doing that does not empty the contents
 of the diskette.

JTK's point is that dragging anything else to the trash readies it for
deletion. However, discs get special treatment--they get unmounted
and ejected. The Mac's behavior in this respect is inconsistent. A
first time user would not be able to intuitively guess that dragging
a disc to the trash ejects it, and many wouldn't attempt it for fear
that the disc's contents would get deleted.

I agree. This is one area where the Mac's behavior seems just plain
odd if you're not already used to it.

   So your getting PC's, and Mac's commands mixed up. Mac's have always
been able
  to use a two/three button mouse provided the Driver (control panel) was
  setup for it (provide by Mouse Maker). I find having to use a two or
  three button mouse confusing.
 
  I find obscure key combos a tad more confusing than another mouse
button, but
  what do I know.  Oh, well, I know that Win9x+ has been rather successful
  while the Mac has not.  Maybe there's a correllation.

Actually, JTK, the Mac was pretty popular when it came out.
Microsoft didn't really make huge inroads until Windows 95. Macs
are still more popular among graphics professionals.

 If you go back a few years you'll discover the idea for Windows was a
 concept stolen from the Macintosh, because Bill Gates feared that the
 Mac was catching on too well and cutting into his revenues.

 If Apple at the time had as deep Pockets as Microsoft did at the time;
 there would not have been Window 3.1, Windows 95, 88 or wharever they
 are up to now.

 I find that right click on a Windows mouse brings up Help.

It generally brings up a context menu. Help may be one of the options.

 There are two methods of calling up help. eith on Desktop, or within an
Application.

  clicking on the help menu. or turning on Show Ballons (Ballon help)
 turning this feature on when the mouse move over a Command in a menu a
 Widow looking something like what you see in newspaper cartoons comes up
 explaing what the command is supposed to do.

Balloon Help is an early version of tooltips.

--
The horror, the funky horror! http://www.crfh.net
How would it feel if you were G-rated? http://framed.keenspace.com
Rocking out to the hits of the NES: http://www.minibosses.com/
Addicted to IRC and proud of it -- irc.nightstar.net






Re: Way OT: Macs and/or PCs suck (was: Re: Right-click problem)

2001-05-10 Thread Christopher Jahn

And it came to pass that Phillip M. Jones, C.E.T. wrote:



[EMAIL PROTECTED] wrote:
 
 In article [EMAIL PROTECTED], Phillip M.
 Jones, C.E.T. [EMAIL PROTECTED] writes:
 
 
 
 [snip]
 
 You have three simple options for ejecting a Floppy (even
 works for the Imation SuperDrive USB Drive and the G3/G4;
 also works with Zip and Jaz 
 Drives).
 
 Highlight the image of the floppy disk:
 Command (Clover Leaf/Apple) Key - E (Eject) or
 Command - Y (Put away) Or
 
 
 Ah, of course!  Even the least computer savvy could have
 guessed either of those!  Come on Mr. Jones.
 
 Drag image of floppy to Trash.
 
 DU!!!
 
 
 Why would I want to delete all the files on my floppy?!?!?!
  Clearly putting something into a trash can indicates that
 you want to discard it, right? NOPE!  NOT ON THE MAC! 
 WELL, SOMETIMES IT DOES, OTHER TIMES IT DON'T! 

If you double click on the image of floppy disk  it opens to
a desktop file indicating the file contents of the Floppy
Disk. If you highlight either individually or as a Group
(Command -A) and drag the files to trash; you empty the
contents of the diskette. 

Draging the unopened image of the Diskette to trash unmounts
the Diskette and ejects the Diskette. doing that does not
empty the contents of the diskette.

 
 in case a disk gets stuck locate a small paper clip and
 locate the small hole usually located where the eject
 button would be on a PC Floppy insert in this hole and
 push. Pops right out. Duhhh! 
 
 Right click hasn't been an option on a Mac (One button
 mouse) never needed it.
 
 Indeed!  With that completely intuitive Select Disk +
 Cloverleaf-E or -Y == Eject the floppy, who needs context
 menus?!!?! 
 
  So your getting PC's, and Mac's commands mixed up. Mac's
  have always been able 
 to use a two/three button mouse provided the Driver
 (control panel) was setup for it (provide by Mouse Maker).
 I find having to use a two or three button mouse
 confusing. 
 
 
 I find obscure key combos a tad more confusing than another
 mouse button, but what do I know.  Oh, well, I know that
 Win9x+ has been rather successful while the Mac has not. 
 Maybe there's a correllation. 

If you go back a few years you'll discover the idea for
Windows was a concept stolen from the Macintosh, because Bill
Gates feared that the Mac was catching on too well and
cutting into his revenues. 

And with just a teeny bit more research, you discover BOTH of 
them stole the idea from Xerox.

If Apple at the time had as deep Pockets as Microsoft did at
the time; there would not have been Window 3.1, Windows 95,
88 or wharever they are up to now. 

Apple had DEEPER pockets than MicroSoft at the time.  But 
MicroSoft had IBM, and thus legitimacy in the eyes of the 
business community.



-- 
}:-)   Christopher Jahn
{:-( Dionysian Reveler
  
Any technology distinguishable from magic is insufficiently 
advanced.
 
To reply: xjahnATyahooDOTcom




Re: Right-click problem

2001-05-10 Thread Matthew Thomas

Jared Breland wrote:
 
 This may have been discussed here previously, but I couldn't find
 anything about it on Bugzilla.

See `context menus display on button up instead of down'
http://bugzilla.mozilla.org/show_bug.cgi?id=49844.

 In Netscape Communicator, the
 right-click context menu appears when you press down the button.  In
 IE and now Mozilla/Netscape 6, the context menu doesn't appear until
 you release the mouse button.  I've always found it much more
 convenient to right-click on something (say, a link), then scroll down
 the the choice I want (say, Open in new window) and just release the
 button to open it, rather than clicking, waiting, selecting, then
 click again.

Naturally.

   I know this seems like I'm just bitching for the hell of
 bitching,

Not really. Context menus are designed to provide quick access to
functions, so it's only reasonable that you should be able to use them
as quickly as possible.

   but this is one of those reasons I've always liked about
 Netscape more than IE.

Judging by the comments in the bug report, you're not the only one.

 Any chance this will be fixed (or, if it's not
 considered something that needs to be fixed, something that will be
 implemented)?  Thanks.
...

It probably won't be fixed unless the current module owner for menus
changes his mind (or is replaced in that position). The bug has been
resolved as WONTFIX.

-- 
Matthew `mpt' Thomas, Mozilla UI Design component owner
http://mozilla.org/