Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC tray icon Pin
charu12318-Apr-05 21:40
charu12318-Apr-05 21:40 
GeneralRe: MFC tray icon Pin
RadiumBall18-Apr-05 22:45
RadiumBall18-Apr-05 22:45 
GeneralRe: MFC tray icon Pin
22491718-Apr-05 22:56
22491718-Apr-05 22:56 
QuestionCopy resources in Visual Studio 7.0… ? Pin
anderslundsgard18-Apr-05 21:39
anderslundsgard18-Apr-05 21:39 
GeneralUpdating display box Pin
hithesh18-Apr-05 21:12
hithesh18-Apr-05 21:12 
GeneralRe: Updating display box Pin
Cedric Moonen18-Apr-05 21:41
Cedric Moonen18-Apr-05 21:41 
GeneralRe: Updating display box Pin
hithesh19-Apr-05 12:57
hithesh19-Apr-05 12:57 
GeneralRe: Updating display box Pin
Cedric Moonen19-Apr-05 20:05
Cedric Moonen19-Apr-05 20:05 
hithesh wrote:
Yes, I am building a calculator. how did u know?

Hum, in fact this was just a guess but what you were asking for is typical used in a calculator Big Grin | :-D


hithesh wrote:
But how do I convert long into string and vice cersa?

Use the ltoa and atol functions Smile | :)

A little tip also: instead of having one handler function for each number button, you can also use the ON_MESSAGE_RANGE macro. This will give you something like (I don't remeber the exact syntax):

OnNumber(int nButtonId)<br />
{<br />
int Value = nButtonId - IDC_BUTTON0;<br />
<br />
// Add the code to display the new value...<br />
}

Generalretrieve char by char from string and then appending Pin
nehathoma18-Apr-05 21:11
nehathoma18-Apr-05 21:11 
GeneralRe: retrieve char by char from string and then appending Pin
Cedric Moonen18-Apr-05 21:30
Cedric Moonen18-Apr-05 21:30 
GeneralEXE to Service Pin
rwilmink18-Apr-05 20:55
rwilmink18-Apr-05 20:55 
GeneralRe: EXE to Service Pin
22491718-Apr-05 22:15
22491718-Apr-05 22:15 
GeneralRe: EXE to Service Pin
ThatsAlok19-Apr-05 1:39
ThatsAlok19-Apr-05 1:39 
GeneralEXE to Service Pin
rwilmink18-Apr-05 20:53
rwilmink18-Apr-05 20:53 
GeneralRe: EXE to Service Pin
CodeBeetle19-Apr-05 0:27
CodeBeetle19-Apr-05 0:27 
GeneralRe: EXE to Service Pin
David Crow19-Apr-05 2:29
David Crow19-Apr-05 2:29 
GeneralAlways on Top MDI Child Pin
RadiumBall18-Apr-05 20:28
RadiumBall18-Apr-05 20:28 
GeneralChanging proprtysheet (wizard) images run-time Pin
Geert van Horrik18-Apr-05 19:10
Geert van Horrik18-Apr-05 19:10 
GeneralRe: Changing proprtysheet (wizard) images run-time Pin
Geert van Horrik18-Apr-05 21:29
Geert van Horrik18-Apr-05 21:29 
GeneralHELP !!!! ARRAY Pin
khyap18-Apr-05 18:13
khyap18-Apr-05 18:13 
GeneralRe: HELP !!!! ARRAY Pin
Christian Graus18-Apr-05 19:11
protectorChristian Graus18-Apr-05 19:11 
GeneralRe: HELP !!!! ARRAY Pin
Christian Graus18-Apr-05 19:26
protectorChristian Graus18-Apr-05 19:26 
Generalchanging the size of window using STARTUPINFO Pin
elephantstar18-Apr-05 14:45
elephantstar18-Apr-05 14:45 
GeneralRe: changing the size of window using STARTUPINFO Pin
Ryan Binns18-Apr-05 18:00
Ryan Binns18-Apr-05 18:00 
GeneralRe: changing the size of window using STARTUPINFO Pin
22491718-Apr-05 18:32
22491718-Apr-05 18:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.