topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday January 27, 2026, 1:29 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 200 201 202 203 204 [205] 206 207 208 209 210 ... 246next
5101
Not sure exactly what you're after - Do you want/need to have a global system lever hot key registered? Or do you just want an application to look for/respond to A + B?

If it's application level you can use the below (snipped from an office project) in the message loop to get/capture/respond to keyboard or mouse events - combining them should be fairly straight forward.
Code: C++ [Select]
  1. //-------------------------------------+++--> END of Case WM_SYSCOMMAND
  2. //==================================================================================
  3.         case WM_NOTIFY: {
  4.                 LPNMLISTVIEW pnm = (LPNMLISTVIEW)lParam;
  5.                 //------------------------------------------------------------------------------+++-->
  6.                 if(((LPNMHDR)lParam)->code == LVN_KEYDOWN) { //======== Capture Key Strokes Here.  <<<
  7.                         hListView = GetWindow(hWnd, GW_CHILD); //-> ListView Child Control Handle
  8.                         LPNMLVKEYDOWN nmkey = (LPNMLVKEYDOWN)lParam;
  9.                         switch(nmkey->wVKey) {
  10.                           case VK_RETURN:
  11.                                 if((int)SendMessage(hListView, LVM_GETNEXTITEM, -1, LVNI_SELECTED) != -1) {
  12.                                         GetPartsOrderDetails(hListView, FALSE);  // Open Selected Order(s)
  13.                                  }else{ //----------------------------------//--+++-->
  14.                                         GetPartsOrderDetails(hListView, TRUE); // Give User Error Message
  15.                                 } break;
  16.                         }
  17.                 }
  18.                 //------------------------------------------------------------------------------+++-->
  19.                 if(((LPNMHDR)lParam)->code == NM_DBLCLK) { //========= Capture Mouse Clicks Here.  <<<
  20.                                 HWND hListView = GetWindow(hWnd, GW_CHILD); //-> ListView Child Control Handle
  21.  
  22.                         if((int)SendMessage(hListView, LVM_GETNEXTITEM, -1, LVNI_SELECTED) != -1) {
  23.                                 GetPartsOrderDetails(hListView, FALSE);  // Open Selected Order(s)
  24.                          }else{ //----------------------------------//--+++-->
  25.                                 GetPartsOrderDetails(hListView, TRUE); // Give User Error Message
  26.                         }
  27.                  }
  28.         } //------------------------------------------------+++--> END of Case WM_NOTIFY
  29. //==================================================================================

Sorry I couldn't find a combo'ed example - I know I've done it somewhere - So it can't be too hard.
5102
Living Room / Re: Does Flash or java make websites suck?
« Last post by Stoic Joker on September 09, 2010, 07:50 PM »
(Perhaps it's best not, but) Part of me want's to say yes Sooooo badly...

 :D
5103
Living Room / Re: Does Flash or java make websites suck?
« Last post by Stoic Joker on September 09, 2010, 07:40 PM »
Um... Can I forward the above rant to the brass where I work so they stop bugging me about adding (read centering the page around) some silly-assed flash widget to the company website?
5104
General Software Discussion / Re: GlassPrompt 1.1
« Last post by Stoic Joker on September 09, 2010, 06:28 PM »
A transparent Command Prompt - I have no idea what to do with it - But it's just to cool to not find a use for.

Now here's a question: can it launch a transparent administrator command prompt? Seems like I fought with something like that awhile back - I'll send you the code I ended up with if you like.
5105
General Software Discussion / Re: What HTML5 can do -- cool site
« Last post by Stoic Joker on September 09, 2010, 07:07 AM »
little wheel just keeps spinning round and round...

I had the same problem with Firefox, which it allegedly supports.

It actually just kind of depressed me thinking about how much has changed since then.
Me too, so I'm kinda glad it didn't load. :)
5106
Is there a way to see the programming language without having to ask the authors themselves?  Is there some way to just analyze the files to see what they are written in?  It sounds like Delphi and C++ are usually pretty zippy.

There are a medley of purpose built tools for this, but just as a Quick-N-Dirty do anywhere:

