![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2006
Posts: 6
Rep Power: 0
![]() |
Window help
I im just now learing windows programming, So im not to good at it yet, Im trying to build a calculater, but im getting confused. If I have a "calcuate" button with ID: "ID_Calculate" , Do i use
case ID_Calculate: //some code// break; in my main source file ? And how do I get data to show up in a field after the program has started and the user clicks on a inout box types in a number then hits the "calcuate" button ? |
|
|
|
|
|
#2 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
You meant if a user types in something in an input box and then presses the calculate button? The button generates a message, which is sent to your message loop, you catch it with BN_CLICKED.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|