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
N

narendra_ b

@narendra_ b
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to display tool tips...
    N narendra_ b

    i)declare CToolTipCtrl in ur class like CToolTipCtrl m_ToolTipCtrl ; ii) add the following code in constructor TOOLINFO ti; DWORD dwStyle = TTS_BALLOON; m_ToolTipCtrl .Create(this, dwStyle); m_ToolTipCtrl .FillInToolInfo(ti, this, 0); ti.uFlags |= (TTF_TRACK |TTF_ABSOLUTE ); ti.lpszText = (LPTSTR)_T("Enter Valid Phone number"); m_ToolTipCtrl .SendMessage (TTM_ADDTOOL, 0,reinterpret_cast (&ti)); iii) add the following code, where u want to show the tooltip LPTSTR lpszMessage = _T("Enter Tooltip text here"); m_ToolTipCtrl.Activate(TRUE) ; CToolInfo ti; m_ToolTipCtrl.GetToolInfo(ti, this, 0); ti.lpszText = lpszMessage; m_ToolTipCtrl .SetToolInfo(&ti); m_ToolTipCtrl .SendMessage (TTM_TRACKPOSITION, 0, MAKELPARAM(rect.right - 20, rect.CenterPoint().y)); m_ToolTipCtrl .SendMessage (TTM_TRACKACTIVATE, TRUE,reinterpret_cast(&ti)); this code i got from some post for more info follow this link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp naren VC++ programmer

    C / C++ / MFC tutorial

  • Array Problem
    N narendra_ b

    i am not clear abt ur requirement. try this #include #include const int size = 10; double A[size] = {0},B[size] = {0}, C[size],c,d; double PI = 3.141592653589793238462643383279502884197; double rah(double *C) { int i = C-::C ; A[i] = sqrt(10*i); B[i] = 2*PI*i; ::C[i] = A[i]*B[i]; return ::C[i] ; } double test()//how do i write this correctly? { d = PI * rah(&C[5]); return d ; } int main(int argc, char* argv[]) { printf("Hello World!\n %f", test()); return 0; } naren VC++ programmer

    C / C++ / MFC question data-structures help tutorial

  • IMPLEMENT_DYNAMIC Error
    N narendra_ b

    is it linking successfully without DECLARE_DYNAMIC, IMPLEMENT_DYNAMIC naren VC++ programmer

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

  • IMPLEMENT_DYNAMIC Error
    N narendra_ b

    try by setting the correct lib paths. Is it linking successfully if u omit the DECLARE_DYNAMIC, IMPLEMENT_DYNAMIC?? naren VC++ programmer

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

  • IMPLEMENT_DYNAMIC Error
    N narendra_ b

    check with the definition of IMPLEMENT_DYNAMIC. ultimately it will call the CRuntimeClass(base_class). Thats why u need to implement dynamic creattion inevery class in up heirarchy naren VC++ programmer

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

  • Can Visual C++ .Net genarate SSE code
    N narendra_ b

    try this link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vcrefstreamingsimdextensions.asp naren VC++ programmer

    C / C++ / MFC c++ csharp question

  • Can Visual C++ .Net genarate SSE code
    N narendra_ b

    i think based on compilation flags like /arch:SSE, /arch:SSE2, compiler will generate the optimised code naren VC++ programmer

    C / C++ / MFC c++ csharp question

  • IMPLEMENT_DYNAMIC Error
    N narendra_ b

    add DECLARE_DYNAMIC in base class also. In ur code add DECLARE_DYNAMIC(COptionTree) in class COptionTree, and add IMPLEMENT_DYNAMIC(COptionTree,CWnd)in the cpp file Naren VC++ programmer

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

  • Modifying MFC
    N narendra_ b

    MFC is well tested code, and to the most extent reliable( ignore some of the bugs, because everyone ll do some mistakes). obviously MS encourages you to add extra functionality to the MFC classes by deriving the classes and overriding the classes. It provides the only basic framework. With the standard classes that it provides, its almost impossile to create the look and feel application in the crazy GUI world VC++ programmer

    C / C++ / MFC c++ question

  • C++ with ms.access database
    N narendra_ b

    go through the ADO library. It is COM component implemented some easy to use interfaces. If u dont know how to use the com components, first learn that. becasue, most of the library is coming with the com technology. VC++ programmer

    C / C++ / MFC c++ database wpf wcf help

  • Bitmap inserted to dialog
    N narendra_ b

    U got the solution in MSDN forum. right??:-D VC++ programmer

    C / C++ / MFC c++ 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