i am new in c++ MFC.i want to make a simple calculator using mfc with user interface . may i have a ready source code from u friend or any suggesion? please send me full source code.i want to analyse it. plzzzzzzzzzzzzzz........
i am new in c++ MFC.i want to make a simple calculator using mfc with user interface . may i have a ready source code from u friend or any suggesion? please send me full source code.
Why do you stop on requesting the full source code? Why should you, smart developer, accomplish the boring task of compilation? Ask for an already compiled, full functional application, instead! I can even help you on this: if you give me your e-mail address then I'm going to sent you the binaries of the Windows Calculator.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
Those two statements are contradictory. If we give it to you, you've not made it. How would that look if you went around bragging to all your friends that you made this wonderful calculator when in fact, you simply just took the code and added your name to it?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
in the name of allah
i want to find all the files name in a directory and then delete all the files that are copies :
a.txt a(copy).txt: a(copy).txt must be deleted.
how i can find the name of files with c++ commands and how i can delete them .
also my os is linux if it is relative to os.i dont know that if i write in a correct thread?
I am new with MFC and I have an dialog interface contains an button, input box(edit control), and output box(edit control or list control).
Mainly my problem is when I entered something in the input box(edit control) its remain there and I need after entering to delete the entered text or remove it (clear the input box)
And the second problem which i need help also is I used for the output box in the first time edit control and the output texts overrided the previous output text and I need to keep the both in the output box window because its like a chatting output window keep the both utterances the entered text and the output text.
And when I used the List control for the output box its works like list function there is an ordering happened for output texts.
I need the output texts appears like for example an real chatting via an MSN :
He says: hello there
and how I can make an automatic numbering for the output texts
2 :he says: i am fine.
2: you says : how are you?
1: he says: hello there
1: you says : hello
please anyone could help me and it will be appreciated.
Since you're using MFC, you can associate a variable to the control.
Right click on the control in the dialog editor and select Add Variable.
Associate a CString variable with the edit boxes.
You do not need a variable for the button.
For your output text you can use a multi-line edit box.
For this you right click on the edit box and select properties.
Set the Multiline property to true.
Associate a CString variable with this edit box.
For automatic numbering keep a counter of type DWORD that you can increment.
regarding the multiline its work when the output text its longer than one line,isn't it? thats what I noticed when I implemented it and I used the list control with no sorting property and work fine and the other works fine thank you very much again.