FB II Compiler
Access FB window record
I may be mistaken, but I think this info is in the standard toolbox window record, at wndPtr&.wControlList&. You can get the wndPtr& with
GET WINDOW WndID, wndPtr&
I'm sure you can find the format for the control list in the manuals.
Hi all especially Jonathan. I am currently working on my latest whizzo application.
This allows the programmer to draw objects in a window, and then saves them as a system resource that can be called upon when the window is opened. It uses the same techniques as Jukebox Jockey but refines them to improve speed and flexibility.
I am aware that this is similar to PG and dont like the concept of reinventing the wheel, but then the wheel is a particularly elegant artifact.....
I too work in plain vanilla FB.
I am thinking of calling the application Smash Windows in reverence of Flash Windows and spite at MS.
These are the record structures I am currently looking at. The window record holds a handle to the controls.
DIM RECORD ControlRec
DIM END RECORD _ContRecLen
DIM RECORD WindRec
DIM 96 wTitle$
DIM END RECORD _WindRecLen