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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
U

unidentify

@unidentify
About
Posts
6
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • new mistake class
    U unidentify

    I create a CRealPoint class: CRealPoint { public: CRealPoint(); CRealPoint(double x=0; double y=0); private: double m_x; double m_y; public: CRealPoint operator=(CRealPoint rPt); } then I have following code: // 1. CArray m_arrPo; 2. CRealPoint tmpPoint; 3. tmpPoint.m_x= // calculate here 4. tmpPoint.m_y=// 5. m_arrPo.Add(tmpPoint); // 6. CRealPoint newPoint; 7. newPoint = m_arr.ElementAt(0); // test value of newPoint.m_x, newPoint.m_y It is lost data. I guess problem occur at line 5 or 7 but don't understand why and don't known how to solve this problem. don't stop me now!!!

    C / C++ / MFC help tutorial

  • WM_KEYDOWN
    U unidentify

    OnKeyDown(UINT nChar, ...) { char lschar = char(nChar); if (lschar=='A') AfxMessageBox("Key A is pressed"); } In the same way, how to test when key: UPARROW, LEFTARROW, RIGHTARROW, DOWNARROW, NumPad-, NumPad+ is pressed. thanks for help me! don't stop me now!!!

    C / C++ / MFC help tutorial

  • Update window??
    U unidentify

    thank you. My problem have solved. And to My project interface become friendly and more useful. I only want to split into 3 view. And in left view, I have many my functions and store them in left panel like as tabbed control with some CPeropertyPage class. My software is used to control device, so I want all event occur at each page must be outted as logs on second view. I can't access data and invoke function in Document class from these page. Please help me solve this problem. Thanks. don't stop me now!!!

    C / C++ / MFC help tutorial question announcement

  • Update window??
    U unidentify

    My Project is SDI, in MainFrame class, I use OnCreateClient(...) to splitter window. And I want to change style of one view after user click a button on the toolbar. How to update window by recreate window style like as using Invalidate() function to redraw?? Can anybody help me, please? Thanks a lots! don't stop me now!!!

    C / C++ / MFC help tutorial question announcement

  • how to call a function outside class??
    U unidentify

    My project is Splitter window application. First view is inherrited from CFormView. Two other view is CView-based. This class add 3 class that inherrited from CPeropertyPage to use as Tabbed control and follow that there are 3 Dialog. Then I want each event occur at these dialog (clicking an button) will be display an message in second view (in OnDraw()) Please help me!! Thanks a lot. don't stop me now!!!

    C / C++ / MFC tutorial graphics question

  • how to call a function outside class??
    U unidentify

    In SDI CView-based application, in OnOK() of CDialog class, how to call a function in CView? For example: when clicking a button on a dialog, invoke a funtion in CView to invalidate drawing on the view thanks very much! don't stop me now!!!

    C / C++ / MFC tutorial graphics question
  • Login

  • Don't have an account? Register

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