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

Allen Sun

@Allen Sun
About
Posts
11
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • User interface size and monitor resolution
    A Allen Sun

    You can make your app to handle WM_DISPLAYCHANGE message and use GetSystemMetrics() to get the screen size. To resize your window, either you can maximize it, or in a dialog base app, use CResizeCtrl by Herbert Menke http://www.codeproject.com/dialog/resizectrl.asp[^] Hope this will help Allen

    C / C++ / MFC question design

  • Code Project Sister Site
    A Allen Sun

    I would like to see a site like sourceforge devoted to MFC, ATL... etc programming where people can start some small projects and LEARN from working on the projects. I have a name for it, too - codersproject.com :)

    The Lounge question php

  • Windows GUI in 2005
    A Allen Sun

    I was reading an article by Paul DiLascia on MSDN ( http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0198/coolmenu.htm ) And here is what he has to say about the GUI in 2005: "Soon, the world will catch up to my advanced taste—I predict that before the year 2005, Windows will revert to its 3.1 look." Cheers!

    The Lounge com question

  • Farscape
    A Allen Sun

    Anybody here remember the Space:Above and Beyond (SAAB)? Too bad it was killed by the FOX network after only aired one season. I'm still waiting FOX to revive the series tho.. :)

    The Lounge

  • Arrow keys in CDialog
    A Allen Sun

    OK, I just found out the answer. The problem was in the WM_GETDLGCODE. Apparently window dosn't trust anybody but him self to handle the arrow key and tab keys. What I did was just simply return DLGC_WANTMESSAGE in the the OnGetDlgCode() function. (Thanks, MSDN, for burying this tiny IMPORTANT notice in MILLIONS of articles)

    C / C++ / MFC graphics debugging help question

  • Arrow keys in CDialog
    A Allen Sun

    Does any have the problem processing the VK_LEFT\VK_RIGHT key in CDialog? I was trying to do an animation in dialog which a small bitmap will move around the dialog box when an arrow key is pressed (super mario style :) ), however I'm having problem processing the arrow keys in the OnKeyDown(). I tried to trace the messages, and it seems the window is getting the the WM_KEYDOWN message when an arrow key is pressed, but it just ignores it!! (No problem with keys like VK_DELETE, VK_END.. etc., tho). Is there anything special I should know about processing the arrow keys in a dialog box? Thanks!

    C / C++ / MFC graphics debugging help question

  • Microsoft Has Balls Of Steel
    A Allen Sun

    M$ WebBrowser component is popular doesn't mean they SHOULD be part of the OS. It exists becasue IE depends on it, not the OS. Have you tried Mozilla ActiveX component? It does pretty much the same thing as the M$ WebBroser component.

    The Lounge question

  • Next 'Star Wars' movie has been named.
    A Allen Sun

    I think "Jedis Must Die" would be more accurate :)

    The Lounge html com announcement

  • Another evil plot from Microsoft......
    A Allen Sun

    Why kill people with swords when you can have a machine gun? :) Everybody(guys) in our office has Counter-Strike installed and we usually play it after work. CStrike is a pretty old technology (in another word, cheap!), but it's FUN! Don't like your co-workers? Just get a shotgun and blow his head off!! (Don't do this in real life tho :) )

    The Lounge csharp c++ game-dev tools question

  • Creating Webservers
    A Allen Sun

    Have you try apache? www.apache.org

    The Lounge

  • Disposable Phones
    A Allen Sun

    You should see the paper computer they came up.. :)

    The Lounge com
  • Login

  • Don't have an account? Register

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