Welcome, Guest. Please login or register.

Author Topic: I'm such a gadtool  (Read 2711 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline peroxidechickenTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2002
  • Posts: 170
    • Show all replies
I'm such a gadtool
« on: June 24, 2003, 09:47:15 AM »
Could someone take me through the steps leading up to and resulting in a successful Createcontext() call in assembler?  

I've read the RKMs - on more than one occasion - regarding gadgets and this particular function and I'm just not getting it.  I've even tried using monam to step through the wb3.1 calculator program - it ain't pretty...  
H2O2
 

Offline peroxidechickenTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2002
  • Posts: 170
    • Show all replies
Re: I'm such a gadtool
« Reply #1 on: June 27, 2003, 11:40:19 PM »
As I said (somewhere) before, I didn't find the function description of CreateContext() to be very useful.  But you guys have revealed some extra clues so I should be able to get on with it - thankyou very much.  

Thomas (regarding another thread I started) - Maybe, out of all Amigas it's just mine that has weird zooming windows but...  Startup the calculator program, move the window, click the zoom gadget and tell me what happens next.  And don't get me wrong, I appreciate your feedback.  
H2O2
 

Offline peroxidechickenTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2002
  • Posts: 170
    • Show all replies
Re: I'm such a gadtool
« Reply #2 on: June 29, 2003, 12:07:09 AM »
So it's not just me - great!   :-)  And thanks for the reply.  

As for windows (in workbench), I know that the window structure should just be accepted as documented but finding those zoom coordinate fields and messing around with them was much more fun than getting nowhere with gadgets.  Before I stopped playing with it, I had it 'rigged' so that successive clicks on the zoom gadget toggled between 3 (or more) window sizes - collapse to title bar, larger than normat, back to normal.  Although, I never thought of preserving the top-left coord and width as the Windows (TM *) way of doing things...   :-)

Thanks again for the help.  

* Tyranny Mark
H2O2