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

Search:

Type: Posts; User: Mike Pliam

Page 1 of 70 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: Need help fixing faulty CScrollView zoom

    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...
  2. [RESOLVED] Need help fixing faulty CScrollView zoom

    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...
  3. Re: How to change the client area icon during runtime

    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.



    // see:...
  4. Re: How to change the client area icon during runtime

    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:...
  5. Replies
    9
    Views
    372

    Re: Problem deleting HBITMAP object

    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...
  6. Replies
    9
    Views
    372

    Re: Problem deleting HBITMAP object

    Thanks once again. It appears that as long as one uses CBitmap instead of BITMAP, it should take care of itself.
  7. Replies
    9
    Views
    372

    Re: Problem deleting HBITMAP object

    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() ?
  8. Replies
    9
    Views
    372

    Problem deleting HBITMAP object

    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...
  9. Re: Need help allocatig memory for vectorized 2D array

    I wonder how one could test for integrity of contiguousness of memory allocation for a given object?
  10. Re: Need help allocatig memory for vectorized 2D array

    There seems to be some differing opinions on whether or not std::vector stores elements in contiguous memory. I found this interesting post.
    ...
  11. Re: Need help allocatig memory for vectorized 2D array

    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...
  12. Need help allocatig memory for vectorized 2D array

    I want to be able to dynamically allocate and index an array like the following: vv2d[1][2].x and vv2d[1][2].y. In order to accomplish that I have chosen to use a std::vector of a std::vector of a...
  13. How to change the client area icon during runtime

    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...
  14. Thread: XML Parsing

    by Mike Pliam
    Replies
    19
    Views
    1,931

    Re: XML Parsing

    I have experimented with a number of XML parsers and have become sold on XmlLite.

    Pretty simple to use.



    #include <xmllite.h>
    #pragma comment (lib, "xmllite.lib")

    class MyXmlParser
  15. Replies
    9
    Views
    853

    Re: More CopyFile Problems

    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.
    see:...
  16. Replies
    9
    Views
    853

    Re: More CopyFile Problems

    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...
  17. Replies
    9
    Views
    853

    More CopyFile Problems

    Codeguru and the web generally is replete with posts on problems encountered using Copyfile.

    see: http://forums.codeguru.com/showthread.php?521428-CopyFile()-Blues&highlight=CopyFile

    My...
  18. How to scan file bytes using istreambuf_iterator iit(f);

    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 :...
  19. Replies
    18
    Views
    1,187

    Re: How to get rid of 'not responding' message

    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...
  20. Replies
    18
    Views
    1,187

    Re: How to get rid of 'not responding' message

    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:


    // global...
  21. Replies
    18
    Views
    1,187

    Re: How to get rid of 'not responding' message

    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...
  22. Replies
    18
    Views
    1,187

    Re: How to get rid of 'not responding' message

    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, ...
  23. Replies
    18
    Views
    1,187

    How to get rid of 'not responding' message

    I have a simple dialog based app that performs some time consuming file manipulations. The activating method contains the customary


    CWaitCursor wait;

    The hour glass initially appears, than...
  24. Re: Anyone with Xamarin development in VS ?

    Great resource. Thanks, Arjay.
  25. Anyone with Xamarin development in VS ?

    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...
Results 1 to 25 of 1741
Page 1 of 70 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center