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

Search:

Type: Posts; User: RobNHood

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    9,104

    Re: OnSize Handler Not Behaving As Expected

    Yes I did and it says exactly the same think I expected. OnSize is called after the window has changed size and OnSizing is called while the window is being resized.
  2. Replies
    6
    Views
    9,104

    Re: OnSize Handler Not Behaving As Expected

    OnSize is being called while the mouse button is down and resizing the window. When the mouse button is released it is not called for the final size so it is basically acting like the OnSizing event...
  3. Replies
    6
    Views
    9,104

    OnSize Handler Not Behaving As Expected

    I keep having problems with CMFCPropertySheets. I now have it embedded in a resizable dialog and the property sheet and page gets resized when dialog is resized all that is working fine.

    Problem...
  4. Replies
    3
    Views
    5,462

    Re: MFCPropertySheet and MFCToolBar

    I just went ahead and embedded the CMFCPropertySheet inside a dialog and then created the CMFCToolBar from OnInitDialog and it works fine.
  5. Replies
    3
    Views
    5,462

    Re: MFCPropertySheet and MFCToolBar

    IN HEADER


    CMFCToolBar m_wndToolBar;

    IN CONSTRUCTOR


    EnablePageHeader(48);
  6. Replies
    3
    Views
    5,462

    MFCPropertySheet and MFCToolBar

    Is it possible to add a MFCToolBar to the header of a MFCPropertySheet because every page which will be dynamically added during runtime will be using the same toolbar and if it IS possible I would...
  7. Modeless CMFCPropertySheet Not Being Cleaned On App Exit.

    I have a Modeless CMFCPropertySheet created and opened from the main frame. if I open the Modeless CMFCPropertySheet and close it then it's fine all the cleanup is performed through the destructor...
  8. Replies
    8
    Views
    21,384

    Re: error LNK2001: unresolved external symbol

    If it is linking fine in release mode but not in debug and you have the same settings in your linker configuration then it sounds like Victor is right. The Lib might have been built in release mode...
  9. Replies
    2
    Views
    5,908

    Re: MySQL Connector Data Dump

    Each row contains 35 fields with roughly 9 indexes including a compound fulltext index. Since the data is being parsed from a CSV file it's being read in 1 line at a time. I have only been working...
  10. Replies
    8
    Views
    21,384

    Re: error LNK2001: unresolved external symbol

    Do you get the same linker error when compiling in release mode or is it just in debug?
  11. Replies
    8
    Views
    21,384

    Re: error LNK2001: unresolved external symbol

    Unfortunately many things can cause LNK2001 errors. It could be from not including the proper header file or from linking to a 32bit lib in a 64bit application and visa versa or it could be linking...
  12. Replies
    2
    Views
    5,908

    MySQL Connector Data Dump

    I wrote an application so I can manage the products for my e-commerce site. It uses MySQL 64 bit. Problem is some of my stores have in excess of 3 million products. The files that contain the data...
  13. Replies
    9
    Views
    8,350

    Re: CFormView as Main View

    If you start with 0 files add add a stdafx.h with 1 line #include <afxwin.h>add a stdafx.cpp with #include "stdafx.h" then link to MFC as shared lib then the MFC Class wizard will work as usual with...
  14. Replies
    9
    Views
    8,350

    Re: CFormView as Main View

    I am a retired programmer (turning 50 next month) with VI for over 20 years. It has been a while however since I have had the need to work with Windows GUI since almost all of the programming I have...
  15. Replies
    9
    Views
    8,350

    Re: CFormView as Main View

    True. I just kept the document in added cs.style &= ~FWS_ADDTOTITLE; to precreatewindow and just ignored all other document calls except for the initial creation. I felt it was just easier just to...
  16. Replies
    9
    Views
    8,350

    Re: CFormView as Main View

    That's what I was suspecting. Was just hoping I could do it without document support because without registering the doc and calling on new wont the app fail on creation?
  17. Replies
    9
    Views
    8,350

    CFormView as Main View

    Is it possible to use a CFormView as the main view without using document support. IE pointing CWinApps m_pMainWnd to the CFrameWnd derived MainFrame and attaching the CFormView from there. It does...
  18. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    If it worked that's great. Might be some outdated info in the registry which was interfering with the app. Sometimes as applications change and evolve it's sometimes good to clear the old registry...
  19. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    Just to be precise... Is the menu in question for your main window and how are you creating and attaching the menus are they being created on the heap?
  20. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    Disregard the post regarding deleting the .ncb file. VS2010 doesn't create them.
  21. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    The registry settings for your application will all be stored under HKEY_CURRENT_USER -> Software and then whatever name you passed with SetRegistryKey() in your CWinApp except the states that are...
  22. Replies
    3
    Views
    8,280

    Re: Repaint on CDockablePane Resizing

    No RecalcLayout still does not repaint the window or controls as it should on enlarge. I have read other posts on MSDN and elsewhere with similar problem but no solution was ever found.
  23. Replies
    5
    Views
    1,986

    Re: Can I Study C++ to Learn C?

    C is a subset of C++. Meaning C++ can compile and run most of C but C cannot compile and run C++ so if you are required to learn C I would not suggest it since very little of what you will learn will...
  24. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    Hmmm that would have forced every file to compile whether there were changes or not so I am at a loss as well. Have you tried deleting the .ncb file and then recompiling?
  25. Replies
    13
    Views
    3,227

    Re: Cacheing MFC menues

    Try clicking on "Clean Solution" under the build menu then hit F5 to Rebuild.
Results 1 to 25 of 31
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured