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
U

User 9307625

@User 9307625
About
Posts
21
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Which technology to use for website development for a shoe manufacturer and seller
    U User 9307625

    Thank you very much Mr Richard Deeming for your valuable input. I think if it is browsed through older version of browsers we can prompt a message asking them to updated to the latest version. I got the answer for 5th point (the browser support). It will be great if some can help out with technology to use. - Mahadevan.

    Web Development php ios csharp java javascript

  • Which technology to use for website development for a shoe manufacturer and seller
    U User 9307625

    Hello, I want to develop a website for a shoe manufacture with the following support 1) Display the items based on categories 2) Item details 3) Login for retailers 4) online shopping support in future 5) It should work on all web browsers and its versions (ie5 to ie10, chrome, firefox(all version), safari(all version) etc) 6) Mobile platform (android, ios, etc) 7) iPad and notepads Please help to chose the right technology which will be the best and easy to develop and maintain the web site? which also fulfills the above requirement Technologies in my mind, but not sure which one to use 1) HTML & CSS 2) PHP, 3) Java 4) .Net 5) Javascript 6) Joomla 7) WordPress 8) Which DB to use please let me know if i have missed other technologies Help me to choose the right technology. Regards, Maha

    Web Development php ios csharp java javascript

  • problem with sprintf_s() on win 7
    U User 9307625

    I have fixed the issue, I am very much thankful to all your replies

    C / C++ / MFC c++ csharp visual-studio debugging help

  • problem with sprintf_s() on win 7
    U User 9307625

    char buffer[50] int offset =3; char Buffer[250]; OR char buffer[50] int offset =3; char Buffer[50]; Is working fine with VS6.0, but when the same code is compiled with VS2008 I am still getting the same error as mentioned above.

    C / C++ / MFC c++ csharp visual-studio debugging help

  • problem with sprintf_s() on win 7
    U User 9307625

    char buffer[50] int offset =3; char Buffer[250]; OR char buffer[50] int offset =3; char Buffer[50]; Is working fine with VS6.0, but when the same code is compiled with VS2008 I am still getting the same error as mentioned above.

    C / C++ / MFC c++ csharp visual-studio debugging help

  • problem with sprintf_s() on win 7
    U User 9307625

    Even if make 50 char sting into a 50 char buffer, I am getting the same error. Is there any other way to do this? The same code works fine in VS6.0 and not in VS2008.

    ATL / WTL / STL c++ csharp visual-studio debugging help

  • problem with sprintf_s() on win 7
    U User 9307625

    char buffer[50] int offset =3; char Buffer[250]; sprintf_s(&buffer[offset],offset,"%s",Buffer); When we use the above funcation and application crashed with the folloing message --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: xyz.exe File: f:\dd\vctools\crt_bld\self_x86\crt\src\vsprintf.c Line: 244 Expression: ("Buffer too small", 0) For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. (Press Retry to debug the application) --------------------------- Abort Retry Ignore --------------------------- OS used : Windows 7 32bit OS Microsoft Visual Studio 2008 (VC++) Version 9.0.30729.1SP

    C / C++ / MFC c++ csharp visual-studio debugging help

  • problem with sprintf_s() on win 7
    U User 9307625

    char buffer[50] int offset =3; char Buffer[250]; sprintf_s(&buffer[offset],offset,"%s",Buffer); When we use the above funcation and application crashed with the folloing message --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: xyz.exe File: f:\dd\vctools\crt_bld\self_x86\crt\src\vsprintf.c Line: 244 Expression: ("Buffer too small", 0) For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. (Press Retry to debug the application) --------------------------- Abort Retry Ignore --------------------------- OS used : Windows 7 32bit OS Microsoft Visual Studio 2008 (VC++) Version 9.0.30729.1SP

    ATL / WTL / STL c++ csharp visual-studio debugging help

  • Key capture using OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method
    U User 9307625

    See more: VC++ Dear All, I am working MFC Application, this application is compiled using VS2008. To capture the key pressed OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method is used. The strange thing happening is when i press the key "a" without caps lock its gives the nChar value as "65" which is suppose to be "97". Even if the caps lock is "ON" the value i get is "65" when i press "A". The thing is either the caps lock is on or off, i get the same value as if the caps lock is on. (this is the case with all the keys) as the OnKeyUp() is as MFC method, I am not sure how to solve this issue. Kindly help me and let me know if you require any more information. Below is the code i am using, because of this what happens is, when i set a text using SetDlgItemText(), it is always going as Upper case letter or word. void CMyProg::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) { CString SBCommand; CString Temp; char *s = NULL; char strnChar[10]; /* Alphabets and Numerals passed to the command box */ if((nChar >= 65 && nChar <= 90) || (nChar >= 48 && nChar <= 57)) { pFrame->m_wndStatusBar.GetDlgItemText(IDC_SB_POINT,SBCommand); Temp.Format("%c",nChar); SBCommand += Temp; pFrame->m_wndStatusBar.SetDlgItemText(IDC_SB_POINT,SBCommand); /*pFrame->m_wndStatusBar.GetDlgItemText(IDC_SB_POINT,SBCommand); SBCommand += (char*)nChar; pFrame->m_wndStatusBar.SetDlgItemText(IDC_SB_POINT,SBCommand);*/ } }

    C / C++ / MFC c++ help tutorial

  • which is the best open source library for 2D drawings.
    U User 9307625

    Hi, I want to create an MFC MDI Application, which is used to draw engineering 2D drawing. A similar one to Auto CAD 2D software. Can anyone of you suggest us the best open source library which we can use to implement 2D mfc drawings. I know some of libraries like OpenGL, DirectX but i am not sure a) whether we can use these libraries to create 2D drawings. b) whether we need to purchase these libraries as we are developing a commercial application. c) there may be better libraries available for 2D drawing and it may be for free. Thanks, Regards Maha

    C / C++ / MFC graphics game-dev c++

  • Need help to pan client area of a window using win32 api / mfc
    U User 9307625

    Hi, I have tried the logic you have given it is not working as I need. It will be a great help if you can provide me modified sample code to pan the client area of a window.

    C / C++ / MFC c++ json help

  • Need help to pan client area of a window using win32 api / mfc
    U User 9307625

    Hi Sunil, Thank you very much for your information. It will be a great help if you can help me with sample code. -Maha

    C / C++ / MFC c++ json help

  • Need help to pan client area of a window using win32 api / mfc
    U User 9307625

    ok, after getting x and y coordinates which API should I use to reset the x and y coordinates? Thank you.

    C / C++ / MFC c++ json help

  • Need help to pan client area of a window using win32 api / mfc
    U User 9307625

    HI, I have a application similar to auto cad, in which we can draw line, circle, etc in client area using mouse or command. Now i need to add a feature, so that the users of this application should be able to pan their drawings in client area using mouse left button. (like one in auto cad or pdf reader). I can use win32 API or MFC to achieve this. It well be great of some one can help me in this regard, with some sample code. Thanks in Advance

    C / C++ / MFC c++ json help

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    I cant achieve this still, can any one of you give me a sample code. To pan the client area of a window. Thanks in advance.

    C / C++ / MFC c++ json tutorial

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    I want to pan the client area using left button of mouse. As one that works with PDF file. And i want to implement this using MFC/WIN32 -Thanks in advance.

    C / C++ / MFC c++ json tutorial

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    In your program you have used SetWindowPos() to change the position of window. But to move the client area, which API should i use. Say, Mouse button down 1) capture initial position of mouse using GetCursorPos() Mouse move. 2) Calculate the difference of x and y coordinates using previous cursor position and current cursor position Mouse button UP 3)After calculating the latest value as said about, which api should be used to move the client coordinates. (in your program you have used SetWindowPos()) -Maha

    C / C++ / MFC c++ json tutorial

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    Yes, just need to move content and not the window.

    C / C++ / MFC c++ json tutorial

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    HI Pasztorpisti, What the code you have give is to move the window, but what i need to move the client area. I know if there is a api to capture the client area and move it. Regards, Maha

    C / C++ / MFC c++ json tutorial

  • How to pan client area of a window using C++/VC++ code
    U User 9307625

    Hello!! Thank you very much for all your reply. Mr pasztorpisti - Thank you much for detailed explanation. I will try to implement this and let you know about the same. -Maha

    C / C++ / MFC c++ json tutorial
  • Login

  • Don't have an account? Register

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