Search:
Type: Posts; User: petszk
Search:
Search took 0.03 seconds.
-
September 21st, 2012, 03:37 AM
I did play around with a number of different styles in the OnApplicationLook() function, but none of them seemed to affect the menu spacing.
Creating a default, dummy, MDI application thru the...
-
September 20th, 2012, 01:06 AM
I *could*, and will if I have to, but it seems to be an awful lot of work for what seems to be a small change.
When I create a new dummy MDI application, the menu spacing is normal, so it seems...
-
September 20th, 2012, 12:26 AM
I have an MDI MFC application which has a menu at the top. Nothing particularly unusual about that, but for some reason my application seems to have a vertical spacing about 30%-40% bigger than...
-
April 4th, 2012, 01:30 AM
Perfect!
Thanks for your assistance.
-
April 3rd, 2012, 09:21 PM
Hi all,
I am attempting to set an icon in a CMFCStatus bar pane.
I am able to display the icon (and set the tooltip text) with the following code;
HICON hIcon;
hIcon =...
-
January 12th, 2012, 09:45 PM
Interesting - the optimizing compiler is cleverer than I gave it credit for.
Thanks for that! :)
-
January 11th, 2012, 10:02 PM
What you've suggested is identical (in term of the resultant code generated) to what I suggested.
The only difference is (and this is purely personal style), what you suggested loses readability....
-
January 10th, 2012, 10:27 PM
Why test
if (_strlen(pValue) == 0)
instead of
if (*pValue == '\0')
?
Surely the latter is faster/better?
-
Surely a mouse button going up is a single click?
-
June 30th, 2011, 09:03 PM
You can create an event handler for when the text in the text box is changed (ON_EN_CHANGE(IDC_EDITCONTROL, OnEnChangeEditcontrol) )
Within the event handler, you can get test the length of the...
-
June 27th, 2011, 11:45 PM
When you say;
Do you mean c:\test.bin contains a single byte, which has a value of 0xb7, or do you mean it contains 3 characters of text, 'b', then '7', then 'h' ?
-
June 17th, 2011, 01:13 AM
Never mind - I found this article-> http://www.switchonthecode.com/tutorials/csharp-tutorial-dealing-with-unhandled-exceptions
which helped me find out that there was a missing assembly.
-
June 17th, 2011, 12:01 AM
Hi,
I have an application written in C# which connects to a local database.
This application works on both my development PCs, both as a debug and release build.
However, on my testing PCs,...
-
-
Just as an aside, here in Australia licence plates are alphanumeric and can be up to 15 characters in length. Ditto for New Zealand, Germany and the UK.
Are they purely numeric in the USA? (I've...
-
To expand on what Paul & GCDEF said, a char is 1 byte - it can have 256 possible values.
If it is unsigned, those values are in the range 0 - 255
If it is signed, those values are in the range...
-
I agree wholeheartedy.
I know coding preference ultimately comes down to what you're used to, but I've never seen any benefit in keeping the braces misaligned.
-
http://lmgtfy.com/?q=c%2B%2B+email+send
-
You should do the rounding on each value as you add them, not once at the end.
Consider adding the following 3 values;
$1.00499999
$2.00499999
$3.00499999
Assuming you want to round and...
-
April 19th, 2011, 02:16 AM
It's interesting you get that error on VS2005.
I had been on VS2005 until 2 weeks ago when I finally upgraded to VS2010.
As soon as I upgraded to VS2010, I started getting that error whenever a...
-
March 15th, 2011, 11:48 PM
I believe it just checks the timestamp on the source (.CPP + any .H files that each .CPP includes) files vs the timestamp on the object (.OBJ) files.
Any source files that are more recent than...
-
February 23rd, 2011, 02:18 AM
You could try opening the .EXE file with dependency walker to highlight any DLL's it expects but cannot find. ( http://www.dependencywalker.com/ )
-
February 23rd, 2011, 12:30 AM
-
January 19th, 2011, 10:48 PM
Didn't use code tags. :(
:p
-
November 25th, 2010, 11:52 PM
You could create a thread that "twiddles its thumbs" for a few seconds, then tells the app to refresh. But I'm not sure that refreshing the application will bring it to the foreground if it isn't...
|
Click Here to Expand Forum to Full Width
|