Most anything written with Borland/Delphi/whatever-there-name-is-now can be spotted by just looking at the interface. The default (dev suite) icons, dialogs, toolbars, etc. are frequently used and can be easily spotted.

Look in program's directory, the .dll's (and their icons) can be a dead give away as to which compiler/language it was written in.

The size of the binary can also be a tell tail sign.

Open the binary with notepad and look at how the code flows. You will quickly spot patterns that can clue you into it origin.
5107
I even ask them sometimes if they are annoyed, and they say whatever.
...and that is why the term Sheeple was coined. ;)

Keep the faith man, you are not alone.
5108
To be honest, I'm on the edge of caving myself. The IMS I did for our production department is lightning fast and less than 300Kb ... However, it took me a bloody year to write the damn thing.
5109
Why is this?  What is going on?  If those other programs are slower, why do people keep using it?  I've asked this question before, and the response I've gotten is something like, "Well, it depends on the programmer.  Java and .net can be just as fast as C++ if it's done right."  Now I'm willing to believe that, but why do I usually see otherwise?
Speed of development and $$$ - Sure Pure Win32 (which I work in) is fast at runtime, but the development time is much longer. With .NET (MFC and the other RAD/OOP tricks) very little time is spent coding the UI because everything is basically drop-in. With C++, you gotta manually code every single line of the UI code yourself. If the objective it to rush something to market ($$$) Pure Win32/API C++ is a no-no.

I'm not really sure on the Java front. Only reason (that I know of) to use it for an app is to make something cross platform quickly. I'd guess being that Java runs virtualized it's doomed to lag a bit behind native code for execution speed.
5110
N.A.N.Y. 2011 / Re: NANY 2011 - Backup Verification Utility
« Last post by Stoic Joker on September 03, 2010, 06:43 AM »
Hm... Backup verification with Emailed report... Portable is nice, but if it could be run as a service (install/uninstall from commandline) that would be handy.
5111
Living Room / Re: tc1100 tablet pc dies before i've even set it up
« Last post by Stoic Joker on September 03, 2010, 06:31 AM »
I've always been a pencil & paper fan; then I flush out and digitise my notes when I get back to the office. The LE1700 looks cool, but 3.3lbs?

*Shrug* ...Might not be too bad come to think of it. I've got the sales manager's HP Mini netbook sitting on my desk now, and it's ok at 2.4-2.6-ish. The tablet style will have better balance so it could actually be better.
5112
a Dell business machine that it doesn't come loaded with crapware?
Yes, but it depends on your definition of "CrapWare"... :)

The business machines allow you to configure a machine without any AV software (McAfee & Norton being the biggest crapware offenders). The Dell support software crap is still there but it's not that hard to disable/remove - Other than that it's just Windows.

I'm replacing a network today, and have a batch of Precision T1500s to unbox. I'll make a note of what (if anything) is on them as they're supposed to have been delivered "clean".
5113
Living Room / Re: tc1100 tablet pc dies before i've even set it up
« Last post by Stoic Joker on September 02, 2010, 01:46 PM »
<Yoda> Cheaply forth you must go with spares!

I would have thought:

Cheaply forth you go, spares you have!

But that lacks the sense of urgency that the word must adds, and everything Yoda said was incredibly important... (hehe)
5114
Living Room / Re: tc1100 tablet pc dies before i've even set it up
« Last post by Stoic Joker on September 02, 2010, 07:15 AM »
Go forth cheaply, and with spare parts... ;)

<Yoda> Cheaply forth you must go with spares!
5115
What's ridiculous is that so often Apple bides it's time and THEN releases a ______-killer piece of heardware that then A. becomes the market leader and the gold standard in that segment and B. (and FAR more annoyingly) almost immediately becomes generally "recognized" as the "first" such product in the segment! There WERE mp3 players before the iPod, there WERE tablets LONG before the iPad, there WERE smartphones (possibly even touchscreen smartphones?) before the iPhone, and there WERE computers before the Mac, etc.

...and the one that really takes the cake is the 30+ year old 1/8" stereo jack that suddenly got renamed to an iPhone plug.
5116
Living Room / Re: tc1100 tablet pc dies before i've even set it up
« Last post by Stoic Joker on September 01, 2010, 12:01 PM »
I've found that shotguns work wonderfully for that type of "repair".

 :D
