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
S

Shirani

@Shirani
About
Posts
14
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • String to char*
    S Shirani

    Hey dudes! I am using VS 2005 and doing work in Visual C++ windows Applications. I am facing a prob that i have a class in which my data members are char * but when i get data from text box or edit box it is in the form of String. But i have to convert it into char*. How can i do it?? I got how to convert char * to string by COnvert::ToString(char*). And other one problem is that when i add a class, when i add data member as String or String^ it didn't allow me. To do it which header file Should i include??

    C / C++ / MFC c++ question visual-studio help tutorial

  • String to char *array
    S Shirani

    Yea i know it's the question of C++ but when i use the same application in .NEt. i can include . But it didn't allow me to add in VS 2005 :( so what should i do ?? I tried using namsespce std and using system std. So how can i include the file ???? I did the same work in .Net 2003 envirnment

    Regards: Xohaib Shirani

    Visual Studio c++ question visual-studio data-structures help

  • String to char *array
    S Shirani

    Hey dudes! I am using VS 2005 and doing work in Visual C++ windows Applications. I am facing a prob that i have a class in which my data members are char * but when i get data from text box or edit box it is in the form of String. But i have to convert it into char*. How can i do it?? I got how to convert char * to string by COnvert::ToString(char*). And other one problem is that when i add a class, when i add data member as String or String^ it didn't allow me. To do it which header file Should i include??

    Regards: Xohaib Shirani

    Visual Studio c++ question visual-studio data-structures help

  • How to search and delete a file
    S Shirani

    error C2065: 'PathFileExists' : undeclared identifier error C2065: 'PathIsDirectory' : undeclared identifier

    Regards: Xohaib Shirani

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

  • How to search and delete a file
    S Shirani

    Hi guys i am new in MFC i want to know how to search for a specific file and delete it. ?? So please help me. I didn't find any any function for deleting like rename(brfore,after) for renaming a file or folder name.

    Regards: Xohaib Shirani

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

  • How to move cirlce in MFC?
    S Shirani

    i invalidate in OnmouseMove handler not in onPaint function

    Regards: Xohaib Shirani

    C / C++ / MFC question c++ tutorial

  • How to move cirlce in MFC?
    S Shirani

    yes if i invalidate the painting area it hides the circle after moving it, You can check it by urself.

    Regards: Xohaib Shirani

    C / C++ / MFC question c++ tutorial

  • How to move cirlce in MFC?
    S Shirani

    Yes dear i add CPaintDC obj(this); but it doesn't work properly. It leave the last effect of circle mean it moves the circle but the some effects of circle remain on the screen.

    Regards: Xohaib Shirani

    C / C++ / MFC question c++ tutorial

  • How to move cirlce in MFC?
    S Shirani

    CPaintDC obj(this); x=(point.x)-50; y=(point.y)-50; obj.Ellipse(x,y,x+100,y+100); it didn't work.And i also tried this by defining CPaintDC obj in OnPaint fucntion x=(point.x)-50; y=(point.y)-50; CDC *ptr=CDialog::GetDC(); ptr->Ellipse(x,y,x+100,y+100); these both are not working.

    Regards: Xohaib Shirani

    C / C++ / MFC question c++ tutorial

  • How to move cirlce in MFC?
    S Shirani

    Hey how can i move CClientDC object in client window using mouse ? i did it but it show last cicle on screen. If i do Invalidate to TRUE it moves the circle but did'nt show properly in Dialog box. if((nFlags & MK_LBUTTON)==MK_LBUTTON) { CClientDC obj(this); x=(point.x)-50; y=(point.y)-50; obj.Ellipse(x,y,x+100,y+100); } Invalidate(FALSE); So what should i do ???

    Regards: Xohaib Shirani

    C / C++ / MFC question c++ tutorial

  • How to add image buttons?
    S Shirani

    Do you have any idea to change the colors of dialoge boxes?? I ask too much question?? Hmmm... Sory bro need to learn... :-D

    Regards: Xohaib Shirani

    C / C++ / MFC c++ question tutorial

  • deleting folder containting files
    S Shirani

    Try this in CMD rd /s FOLDER i think it will work

    Regards: Xohaib Shirani

    C / C++ / MFC question json

  • How to add image buttons?
    S Shirani

    Dear i tell you that i am quite new in MFC so plz guide me where i have to put this code CImage m; m.Load(_T("c:\\1.jpg")); m_Button.SetBitmap(m.detach()); ??

    Regards: Xohaib Shirani

    C / C++ / MFC c++ question tutorial

  • How to add image buttons?
    S Shirani

    Hi i am quite new in MFC but know C++ programing and done work in VC 6 using win32 console application now switching to MFC. So please tell me how can i add images button? How can i change the colors of dialouge boxes. I shall be very thankfull to you.

    Regards: Xohaib Shirani

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