• (cs) in reply to ProffK

    Y'know, there's nothing in the code that diferentiates between a right and a left click here. I think the guy was trying to cook up some sort of cool right-left two click event, but his 'mere' 3-4 years experience have left him floundering.

    I think this might catch on.....but perhaps not.



  • Welcome To The Machine (unregistered) in reply to Mung Kee

    Mung Kee:
    My "web savvy" wife must be hip to this functionality, since she annoying clicks every link on the web twice.

    Mine does too. We should set up a support group or something...

  • Daniel Migowski (unregistered) in reply to Gary R
    Gary R:
    What happens if the user does a genuine double-click?  IIRC, you will get one Click event, then a DblClick event?  So this code will count it as a single click?


    I once wrote an Access-App, that went into Developer Mode, when you played a melody with your mouse on the application logo. It was like click - diclick-click - .. - click-click! No one would have found that!! At it was fun to implement it ;).

    How do you guys hide stuff in your apps?
  • (cs) in reply to Welcome To The Machine

    You know, I'm really surprised that nobody else has questioned just what it is that is being double clicked on this form...

    ...a LABEL. If only there were some other GUI elements designed for being clicked, like a button or something. Instead we all have to use arbitary plain text to click on.

    Next task - seamlessly integrate 23 textboxes above each other to overcome the problem of not having multi-line textboxes. It'll also need a sextuple-click event - that is [left, left, right, left, right, left] click. Heck, if the user has enough mouse buttons, assign a note to each one and get them to play 'twinkle twinke little star' before we perform the action.

  • Daniel Migowski (unregistered) in reply to Gary R
    Gary R:
    What happens if the user does a genuine double-click?  IIRC, you will get one Click event, then a DblClick event?  So this code will count it as a single click?


    I once wrote an Access-App, that went into Developer Mode, when you played a melody with your mouse on the application logo. It was like click - diclick-click - .. - click-click! No one would have found that!! At it was fun to implement it ;).

    How do you guys hide stuff in your apps?
  • davidbarrett (unregistered) in reply to uniposter

    <FONT face=Arial size=2>Ok I can understand the speakers but why would a mute have a problem with using a monitor?</FONT>

  • (cs) in reply to davidbarrett

    "How do you guys hide stuff in your apps?"

    A hidden edit field in the About box. One that's not a tab stop, and that has an unusual keyboard shortcut.

    And then you have to type a password ...

  • (cs) in reply to Daniel Migowski
    Anonymous:
    Ok I can understand the speakers but why would a mute have a problem with using a monitor?

    Because se can't hear all those screaming loud colours used in bad webdesign.

    Anonymous:
    How do you guys hide stuff in your apps?

    I'm still pondering a creative way to activate the muppet-photos on our company's mugshot page.

    Any ideas? I'm thinking clicking a rythm would be too far on the side of convoluted, but a single- or double-click on a Secret Place is so cliché.
  • (cs) in reply to dhromed

    PS.

    About the icons in a Windows titlebar:

    Some programs, like IE, allow their icon to be used as a draggable file object. If you click on that icon, the menu appears 0.5sec after mousedown, or immediately after mouseup if mousedown sustained for 0.5+ seconds.

    If I click on the firefox icon, the menu appears onmousedown immediately.

    The latter method allows you to drag onto a menu item, and let go to activate. That's fast, but requires more concentration than click-choose-click, so I only use it when I'm in a bit of a hurry.

    I rarely double-click the icon to close (though more often than 'never'), and for fast access to the menu I often right-click the titlebar, because I always maximise my windows, and that makes the titlebar infinitely large, lust like the icon and the Close button. Big buttons = faster access. Infinite buttons equals VERY FAST access.

  • (cs) in reply to Hank Miller

    Trolls? here? Damn...

    You can configure the interval time for a double-click you know...

  • Masklinn (unregistered) in reply to Rick Mogstad
    Rick Mogstad:
    The triple click has actually been implemented in a lot of products.  For example, in many windows apps you double-click to select a word, then click again (a.k.a triple click) to select the whole line. 

    The only logical reason I can see for this code to exist (and im stretching a bit here) is so that the single-click event doesnt fire if they double click, and ONLY the double click event fires.  Kind of sucks to have to wait .5 seconds (or whatever) for your single click to be processed though.

    And Opera actually manages to fit up to 4clics: nothing, word, line, paragraph

    Granted, they're cheating: there is no timer, clicking multiple times at the same place activates an event that circles between state, but yet... 4 clics...

    I wish Firefox had it though, paragraph selection is nifty

  • (cs) in reply to Daniel Migowski

    Ah yes, hidden developer backdoors, I've done that one. In a POS system for a bookstore, it involved entering a certain invalid ISBN, and when prompted for the name (to do a text search) enter "Fake book" or whatever it was

    Wasn't fun to put together, but at least it worked.

  • (cs)

    It's the Andrew Parsons Project! (couldn't resist [8-|] )

  • (cs) in reply to dubwai
    dubwai:
    My old boss showed me one that he created with a triple right-click once.

    Now THAT's what I call awkward.

  • (cs) in reply to Mung Kee

    Mung Kee:
    My "web savvy" wife must be hip to this functionality, since she annoying clicks every link on the web twice.

    [:)] I thought my x-wife was the only one who did this [:)]

  • (cs) in reply to dubwai
    dubwai:
    My old boss showed me one that he created with a triple right-click once.


    Triple right-click?!  Isn't that like the "triple lindy"?  No one has ever done it in competition.
  • (cs) in reply to Rick Mogstad
    Rick Mogstad:
    The triple click has actually been implemented in a lot of products.  For example, in many windows apps you double-click to select a word, then click again (a.k.a triple click) to select the whole line. 

    I'm using Opera as the browser of my choice, and it supports quadruple-clicking to select a paragraph. It also shows the context menu when double, triple or quadruple-clicking. Very handy :-)

  • (cs) in reply to lucio
    lucio:
    dubwai:
    My old boss showed me one that he created with a triple right-click once.

    Now THAT's what I call awkward.

    It was a picture of a client's face on the body of papa smurf.

  • (cs) in reply to ProffK

    ProffK:

    I won't flame you, but Rube Goldberg needs a flame or two.  I'd never seen his work before now, but apart from using only one of his cartoons to describe excess detail/work, the rest a pretty useless.  Each one is the same joke over again.  I fail to see how anyone could ever in all time remain amused by these drawings longer than halfway through the first one they ever see.

    You've got to realize that when these drawings were done, there was relatively little entertainment available.  It wasn't like now where there are thousands of ways to entertain yourself at any given moment.  People were bored.

  • (cs) in reply to Bellinghman

    Bellinghman:
    That wasn't 3-4 years experience. That was 3-4 days, repeatedly.

    <FONT face="Courier New" size=2>keanu_v("my own private double click") ;</FONT>

  • (cs) in reply to Daniel Migowski

    Anonymous:
    Gary R:
    What happens if the user does a genuine double-click?  IIRC, you will get one Click event, then a DblClick event?  So this code will count it as a single click?


    I once wrote an Access-App, that went into Developer Mode, when you played a melody with your mouse on the application logo. It was like click - diclick-click - .. - click-click! No one would have found that!! At it was fun to implement it ;).

    How do you guys hide stuff in your apps?

    <FONT face="Courier New" size=2>in the comments.  your email address has been added to the list of job candidates that we will never hire.</FONT>

  • Hank Miller (unregistered) in reply to dubwai
    dubwai:

    Totally.  It be nice if there were some way to like, I don't know, set the double-click speed.   There isn't one that I know of.  Not in the control panel.  Definitely not under 'mouse' and not in the 'double click speed' section.



    yeah...  And wouldn't it be nice if you could make the speed slower without having to double click on something?   Too bad you can't.  (IIRC Windows XP can, previous versions of Windows cannot)

    None of this changes the fact that double click is a bad idea.   A mouse needs more than one button so you don't have to overload selection with action.

    C++ gets a hard time because the shift operators are overloaded for output, even though there is no reason you would mean shift on an output stream.   This is worse, one button is overloaded for selection and action, and you will often mean both at different times to the same thing.
  • Nevermind (unregistered) in reply to Hank Miller

    Anonymous:

    yeah...  And wouldn't it be nice if you could make the speed slower without having to double click on something?   Too bad you can't.  (IIRC Windows XP can, previous versions of Windows cannot)

    You can do that in any version of windows without even touching the mouse...

  • (cs) in reply to Hank Miller
    Hank Miller:
    dubwai:

    Totally.  It be nice if there were some way to like, I don't know, set the double-click speed.   There isn't one that I know of.  Not in the control panel.  Definitely not under 'mouse' and not in the 'double click speed' section.

    ...

    None of this changes the fact that double click is a bad idea.   A mouse needs more than one button so you don't have to overload selection with action.

    ...

    One click selects, a second executes the action.  What's hard to understand about that?  It's the most intuitive thing in Windows.

    The concept of overloading controls is not bad design.  It's actually a very good design.  Instead of having 500,000 controls, you a few that are context senstive.

    And another thing.  People don't complain about overloaded operators.  Proper overloading can make code easier to understand.  People don't like it when overloading abused as it often is.

  • (cs) in reply to RayS

    RayS:
    You know, I'm really surprised that nobody else has questioned just what it is that is being double clicked on this form...

    ...a LABEL. If only there were some other GUI elements designed for being clicked, like a button or something. Instead we all have to use arbitary plain text to click on.

    Next task - seamlessly integrate 23 textboxes above each other to overcome the problem of not having multi-line textboxes. It'll also need a sextuple-click event - that is [left, left, right, left, right, left] click. Heck, if the user has enough mouse buttons, assign a note to each one and get them to play 'twinkle twinke little star' before we perform the action.

     

    From the code I see, it doesn't seem to be possible that although the event handler starts with "LBL", it doesn't seem like it is a handler for labels...  You never know what kind of naming convention the author of the code has...

  • (cs)

    Ah man... I never knew that VB's tag property was as string... As a Delphi programmer would only gets integer tags, I feel cheated!!

  • captain damage (unregistered) in reply to Hank Miller

    I knew this math professor who lost the ability to double click because of Lyme Disease.

  • (cs) in reply to rogthefrog
    rogthefrog:

    whojoedaddy:
    That's just funny. They have the ability to extend it beyond two clicks though ... triple click anyone?

    In fact, it's very easy to make it go to ELEVEN!!!!!!!!!!



    Supervisor:  Can this user interface have a different event if the user clicks 10 times in a row?

    Dumb@$$:  Yeah, this one goes to eleven?

    Supervisor:  Maybe we could patent that...
  • otis mukinfus (unregistered) in reply to chb

    -.. .  -. ..... --. .  -.-

    [;)]

  • RP (unregistered) in reply to otis mukinfus
    Anonymous:

    -.. . -. ..... --. . -.-

    [;)]

    "DEN5GEK"?

  • (cs) in reply to otis mukinfus

    "-.. . -. ..... --. . -.-"

    DEN5GEK ???

    Although, this has inspired me to write a morse code translator... Maybe even a new protocol - TCP/MC ??

  • (cs) in reply to Xepol
    Xepol:
    "-.. . -. ..... --. . -.-"

    DEN5GEK ???

    Although, this has inspired me to write a morse code translator... Maybe even a new protocol - TCP/MC ??



    -.. .- .. .-.. -.-- / .-- - ..-.

    I'm inclined to believe that was the actual code he was looking for.. as to a code translator, a quick google found this:

    http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//morsecode.scphillips.com/jtranslator.html&ei=DU4DQ7-gBceGau6zvUI

    As to a TCP/MC protocol, there are protocols in place that allow you to utilize HAM frequencies for transmittal of data;  route that through a phone/ethernet bridge and voila!  HAM radio internet.

  • (cs)

    Reminds me of using Internet Explorer DLL's (shdocvw.dll)

    There are functions called

    Navigate
    Navigate2

    NavigateComplete
    NavigateComplete2

    Still wonder what the difference is. Or perhaps if they need to add a new parameter they will create teh Navigate3

     

    CE

     

  • (cs) in reply to dance2die
    dance2die:

    RayS:
    You know, I'm really surprised that nobody else has questioned just what it is that is being double clicked on this form...

    ...a LABEL. If only there were some other GUI elements designed for being clicked, like a button or something. Instead we all have to use arbitary plain text to click on.

    Next task - seamlessly integrate 23 textboxes above each other to overcome the problem of not having multi-line textboxes. It'll also need a sextuple-click event - that is [left, left, right, left, right, left] click. Heck, if the user has enough mouse buttons, assign a note to each one and get them to play 'twinkle twinke little star' before we perform the action.

     

    From the code I see, it doesn't seem to be possible that although the event handler starts with "LBL", it doesn't seem like it is a handler for labels...  You never know what kind of naming convention the author of the code has...


    Well labels do have a click event, so it is possible.

    Good point though that you just can't be sure. Why am I assuming that someone who'd write this would have a sane naming scheme after all?  :)
  • (cs) in reply to Xepol

    Xepol:
    "-.. . -. ..... --. . -.-" DEN5GEK ???

    <FONT face="Courier New" size=2>and bickity-bam! we have a new internet meme!  [<:o)]</FONT>

  • nxt (unregistered) in reply to dhromed

    Any ideas? I'm thinking clicking a rythm would be too far on the side of convoluted, but a single- or double-click on a Secret Place is so cliché.

    Click2, of course :)

  • Mark Steward (unregistered) in reply to JThelen

    JThelen:
    Xepol:
    "-.. . -. ..... --. . -.-" DEN5GEK ??? Although, this has inspired me to write a morse code translator... Maybe even a new protocol - TCP/MC ??


    -.. .- .. .-.. -.-- / .-- - ..-.

    I'm inclined to believe that was the actual code he was looking for.. as to a code translator, a quick google found this:

    http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A//morsecode.scphillips.com/jtranslator.html&ei=DU4DQ7-gBceGau6zvUI

    As to a TCP/MC protocol, there are protocols in place that allow you to utilize HAM frequencies for transmittal of data;  route that through a phone/ethernet bridge and voila!  HAM radio internet.

    Actually, not too unusual - unlike implementations of TCP over CP per RFC1149 (http://www.blug.linux.no/rfc1149/).

  • kimo_sabe (unregistered) in reply to dhromed
    dhromed:
    Anonymous:
    How do you guys hide stuff in your apps?

    I'm still pondering a creative way to activate the muppet-photos on our company's mugshot page.


      How about CSS display:none; and an alternate style sheet?  IE won't let you select it, and most Firefox/Opera/etc users probably won't notice it's there.
  • (cs)
    Alex Papadimoulis:
    if a user clicks one time ("Click") a different action is performed than if she clicks two times ("Click2").
    I don't exactly remember where I've seen this but a GUI framework (Qt or Cocoa maybe) allows you to check the number of times a button has been clicked on a component:

    1: single-click 2: double-click ... 58: 58-clicks

  • (cs) in reply to Xepol

    Applying spaces (that are not well done in the code) it is DE N5GE K.

    Translation: DE (This is) N5GE (amateur radio {ham} callsign) K (over)

Leave a comment on “I Call It The &quot;Click2&quot;”

Log In or post as a guest

Replying to comment #:

« Return to Article