Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

Gagnon Claude

@Gagnon Claude
About
Posts
49
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • LNK2019 unresolved external symbol with Ultimate Toolbox COXTootlTipCtrl and ::MonitorFromRect
    G Gagnon Claude

    Hello, Recently, we move from VisualStudio 2010 to 2013. I use Ultimate Toolbox that I have compiled it with Visual C++ 2013 in a lib. It compiles and links without problem. When I link this lib with my program, I get a link error: LNK2019 unresolved external symbol. With Visual C++ 2010, the link process was correct. The symbol is the MonitorFromRect Windows function in COXToolTipCtrl:: CalculateInfoBoxRect(). We runs on Windows 7 Professionnal 64 bits. We compile on 32 bits Visual C++. Is there a way to bypass this problem? Thanks for any help. Claude

    C / C++ / MFC help c++ mcp question

  • Print a long CString
    G Gagnon Claude

    Hi, I have a C++ program with MFC. I utilize the OnPrint() mechanism to print a Cstring line by line with pDC->TextOut(). That is working the first time I print. If I repeat the print job, the page is blank. I don't understand why. Here is a portion of OnPrint(): CString resToken; I print the Cstring one line at a time. pDC->(TextOut(pt.x, pt.y + j * m_nHautLigne, resToken); Does it have a better way to do the printing? Why the page is blank the second time? Do I have to reset something? Thanks,

    C / C++ / MFC c++ question career

  • Printing with a CString
    G Gagnon Claude

    Hi, I print a CString with pDC->TextOut(). That is working. But if I print again, the sheet is blank. How to correct that? Do I have to utilize GetBuffer(), etc? Thanks, Claude

    C / C++ / MFC mcp tutorial question

  • Menu change in IDE but not in running application
    G Gagnon Claude

    Hi, I have a MFC application. I work with Visual Studio 2010 and C++. I have changed the caption of a menu item in the IDE. When I run the application, the caption is not changed. Do I have to changed the menu in a particular file? Thanks, Claude

    C / C++ / MFC c++ visual-studio csharp mcp question

  • How to change the name of a tabbed pane
    G Gagnon Claude

    Hi, I have a project generated by Visual Studio 2010 with a tree view . They are two tabbed pane. I want to change the tabbed pane text and the title of the pane over. I have tried with IDS_CLASS_VIEW, but it changes only the tooltips over the tabbed pane. How can I change the tabbed pane and title text? Thanks, Claude

    C / C++ / MFC question csharp visual-studio mcp data-structures

  • Memory required by a form
    G Gagnon Claude

    Hi, The fourth one.

    Visual Basic mcp performance question

  • Memory required by a form
    G Gagnon Claude

    Hi, Does it has a tool to know the memory occupied by a form in a VB application? Thanks, Claude

    Visual Basic mcp performance question

  • Runtime error debugging
    G Gagnon Claude

    Hi, At my work, I have to test a Visual Basic application. I don't have the code source. Often I get runtime errors. When I get one, I try to understand what is the cause before I contact the developer. Often it is a runtime error. I want to know if a tool can give information about such errors without having access to the code source. Any suggestions? Thanks, Claude

    Visual Basic question mcp help

  • Visual Studio 2010
    G Gagnon Claude

    Hi, I often bring my program in development from home to office. Each time I have to adjust the directories in the property page of the program. Is it possible to know in wich file are stored these properties? Perhaps an application can permit to move code from home to office? Thanks, Claude

    .NET (Core and Framework) csharp visual-studio mcp question

  • How to simulate shift-tab to go to previous control?
    G Gagnon Claude

    Hi, How to go to the previous control when I press the up arrow key? Thanks, Claude

    C / C++ / MFC mcp tutorial question

  • Print with a PDF printer
    G Gagnon Claude

    Hi, Is it possible to know that the choosen printer is a PDF printer? And this programmaticaly? Thanks, Claude

    C / C++ / MFC mcp question

  • Render formula in a program
    G Gagnon Claude

    No, I don't mean draw graphic. I want to display math equation in my program the same way we can see with Math Editor in Word. Bye, Claude

    C / C++ / MFC c++ mcp

  • Render formula in a program
    G Gagnon Claude

    Hi, I want to know what kind of tool I need to render a formula in my program. I utilize Visual C++. Thanks, Claude

    C / C++ / MFC c++ mcp

  • Copy protection software
    G Gagnon Claude

    Hi, Can someone suggest a copy protection software ? Now, I evaluate Crypkey Instant and Exe Shield. Thanks, Claude

    Sales / Marketing mcp question

  • Responds to a menu differently from the toolbar button associated
    G Gagnon Claude

    Hi, I utilize Visual C++ 2003 and MFC with document/view architecture.. I want to respond differently when I choose Print from the menu and the Print button from the toolbar. The reason is that I want to select the file to print when I choose from the menu, and I want to print directly the open file when I choose from the Print toolbar button. How can I do that ? Thanks, Claude

    C / C++ / MFC c++ question mcp architecture

  • Greek letter in a dialog
    G Gagnon Claude

    Hi, With Visual Studio C++ 2008, how can I put a greek letter in a static control ? Thanks, Claude

    C / C++ / MFC question csharp c++ visual-studio mcp

  • Quitting an application
    G Gagnon Claude

    Hi, I want to know, in a Doc/View MFC application, where is the place to map a message to quitting an application by the File menu and by the X button at the top right of a window ? Thanks. Claude

    C / C++ / MFC c++ mcp question

  • Taget operating system
    G Gagnon Claude

    Hi, With Visual Studio 2008, how can I specify the operating system for who I will compile my application? I develop under Vista but I want to utilize on XP. Thanks, Claude

    C / C++ / MFC question csharp visual-studio mcp

  • Access to a view from a CTreeCtrl
    G Gagnon Claude

    Hi, I am working in an application with docking window like Visual Studio 2005 interface. I do it with Visual Studio 2008 and MFC. The left pane is a CTreeCtrl. I put items in it. When I click on an item, I want to display a form in the view portion of the application. To do that, I have a member function called void CViewTree::OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult) to catch the event. To display the form associated with the item clicked, I have to access the view class and after that the document class. I access the view like that from the CViewTree::OnTvnSelchanged function: CFrameWnd *pFrameWnd = (CFrameWnd*)AfxGetApp()->m_pMainWnd; CCDSView* pView; pView = (CCDSView*)pFrameWnd->GetActiveView(); I get memory leaks, but the program run anyway. What I can't understand is that the program run under Vista 64 Home premium at home, but not run on an XP computer at office. I compile it with Net Framework 2.0. Does it has another way to access the view or document that does not crash my application ? Thanks, Claude

    C / C++ / MFC csharp c++ visual-studio mcp performance

  • Visual Studio 2005 like interface
    G Gagnon Claude

    Hi, I am working in an application with docking window like Visual Studio 2005 interface. I do it with Visual Studio 2008 and MFC. The left pane is a CTreeCtrl. I put items in it. When I click on an item, I want to display a form in the view portion of the application. To do that, I have a member function called void CViewTree::OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult) to catch the event. To display the form associated with the item clicked, I have to access the view class and after that the document class. I access the view like that from the CViewTree::OnTvnSelchanged function: CFrameWnd *pFrameWnd = (CFrameWnd*)AfxGetApp()->m_pMainWnd; CCDSView* pView; pView = (CCDSView*)pFrameWnd->GetActiveView(); I get memory leaks, but the program run anyway. What I can't understand is that the program run under Vista 64 Home premium at home, but not run on an XP computer at office. I compile it with Net Framework 2.0. Does it has another way to access the view or document that does not crash my application ? Thanks, Claude

    C / C++ / MFC csharp c++ visual-studio mcp performance
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups