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

Alex Taylor

@Alex Taylor
About
Posts
16
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Change color of the Form
    A Alex Taylor

    I've just had a look, and the view *does* have WM_ERASEBKGND. There is no command, this is called whenever the area is erased and you will need to draw the background. Something like this:

    CRect rc;
    GetClientRect(&rc);

    pDC->FillSolidRect(&rc, RGB(255,0,0));
    //Do not call base method

    Alex

    C / C++ / MFC question

  • How do you know if a control is clicked
    A Alex Taylor

    If you want to capture a button being pressed, you would handle the BN_CLICKED message for that control within the dialog that holds it. Alex

    C / C++ / MFC

  • Change color of the Form
    A Alex Taylor

    OnEraseBackground. Draw the colour you want here instead. Alex

    C / C++ / MFC question

  • How to open a file?
    A Alex Taylor

    Look up CFile. Alex

    C / C++ / MFC c++ tutorial question help learning

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Are you starting something, buddy? Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Actually the corrrect spelling is mousii. Yesterdays effort was a piss-take. What are you...stupid?!?!?!?! ;-) Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    I think you'll find the correct grammer is 'Mice?'. Idiot. Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    The main point of my thesis is the incredible sucking caused by Jonathon Lockett. The sucking will be proved by mathematical induction from the axiom of "Jonathon Lockett Personality Sucking Disorder" [GRAUS01]. Once proved an examination of the implications of the formation of the hypothesis will ensue. It is clear from the outset, however, that this will not be difficult to prove or indeed apply to real-world situations. [For a full copy of this thesis, contact Alex Taylor. ISBN 0 3822 038483] Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Crawls into fetal position in corner...sucks thumb and wonders... Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    No, YOU'RE FIRED!!! Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Hey now calm down. This is just turning into a name calling war. For starters everyone knows that trackballs are much smoother and more responsive than mouses. So everyone just calm down. Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    My current project is a next generation visualization tool that will leave electric image, softimage, maya and all those other tools for dead. First, could you tell me how to draw on the screen? I need some functions like ShowSphere(). What do I include to get these? Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Elvis isn't dead. He's coming to whoop your ass! Alex

    The Lounge com

  • Good clip for Bon Jovi fans
    A Alex Taylor

    Hey now, hey now... This is just falling into a name calling session. Now does it really matter if jON bON jOVI (that's the correct capitilization isn't it?), sucks or rocks? Everyone knows that Elvis would kick his butt in a street brawl any day. Alex

    The Lounge com

  • Really Silly Question I Think
    A Alex Taylor

    When U are using the MFC there are lot many classes are there which gives the functionality of vector. I realise that there are people here who do not speak English as a first language, but fair dinkum - 'there are a lot many classes are there' ??? 'like somay classes are there' ??? 'Initiliza' ??? Carray, CList, SafeArray like somay classes are there. U can Initiliza the classes and use it directly in your program. If you are not using MFC then inclede all the std header files. To use CArray ( which is the same as a vector in it's O notation behaviour ( STL is defined in terms of O notation - vector was obviously meant to be an array, but it does not HAVE to be if someone comes up with a better idea )) you need to use tempplate arguments, you actually need to specify two rather than one. CList impliments a list, like deque. A list has totally different behaviour to an array in terms of speed ( quicker to remove items in the middle, slower to find them ). If you are not using MFC then you do not have CArray/CList/CSafeArray, unless there are alternate versions in the ATL headers. Either way, the STL is more powerful, more flexible and cross platform. I recommend you use the MFC classes for the sake of learning them, but stick to STL. I also recommend you write your own list and array class, just to get a good idea of what goes on under the hood, but still use STL. I recommend the person who wrote this reply also learn the difference between container types and consider learning the STL. Christian logged in as Alex

    C / C++ / MFC c++ question graphics help

  • Really Silly Question I Think
    A Alex Taylor

    Duh - that gets me every time. I obviously didn't look at my post. < > (just testing) Christian who just swapped PC's with Taylor

    C / C++ / MFC c++ question graphics help
  • Login

  • Don't have an account? Register

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