CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Chris Richardson

Page 1 of 33 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    34
    Views
    3,559

    Xeon...

    You rock man! Every time I come here I always look for your posts cause they are great. I hope you get your wishes to come home every day from the military service.

    BTW, I tried out your...
  2. Replies
    1
    Views
    779

    Definition...

    I suppose the definition suggested at the following website may be correct:

    http://www.mvps.org/btmtz/treeview/

    Look about 1/3 of the way down the page, and you'll see the definition they...
  3. Replies
    4
    Views
    770

    It's really easy

    I have done this countless times (for fun!). Seriously, the best way is to buy a book about compilers (say, the dragon book). That way you will learn about parsing and code generation and parse...
  4. Replies
    1
    Views
    613

    SHGetFileInfo can retrieve the icon for you. ...

    SHGetFileInfo can retrieve the icon for you. Take a look at the SHGFI_ICON flag in the docs for that function.
  5. Replies
    4
    Views
    995

    exp is intrinsic

    "exp" is an "intrinsic" function says the compiler. What's interesting about it is if you switch optimizations in the Release build to be anything but "Maximize Speed" this error doesn't occur. ...
  6. Replies
    1
    Views
    2,385

    AFX_IDS_APP_TITLE is defined in afxres.h in the...

    AFX_IDS_APP_TITLE is defined in afxres.h in the MFC include directory. Did you remove the include directory in the Tools:Options:Directories->Show directories for->"Include Files"?
  7. Replies
    5
    Views
    1,019

    Yeah, I had ScreenToClient in the code I...

    Yeah, I had ScreenToClient in the code I posted...you must have not noticed it :)
  8. Replies
    21
    Views
    2,466

    Thanks :). I'm not trying to start a flame war...

    Thanks :). I'm not trying to start a flame war either; I definately see the validity of you guys' points. I guess I just thought galathaea's response was unnecessarily negative.
  9. Replies
    21
    Views
    2,466

    Ok Ok, forgive me for not caring about the "void"...

    Ok Ok, forgive me for not caring about the "void" on the return type and the ".h" in the includes. Does it really matter that eax (on Intel) won't be set to a meaningful value at the end of the...
  10. Replies
    5
    Views
    1,019

    Do this in your WM_RBUTTONDOWN handler: ...

    Do this in your WM_RBUTTONDOWN handler:



    CRect PictureRect;
    m_YourPicture.GetWindowRect( &PictureRect );
    ScreenToClient( &PictureRect );
    if( PictureRect.PtInRect( point ) )
    {
    // Well,...
  11. Replies
    7
    Views
    978

    Also, if you are using MFC, this is how I've...

    Also, if you are using MFC, this is how I've shown modal dialogs using dialog templates:



    CDialog a_oDlg;
    a_oDlg.InitModalIndirect( pYourDialogTemplate, AfxGetMainWnd() );
    ...
  12. Replies
    7
    Views
    978

    Take a look at DLGITEMTEMPLATE in the MSDN: ...

    Take a look at DLGITEMTEMPLATE in the MSDN:

    DLGITEMTEMPLATE

    This will explain the common values (0x0080, etc.), and how you can specify custom window classes as well.
  13. Replies
    21
    Views
    2,466

    Uh...

    galathaea, if you were serious......How is the code illegal C++?
  14. Well, I don't really think Scribble will help you...

    Well, I don't really think Scribble will help you that much, but here's a link to the sample:

    Scribble On MSDN

    Good luck,
  15. Replies
    4
    Views
    877

    LOL...Excellent response! :D

    LOL...Excellent response! :D
  16. Replies
    8
    Views
    1,238

    To Mick_2002: I love VC6. I wish Microsoft...

    To Mick_2002: I love VC6. I wish Microsoft hadn't turned VC7 into a VB developer's heaven (no offense VB guys). Ugh.

    Anyways, you should take a look at the sample drivers included with the DDK...
  17. Replies
    4
    Views
    877

    LOL, and in contradiction to my last statement,...

    LOL, and in contradiction to my last statement, DON'T expose your privates (except to your girlfriend/wife)! Sorry, couldn't resist...
  18. Replies
    4
    Views
    877

    In my opinion, you should make it public. I try...

    In my opinion, you should make it public. I try and try and try to make data protected or private. But only if it REALLY matters to the internal state of the object, or if I will need to know when...
  19. Replies
    28
    Views
    5,761

    LOL, well, without the quotes of course! Thanx...

    LOL, well, without the quotes of course! Thanx again Xeon!
  20. Replies
    28
    Views
    5,761

    Hey Xeon, it's been a while since I was on...

    Hey Xeon, it's been a while since I was on here....but I saw your last thread on the about box and it mentioned my name. Feel free to use "Chris Richardson" on your about box! It looks really cool...
  21. Replies
    1
    Views
    721

    The Ellipse function will draw circles for you,...

    The Ellipse function will draw circles for you, as long as you specify a bounding rectangle that's a square.
  22. Ok, let's take a look here. The first problem I...

    Ok, let's take a look here. The first problem I see (and it actually took a while to see), is this code inside the CIBMSSchedule::End() function:



    ...
  23. Heh heh

    Shift+F5 - Kills the program being debugged. ;)

    I like to hook up macros to keyboard shortcuts.

    Most of the time I use the Alt+Blah[+Blah] to access things on the menus. I like Ctrl+} to go...
  24. If the code actually gets past both "if"...

    If the code actually gets past both "if" statements, the speed of either one cannot be determined without knowing first the expression in the second if statement. If the second if statement looked...
  25. Take a look at FlushFileBuffers in the MSDN, it...

    Take a look at FlushFileBuffers in the MSDN, it may do what you are looking for.

    Chris Richardson
Results 1 to 25 of 805
Page 1 of 33 1 2 3 4





Click Here to Expand Forum to Full Width

Featured