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
V

VikramDelhi i

@VikramDelhi i
About
Posts
33
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Empty String Overkill
    V VikramDelhi i

    Good Habit to inculcate.:-D

    C / C++ / MFC

  • Sending text to chat via Edit
    V VikramDelhi i

    watch out this http://www.codeproject.com/dialog/keystroke.asp[^]

    C / C++ / MFC help lounge

  • How to execute an exe
    V VikramDelhi i

    Hi Thanks a lot for help. I think there is no way to execute exe file from memory. So i am going to use ShellExecute(). well if i find out any way i'll ley you know. thanks

    C / C++ / MFC performance help tutorial

  • Change of Background Color of dialog box
    V VikramDelhi i

    thanks for this technique.:)

    C / C++ / MFC tutorial question

  • Networking
    V VikramDelhi i

    well if i am to code a project on net. then i'll go for SMTP server( it can be a smtp server for newsletter kind od app)or FTP server or something similar to it.

    C / C++ / MFC sysadmin

  • How to execute an exe
    V VikramDelhi i

    Well that sounds great. should i load exe that is at the end of main exe file and create a process with the address of second exe. well i have joined (appended) 2 exe files. now i want to load 2nd exe (which is at end of 1st exe) to the memory.

    C / C++ / MFC performance help tutorial

  • How to execute an exe
    V VikramDelhi i

    I want to execute exe directly from memory. I am writing a binder that will bind my project files and execute them to the memoty.I am doing this to make single exe out of several. Any idea or ref.:confused:

    C / C++ / MFC performance help tutorial

  • open a default fil by using the CFileDialog class
    V VikramDelhi i

    :zzz: yep if he knows filename & location then why he is using CFileDialog . well i guess he wants to show his skills here.;)

    C / C++ / MFC com tutorial

  • How to execute an exe
    V VikramDelhi i

    :rose:Hi I want to know how i can extract an exe into memory and then execute it directly from memory. Any idea or ref:confused:. Pl. help me. thanks

    C / C++ / MFC performance help tutorial

  • Easy way to search this board????
    V VikramDelhi i

    The CodeProject SearchBar[^] wow nice app. thanks a lot for informing me.:rose:

    C / C++ / MFC algorithms question

  • Easy way to search this board????
    V VikramDelhi i

    :rose:hi guys Do you know any soft. that can search this board for previous messages. Searching this board right from desktop without IE will be a nice idea.;)

    C / C++ / MFC algorithms question

  • How to get size of file ???????
    V VikramDelhi i

    hi thanks a lot guys.:) you all are really nice guys.:-D

    C / C++ / MFC tutorial question

  • How to get size of file ???????
    V VikramDelhi i

    Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

    C / C++ / MFC tutorial question

  • Books for windows graphics programming???
    V VikramDelhi i

    Hi i want to learn windows graphics programming with mfc or pure api. plz. suggest some good and easy to understand books.

    C / C++ / MFC c++ graphics json question

  • Help??calculate a distance between 2 computers?
    V VikramDelhi i

    Thanks for replay I actually want to calculate the best path for sending information from one computer to another. What I am trying is : I am trying to build a network where several servers will be distributed to in a wide area. The purpose of these servers will be to deliver fax. I require calculating the best path for this purpose. Actually this is a final year project. vikram

    C / C++ / MFC question help tutorial

  • Help??calculate a distance between 2 computers?
    V VikramDelhi i

    Hi Is there a way to calculate the distance between 2 computers? Suppose I have 5 computers located in diff. parts of the world. Now I want to send information from 1st computer (say computer A) to the farthest (say computer E). I can easily evaluate the shortest path between 2 computers if I know how to calculate the distance between 2 computers. Now my question is ->>> Is there a way to calculate a distance between 2 computers? Some idea, hint or code! Please help. Thanks

    C / C++ / MFC question help tutorial

  • Help!! Drawing a text using DrawText on the from and Changing CRect of form according the Text.
    V VikramDelhi i

    Hi
    I am new to GUI programming. I am learning MFC and able to create one application.
    But I have one problem that i am not able to solve yet.

    Problem:
    I want to display a message that tells the upcoming Birthdays. I don't know how long birthday list can be, so I can't use Static control. I tried to use DrawText() Function to draw text. I know DrawText() extends the base of the rectangle to bound the last line of text. I am able to draw the text message but have following problems.

    1. I don't know how to get the correct height of the text message rect.

    2. How to change the dimensions of the Dialog box according the text message.

    3. Sometimes Text is not displayed, only blank area is displayed. Don't know why?

    I want to do something like this: Link to IMAGE

    I Created DrawText() Function which paint the text. I called DrawText() in OnPaint().

    void CRUNDlg::DrawText()
    {

    CPaintDC dc(this);
    CRect rect,rcDialog,temprec;
    CFont fFont;
    CFont *fOldFont;
    int h; // i tried to use h to calculate height of text but in vain

    // rect: for DrawText
    // rcDialog: for Dialog dimensions
    // temprec: for height calculation of text drawn
    //

    GetWindowRect(&rcDialog);
    GetClientRect(&rect);

    dc.SetTextColor(RGB(0,0,196));
    dc.SetBkMode(TRANSPARENT);

    temprec=rcDialog;
    temprec.bottom=0;
    temprec.bottom =rect.top=10;

    fFont.CreateFont(20,0,0,0,FW_NORMAL|FW_BLACK,0,1,0,DEFAULT_CHARSET,OUT_CHARACTER_PRECIS,CLIP_CHARACTER_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH|FF_DONTCARE,"Arial");
    fOldFont =dc.SelectObject(&fFont);

    h=dc.DrawText("Birthday Alert",rect,DT_NOCLIP|DT_CENTER);
    temprec.bottom+=rect.top;

    fFont.Detach();
    fFont.CreateFont(15,0,0,0,FW_NORMAL|FW_BLACK,0,0,0,DEFAULT_CHARSET,OUT_CHARACTER_PRECIS,CLIP_CHARACTER_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH|FF_DONTCARE,"Arial");
    fOldFont

    C / C++ / MFC help c++ com graphics tutorial

  • HELP!!! String manipulation ""Calculating Atomic no of elements"" ????
    V VikramDelhi i

    hi I want to know how to extract element symbols using recursion from string like "4H2SO4". Also tell me how to learn recursion and string manipulation "some good books".

    C / C++ / MFC help tutorial question

  • Help!!! How to write single Event Handler for 100 buttons
    V VikramDelhi i

    Hi, I am working on a small periodic table for my college friends. The idea of the application is that there will be a button for each element, placed in the same style as that of Modern periodic table. Now I have 2 options to implement this. -> I must place more than 100 buttons on the Dialog and write event handler for each button. -> or place buttons and write single event handler for all button. What should I choose? Or suggest anything else I can implement. Also, if I implement 2nd option, how I can detect which button is clicked

    C / C++ / MFC help tutorial question

  • Help!!! How to set position of a dialog
    V VikramDelhi i

    hi DavidCrow thanks a lot for help! :)

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