5117
I hate to be one of those "good ol days" curmudgeons, but seriously, I think people are comically afraid of peacefulness...what you're calling boredom I'm calling peaceful times.  People just have a hard time not doing anything and just thinking or relaxing.
Actually I used the term boredom to be sarcastic, so we are indeed on the same page there. And at 45 I've already resigned myself to becoming a curmudgeon as the inevitability has become rather clear. I'm Okay with it. :)
5118
Okay hating technology was a bit broad, maybe it more just the (down the marketing toilet) direction it's going these days. I like computers, and still enjoy working on/with them, but... The whole cell phone/PDA/Epal dependency just irks the hell outa me. Why is it that all of a sudden nobody is allowed to be considered Kewl unless they've got enough electronic gizmos strapped on that they could pass for  :)ing Batman? I-just-don't-get-it...and I'm not sure I want to.

Why the hell do we suddenly seem to need to be entertained/directed/informed/connected every second of every waking minute? Are we that afraid of being lonely? Boredom wasn't really fatal...last time I checked.
5119
While I have to admit I've been enjoying this roll you've been on, I've just got to ask... Are you having an I was born in the wrong century/hate technology moment?
5120
ps: did you know their domain name used to be ExpertSexChange.com? (emphasis mine)
...Because nobody wants to have their winky modified by an amature.
5121
Living Room / Re: Google PowerMeter: One step closer to the Google Toilet
« Last post by Stoic Joker on August 31, 2010, 04:00 PM »
They had one of those Conserve Energy/Green Earth campaigns in our town a few years back. Conned everybody into buying a bunch of (big ticket) appliances etc. so they could "Save Money" (total crock of shit that was).

Power companies profits started to dip due to so many folks conserving energy ... so they raised the rates to compensate - now the bills are almost twice as high as they were before we started to (conserve...) "Save Money" (Yeah, for them).
5122
General Software Discussion / Re: 27 Good Reasons to Love Linux
« Last post by Stoic Joker on August 31, 2010, 03:00 PM »
Yes, doing something for one's self is the best way to learn, but when it's been done thousands of times over, why spend the time googling when someone very well might already have that answer?

But when that someone has had to answer that same question thousands of times over, just because everyone wants their hands held, of course they get frustrated.
That transcends all OS's - I have to grit my teeth every time I go to troubleshoot a network only to find that once again some clown has borked DNS on a Windows domain. It's incredibly simple to setup properly - but gets screwed-up constantly by folks what don't RTFM. *Shrug* Never-the-less, I will persist in answering the question for the 9,000 time - or 10,000 (as needed) ... if only in an attempt to minimize the times I must walk into the aftermath.

Any well defined question deserves a clear answer.
5123
Living Room / Re: MIT's biopic of 4chan's founder, Chris Poole (moot)
« Last post by Stoic Joker on August 31, 2010, 12:14 PM »
;D
unique mix of humor, pornography, offensiveness, and, at times, borderline legality.

I did use the term Thicker for a reason ... I was assuming the key word there was mixture - anticipating a percentage other than 95% - Scrolling past it wasn't working. - There was no end.  :huh:
5124
Living Room / Re: MIT's biopic of 4chan's founder, Chris Poole (moot)
« Last post by Stoic Joker on August 31, 2010, 11:31 AM »
___________________________
If you haven't visited 4chan yet,
...Don't do it while you're at work - Zoiks!

Can we get an NSFW tag on that for those of us thicker folk?
5125
Experts-exchange you can see the answers if you visit the site via google search results. Some are actually good but as far as 'business model' goes it's pretty much anti-spirit-of-internet

Does that still work?  I'd read somewhere that this was because of the way that google cached the site, but they'd complained and google stopped caching certain sites.


I think all you've ever had to do is scroll to the bottom of the page to see the solutions.

Quite true, and there is frequently some very good (expert...) info - saved my ass more than a few times - but outside of what is chosen to "share" (try a search) you quickly get hit with their rather staggering membership fee...Yikes!
Pages: prev1 ... 200 201 202 203 204 [205] 206 207 208 209 210 ... 246next