Type: Posts; User: Mike Pliam
Search took 0.07 seconds.
March 23rd, 2015, 02:09 PM
Victor! Once again, you've done it - solved the problem completely ! I'm not sure if you did it deliberately or not, but by simply removing CenterWindow() from the OnZoomIn() function, the problem...
March 18th, 2015, 10:32 PM
I have been unable to solve this problem. An SDI CScrollView app displays a displaced view with double set of scroll bars when user zooms window. This can be corrected by iconizing, then restoring...
March 11th, 2015, 07:00 PM
Never mind. I think I've found the answer on How to Change the Mouse Pointer? Only good answer from an obscure blog of Asian origin - MSDN should hire them.
March 11th, 2015, 06:38 PM
Sorry for the confusion between icon and cursor. MY BAD. Trying to follow GCDEF post, I have attempted to override the View::SetCursor function as suggested by MSDN (see:...
March 7th, 2015, 07:11 PM
I thought I'd solved all the problems, but then I discovered that the button(s) look rather different on different OS s, even though the button(s) and tooltips are OK. The current demo app was...
March 6th, 2015, 09:11 PM
Thanks once again. It appears that as long as one uses CBitmap instead of BITMAP, it should take care of itself.
March 6th, 2015, 03:33 PM
You are absolutely correct. Thank you for your kind help. One other issue - at some point should the object be deleted? If so, where in the code - perhaps OnDestroy() ?
March 6th, 2015, 02:08 PM
I have a little demo of a bitmap button that simply uses CButton and resource bitmaps in an MFC dialog app. The intent is to click on the button and have the bitmap image change. My code works ok...
March 2nd, 2015, 04:00 PM
I wonder how one could test for integrity of contiguousness of memory allocation for a given object?
March 2nd, 2015, 01:48 PM
There seems to be some differing opinions on whether or not std::vector stores elements in contiguous memory. I found this interesting post.
March 2nd, 2015, 11:46 AM
Thanks Philip. That seems to solve the problem.
I have heard this comment before regarding C arrays. However, if this algorithm allows for accessing values by index, that's really all that...
March 2nd, 2015, 08:20 AM
I want to be able to dynamically allocate and index an array like the following: vv2d.x and vv2d.y. In order to accomplish that I have chosen to use a std::vector of a std::vector of a...
February 23rd, 2015, 02:16 PM
Having searched extensively, I'm sorry to report that I cannot find any code examples of how to change the mouse tracking icon during runtime. I wish to emulate the Microsoft Paint app behavior with...
October 15th, 2014, 05:29 PM
I have experimented with a number of XML parsers and have become sold on XmlLite.
Pretty simple to use.
#pragma comment (lib, "xmllite.lib")
September 23rd, 2014, 02:31 PM
Thank you for your suggestions.
I have attempted to retrieve the exact LastError using the M$ provided method which I have modified slightly to use debug output and not to exit the program.
September 22nd, 2014, 03:12 PM
Exactly the same result. The destination file appears in explorer but is empty.
I wish to stand corrected. CopyFile does work in an MFC environment.
I am afraid that my problem is a bit...
September 22nd, 2014, 02:07 PM
Codeguru and the web generally is replete with posts on problems encountered using Copyfile.
August 19th, 2014, 02:15 PM
Phil Nicolletti posted this code to load a section of a text file given an open fstream, starting and ending points:
/// Suggested by Phil Nicolleti :...
August 5th, 2014, 12:17 PM
I'm still trying to digest Igor's code. While it's easy to copy and paste, understanding it is quite another matter for me. I've got it working in my own mileau, having separated the dll project and...
August 5th, 2014, 01:33 AM
Yes. That would be nice. But cannot figure out how to get that to work.
Say I have a dll method like that in the ProgFeedBack program posted in this thread, and I code as follows:
August 2nd, 2014, 03:19 PM
Thanks Igor. Here's a little demo app that calculates the total number of file bytes in each file to be processed, then processes (simply loads a file for demo), calculating the cumulative number of...
August 1st, 2014, 11:22 PM
OK. I get it. Thank you all for your suggestions. One of the best examples I've found is that of our beloved Arjay.
VC++ MFC Thread Tutorial: _beginthreadex, WaitForSingleObject, pausing, ...
July 30th, 2014, 05:31 PM
I have a simple dialog based app that performs some time consuming file manipulations. The activating method contains the customary
The hour glass initially appears, than...
November 19th, 2013, 11:23 AM
Great resource. Thanks, Arjay.
November 18th, 2013, 03:07 PM
I constantly receive notices via web and email about the wonders of Xamarin and how it allows users to develop Android and iPhone apps using C# and Visual Studio. I finally installed Xamarin on my...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.