Search:
Type: Posts; User: Chris Richardson
Search:
Search took 0.19 seconds.
-
August 1st, 2003, 11:30 PM
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...
-
June 24th, 2003, 05:49 PM
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...
-
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...
-
SHGetFileInfo can retrieve the icon for you. Take a look at the SHGFI_ICON flag in the docs for that function.
-
April 18th, 2003, 02:30 PM
"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. ...
-
March 6th, 2003, 12:01 AM
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"?
-
March 5th, 2003, 01:25 PM
Yeah, I had ScreenToClient in the code I posted...you must have not noticed it :)
-
March 5th, 2003, 02:22 AM
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.
-
March 5th, 2003, 01:47 AM
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...
-
March 5th, 2003, 01:08 AM
Do this in your WM_RBUTTONDOWN handler:
CRect PictureRect;
m_YourPicture.GetWindowRect( &PictureRect );
ScreenToClient( &PictureRect );
if( PictureRect.PtInRect( point ) )
{
// Well,...
-
March 5th, 2003, 12:58 AM
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() );
...
-
March 5th, 2003, 12:57 AM
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.
-
March 5th, 2003, 12:43 AM
galathaea, if you were serious......How is the code illegal C++?
-
March 5th, 2003, 12:27 AM
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,
-
March 1st, 2003, 02:18 AM
LOL...Excellent response! :D
-
March 1st, 2003, 01:05 AM
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...
-
March 1st, 2003, 01:01 AM
LOL, and in contradiction to my last statement, DON'T expose your privates (except to your girlfriend/wife)! Sorry, couldn't resist...
-
March 1st, 2003, 12:59 AM
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...
-
February 28th, 2003, 11:24 PM
LOL, well, without the quotes of course! Thanx again Xeon!
-
February 28th, 2003, 05:22 PM
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...
-
February 28th, 2003, 05:07 PM
The Ellipse function will draw circles for you, as long as you specify a bounding rectangle that's a square.
-
December 10th, 2002, 11:27 PM
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:
...
-
November 20th, 2002, 01:19 AM
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...
-
November 3rd, 2002, 08:39 PM
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...
-
November 3rd, 2002, 07:59 PM
Take a look at FlushFileBuffers in the MSDN, it may do what you are looking for.
Chris Richardson
|
Click Here to Expand Forum to Full Width
|