Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: qzou666
  • Content: Threads
  • Order by date
  1. qzou666

    Multi-line in CEdit

    Hi, I want to place a mutli-line CString on a CEdit, but the line break &quot;\n&quot; does not break line. &quot;\n&quot; displayed as a symbol like &quot;[]&quot;. Please help me out here. The following is the code: Ctring test=&quot;&quot;; for (int i=0; i<20; i++) { CString line=&quot;New...
  2. qzou666

    How to embed a CView in a CDialog

    Hi, I need to embed a CView object in a modeless CDialog. Can anyone help me out? Cheers!
  3. qzou666

    Modeless CDialog

    Hi, there, I am having a problem with creating a modeless CDialog. The CDialog code is: class ADialog : public CDialog { // Construction public: ADialog(SomeData* data, CWnd* pParent = NULL): CDialog(IDD_ADIALOG, pParent){ Data=data; } BOOL Create(CWnd* pParent=NULL){ return...
  4. qzou666

    Strange warning massage

    Hi, I have a function as follow: void ClassA::FunctionA() { float* a a = new float[5]; } The Visual C++ compiler keeps giving the following warning massages: warning C4305: 'initializing' : truncation from 'int' to 'short' warning C4309: 'initializing' : truncation of constant value...
  5. qzou666

    Multidimension array as function parameter

    Hi, I have a c++ programme as follow: void AFunction(float** p){ .....}; float p1[4][4]={{1.0f,0.7407f,0.2593f,0.0f}, {0.0f, 0.2593f, 0.7407f, 1.0f}, {0.0f, 0.1481f, 0.0741f, 0.0f}, {0.0f,-0.0741f,-0.1481f,0.0f}}; AFunction(p1); When I compile, I was told: cannot...

Part and Inventory Search

Back
Top