Click here to Skip to main content
15,894,250 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to uninstall a software programatically ? Pin
paracha35-Oct-02 18:38
paracha35-Oct-02 18:38 
Questionhow to ? Pin
imran_rafique5-Oct-02 15:37
imran_rafique5-Oct-02 15:37 
AnswerRe: how to ? Pin
Pavel Klocek6-Oct-02 2:54
Pavel Klocek6-Oct-02 2:54 
GeneralCDialog question! Pin
Lucky20025-Oct-02 13:29
Lucky20025-Oct-02 13:29 
GeneralRe: CDialog question! Pin
valikac5-Oct-02 17:05
valikac5-Oct-02 17:05 
GeneralRe: CDialog question! Pin
Lucky20025-Oct-02 22:50
Lucky20025-Oct-02 22:50 
GeneralA calculator with Visual C Pin
Javier Ortega5-Oct-02 13:00
sussJavier Ortega5-Oct-02 13:00 
GeneralRe: A calculator with Visual C Pin
Paul M Watt5-Oct-02 19:06
mentorPaul M Watt5-Oct-02 19:06 
It all depends on how you are implementing your calculator.

If you are using MFC or WTL, you can make the click event for each button on your calculator call the same handler function and test the ID of the button in order to know which button was pressed.

If you are using plain Win32 API, in your wndproc function, you can have each click event call the same function, and the function would also pass in the ID of the button that was clicked.

{By the way, your english is fine)


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: A calculator with Visual C Pin
S van Leent6-Oct-02 8:47
S van Leent6-Oct-02 8:47 
GeneralDumb CFileDialog question... Pin
RobJones5-Oct-02 12:16
RobJones5-Oct-02 12:16 
GeneralEven better yet Pin
RobJones5-Oct-02 12:45
RobJones5-Oct-02 12:45 
GeneralRe: Even better yet Pin
Atlantys5-Oct-02 13:29
Atlantys5-Oct-02 13:29 
GeneralThanks! Pin
RobJones5-Oct-02 13:38
RobJones5-Oct-02 13:38 
Generalirl like textoutput .. Pin
Mandalay5-Oct-02 11:49
Mandalay5-Oct-02 11:49 
Generalsorry, the topic is "irc like textoutput" Pin
Mandalay5-Oct-02 11:52
Mandalay5-Oct-02 11:52 
GeneralRe: sorry, the topic is "irc like textoutput" Pin
RobJones5-Oct-02 12:25
RobJones5-Oct-02 12:25 
GeneralCListCtrl adds blank items Pin
monrobot135-Oct-02 11:24
monrobot135-Oct-02 11:24 
GeneralRe: CListCtrl adds blank items Pin
monrobot135-Oct-02 11:33
monrobot135-Oct-02 11:33 
GeneralRe: CListCtrl adds blank items Pin
Michael Dunn5-Oct-02 17:47
sitebuilderMichael Dunn5-Oct-02 17:47 
GeneralRe: CListCtrl adds blank items Pin
monrobot136-Oct-02 2:18
monrobot136-Oct-02 2:18 
GeneralRe: CListCtrl adds blank items Pin
Michael Dunn6-Oct-02 6:06
sitebuilderMichael Dunn6-Oct-02 6:06 
GeneralRe: CListCtrl adds blank items Pin
monrobot136-Oct-02 9:51
monrobot136-Oct-02 9:51 
GeneralHelp! Pin
Sunnygirl5-Oct-02 10:19
Sunnygirl5-Oct-02 10:19 
GeneralRe: Help! Pin
User 66585-Oct-02 10:51
User 66585-Oct-02 10:51 
GeneralRe: Help! Pin
Sunnygirl5-Oct-02 11:57
Sunnygirl5-Oct-02 11:57 

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.