Re: Where dose the code go?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 18 Jul 2000 19:23:13 -0500, A.R.S. Alvin Koffman wrote:

>I spliced two of Dave Coney's winlib examples and got this working then it
>dawned on me. WHERE DO YOU PUT THE $#@*! CODE TO DO STUFF WITH!!!!!!

In windows programming, you write code to handle different events.  For a
dice game, you might have a button for rolling the dice.  So that's where
you might put most of your code.  E.g. if you had a button 'RollBtn' then
your code would go into a procedure 'onClick[RollBtn]'.  Since you are a
beginner to event-driven programming, you might want to take a look at the
Win32Lib Tutor at http://www.king.igs.net/~wolfritz/tutor.htm

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu