Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andrew Allen

@Andrew Allen
About
Posts
28
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is it baseball season yet?
    A Andrew Allen

    BTW, Hank Aaron broke Babe Ruth's all-time home run record (714) in 1974 with 755. http://www.people.vcu.edu/~jyucha/HomeRun/300hrclub.html[^]

    The Lounge html com question discussion

  • Chance of a lifetime...!
    A Andrew Allen

    Jump on this deal!;) http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&item=2432601336

    The Lounge com question

  • Flight video?
    A Andrew Allen

    thanks!

    The Lounge question

  • This should probably be...
    A Andrew Allen

    Codin` Carlos wrote: from a Natural History / Selection point of view, mates of different races should probably be the hottest / most attractive / schweet Not long ago, I saw a TV show about some scientific research on the attractiveness of "different" mates. They made the participants (of all races) wear a t-shirt for a day. Then they collected the t-shirts and stored them in a sealed plastic bag for a while. Later, they asked other participants to smell the t-shirts and rate the "attractiveness" of the body odour :wtf: They found that people were generally attracted to the odour of others with a different genetic makeup to their own, i.e. blue eyes attracted to brown eyes, short to tall, etc. etc. So the conclusion was that the tendency in the natural world is towards the greatest genetic diversity :~ As for the tendency in organised society.....? :confused:

    The Lounge

  • Flight video?
    A Andrew Allen

    What's the name of that short (~3 minute) movie from 2-3 years ago where the plane landed on a Los Angeles freeway? It was created by some guys on their home PC and won an award or two.

    The Lounge question

  • Mac commercial ?
    A Andrew Allen

    Take a look, http://www.waveworks.net/mac.html[^] (searched The Lounge since 1/1/03, didn't find it, so I assume it hasn't been posted)

    The Lounge csharp html question

  • Rules from the male side
    A Andrew Allen

    A female friend sent me this, so don't send any flames my way: Men always hear "the rules" from the female side. Now here are the rules from the male side. These are 'OUR' rules! Please note...these are all numbered "1" ON PURPOSE! 1. Learn to work the toilet seat. You're a big girl. If it's up, put it down. We need it up, you need it down. You don't hear us complaining about you leaving it down.. 1. Whenever possible, please say whatever you have to say during commercials. 1. A headache that lasts for 17 months is a problem. See a doctor 1. Sunday = sports. It's like the full moon or the changing of the tides. Let it be. 1. Shopping is NOT a sport. And no, we are never going to think of it that way 1. Crying is blackmail. 1. Ask for what you want. Let us be clear on this one: Subtle hints do not work! Strong hints do not work! Obvious hints do not work! Just say it!! 1. Yes and No are perfectly acceptable answers to almost every question. 1. Come to us with a problem only if you want help solving it. That's what we do. Sympathy is what your girlfriends are for. 1. Anything we said 6 months ago is inadmissible in an argument. In fact, all comments become null and void after 7 days. 1. If you won't dress like the Victoria's Secret girls don't expect us to act like soap opera guys. 1. If you think you're fat, you probably are. Don't ask us. 1. If something we said can be interpreted two ways, and one of the ways makes you sad or angry, we meant the other one. 1. You can either ask us to do something or tell us how you want it done. Not both. If you already know best how to do it, just do it yourself. 1. Christopher Columbus did not need directions and neither do we. 1. ALL men see in only 16 colors, like Windows default settings. Peach, for example, is a fruit, not a color. Pumpkin is also a fruit. We have no idea what mauve is. 1. If it itches, it will be scratched. We do that. 1. If we ask what is wrong and you say "nothing," we will act like nothing's wrong. We know you are lying, but it's not worth the hassle. 1. If you ask a question you don't want an answer to, expect an answer you don't want to hear. 1. When we have to go somewhere, absolutely anything you wear is fine. Really. 1. Don't ask us what we're thinking - unless you are prepared to discuss such topics as baseball, sports, the shotgun formation, or monster trucks. 1. You have enough clothes. 1. You have t

    The Lounge help tutorial question wcf xml

  • Help! Figure out whats wrong! FOR LOOP-ing!
    A Andrew Allen

    I don't see it either. Looks like IE6 swallowed the "<" as an HTML tag. He needs to wrap his sample code with tags.

    C / C++ / MFC help csharp

  • Turning video signal on/off
    A Andrew Allen

    I want to programmatically turn off the video signal so my display will power down into standby. I'd like to selectively turn off each video signal on a dual-channel VGA. I did this years ago by tweaking a VGA register under DOS. Now I'm looking for a Windows API to do it. Any suggestions? Examples? Alternatively, I've heard there's a VESA standard to send device control info via the VGA port? TIA

    C / C++ / MFC json question

  • Web Cam advice!?
    A Andrew Allen

    Thanks for the link John. The webcams I looked at (e.g. QuickCam Pro xxxx) did not have the manual focus. I might try this one. John Cardinal wrote: What do you race? Stocks, rally, bracket / drag? Don't tell my insurance company, but I'm in a few car clubs that have track days on proper race courses (so for insurance purposes, we're not really "racing" ;)). At this time of year, there's almost one event every week (in Colorado). I have an Audi S4 with a "few" modifications :-D

    The Lounge question workspace sales

  • Remote Desktop for Linux???
    A Andrew Allen

    Michael Imamura wrote: Actually, the terminology for the X Window System is a little bizarre....So the X "client" runs on the remote machine, the X "server" runs on the local machine (as backwards as it sounds!) :omg: I defer to you. You're right! So, the user interface is displayed by the X-server, which communicates with the X-client running on The Server. All the processing work is done on The Server and presented back to The Client :confused: Time for a Guinness.

    The Lounge linux question announcement

  • Web Cam advice!?
    A Andrew Allen

    Here's one that I haven't found any answers to, including the manufacturers and "expert" sales people, so I'll defer to the gurus here at The Lounge.... I want to use a USB webcam as a cheap video camera, not as a webcam. I'm thinking of something like a Logitech QuickCam or similar. Virtually all have fixed-focus lenses. Question is: can these webcams focus on "infinity" or are they purely designed for close focal length (i.e. 2-3 ft from PC monitor to chair). I do some amateur car racing and want to setup one or two webcams as a "racecam" -- maybe one on the dashboard, another closer to the road near the front bumper (hence the requirement for a cheap camera!) 320x240 quality is enough for me, I don't need broadcast quality. Maybe I should just go and try myself, but I'd be interested to know if anyone here has setup a similar configuration. cheers Andrew

    The Lounge question workspace sales

  • Remote Desktop for Linux???
    A Andrew Allen

    Michael Imamura wrote: if you have a Win32 X server (such as StarNet X-Win32, WRQ Reflection/X, or Hummingbird Exceed), These apps would be X clients, not servers. The X server is on the Linux box. Code Frog: I agree with Shock, CygWin is a nice X client for Win32 and it's free. The standard Xvnc server under Linux will open a new X windows display for each VNC client. If you want to access the same desktop every time (a la Windows), you'll need a package called x0rfbserver. That opens DISPLAY:0 at startup, keeps it open all the time and accepts VNC client connections.

    The Lounge linux question announcement

  • How to change Combobox style at runtime?
    A Andrew Allen

    Yep, I'm convinced ModifyStyle() doesn't work after the control has been created. I just found this article talking about Listboxes, http://www.codeproject.com/combobox/listbox_tut.asp[^] ... Changing List box Styles at Runtime It is not possible to change these styles at runtime even though ModifyStyle() may give the impression it does. If you want turn the Sort style on and off for example it is best to construct the List box by calling new and Create then deleting it and creating a new one when the style is to be changed. Alternatively you can have 2 List box superimposed and hide the one with the incorrect style. I already thought about overlapping two controls, but I have about 10 in my dialog and at the time it seemed messy in the dialog template. Looks like that's what I'll do. thanks for your help!

    C / C++ / MFC c++ tutorial question

  • Betcha can't...
    A Andrew Allen

    Too easy. Just draw the "6" clockwise, starting at the centre, ending at the top. We see your point though, it's harder rotating the same-side hand and foot in opposite directions.

    The Lounge adobe question career

  • How to change Combobox style at runtime?
    A Andrew Allen

    Hi Eugene, I just tried your suggestion, but it doesn't work. My combobox is derived from CComboBox, I have a member function to do the switch void CMyComboBox::MakeStatic() { VERIFY(ModifyStyle(CBS_DROPDOWN, CBS_DROPDOWNLIST)); } I call MakeStatic() after the combo has been created, but immediately before I load the combo. The ModifyStyle() call returns TRUE - the VERIFY doesn't generate an error. I also tried ModifyStyleEx(), just in case, but it doesn't work either :confused:

    C / C++ / MFC c++ tutorial question

  • How to change Combobox style at runtime?
    A Andrew Allen

    My MFC app is using comboboxes with the CBS_DROPDOWN style (i.e. edit control + drop list). The combos are defined in a dialog template. I want to be able to switch these to CBS_DROPDOWNLIST style (i.e. static control + drop list). My difficulty is that I need to change the style AFTER the comboboxes have been created. (How) can this be done? Andrew

    C / C++ / MFC c++ tutorial question

  • Human Eye vs Digital Camera?
    A Andrew Allen

    I was flying from DC to Denver today. At 37,000ft (11200m), as announced by the pilot, I looked out the window and could easily see tiny white specs moving on the highway below, which I assumed to be trucks. So I got to wondering---if the human eye were a digital cemera, what would the equivalent resolution be? 20Mpixels? 40MPixels? My eyes have a much wider field of vision than my puny Canon G2, though I admit the resolution is not as good at the extremities and it certainly isn't linear across the entire eye. The human body is a wonderful thing, although I don't claim to be the perfect specimen. Anyone here seen any research on this? :~ cheers Andrew

    The Lounge visual-studio question

  • Auto application logout
    A Andrew Allen

    I've got an MFC based database application (built with VS.NET 2002) with a login feature. I want to detect if the user hasn't interacted with the app for a certain timeout period. When I detect this "event", I want to either exit the application, OR lock-out the user and force them to type in a password again. I can handle the code for a timer handler to check flags, and do the exit or login. But how to detect keypresses/mouse movement? I want to avoid rewrites to each of my dialogs and main app. Is there a way to hook into the app's message queue and detect keypresses and mouse activity for all child windows? Or any other simple way? TIA, Andrew

    C / C++ / MFC csharp c++ database visual-studio data-structures

  • Got this in my inbox today
    A Andrew Allen

    I got a similar email the other day....another The Washington Postreader contribution. The Washington Post's Style Invitational once again asked readers to take any word from the dictionary, alter it by adding, subtracting, or changing one letter, and then supply a new definition. Here are this year's winners: 1. Intaxication: Euphoria at getting a tax refund, which lasts until you realize it was your money to start with. 2. Reintarnation: Coming back to life as a hillbilly. 3. Bozone (n.): The substance surrounding stupid people that stops bright ideas from penetrating. The bozone layer, unfortunately, shows little sign of breaking down in the near future. 4. Foreploy: Any misrepresentation about yourself for the purpose of getting laid. 5. Cashtration (n.): The act of buying a house, which renders the subject financially impotent for an indefinite period. 6. Giraffiti: Vandalism spray-painted very, very high. 7. Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it. 8. Inoculatte: To take coffee intravenously when you are running late. 9. Hipatitis: Terminal coolness. 10. Osteopornosis: A degenerate disease. (This one got extra credit.) 11. Karmageddon: It's like, when everybody is sending off all these really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 12. Decafalon (n.): The grueling event of getting through the day consuming only things that are good for you. 13. Glibido: All talk and no action. 14. Dopeler effect: The tendency of stupid ideas to seem smarter when they come at you rapidly. 15. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 16. Beelzebug (n.): Satan in the form of a mosquito that gets into your bedroom at three in the morning and cannot be cast out. 17. Caterpallor (n.): The color you turn after finding half a grub in the fruit you're eating. And the pick of the literature: 18. Ignoranus: A person who's both stupid and an asshole.

    The Lounge com tools help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups