PDA

Click to See Complete Forum and Search --> : The final push


hmm
Jul 22nd, 2001, 01:30 PM
O.S: Win98
Compiler: Dev-C++ version 4
Level: keen newbie

Me again ( surprised :D )

Well, nearly finished this one (I think ;)). The final part is to add an event to the button, when triggered will call a function that writes to the text box.

Oh yeah, whats happened so far. I've create a form, command button and text box using the 'CreateWindowEx' function.

Thanks again folks

:D

Vlatko
Jul 22nd, 2001, 03:05 PM
This is how to handle events:


switch (message)
{
case WM_COMMAND:
if ((HWND) lParam == HWND OF BUTTON)
//button pressed, put code here
}

hmm
Jul 22nd, 2001, 04:46 PM
Thank you again Vlatko :)

:D