Results 1 to 3 of 3

Thread: The final push

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    UK
    Posts
    40

    The final push

    O.S: Win98
    Compiler: Dev-C++ version 4
    Level: keen newbie

    Me again ( surprised )

    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


  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    This is how to handle events:

    Code:
    switch (message)
    {
    case WM_COMMAND:
    	if ((HWND) lParam == HWND OF BUTTON) 
    	//button pressed, put code here
    }
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    UK
    Posts
    40

    Talking I'm starting to enjoy this ...

    Thank you again Vlatko


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width