Hi,

Ok, I'm back.

I don't have much to contribute to what has already been said.
l
Why doesn't WM_SETUP return an error? Often it doesn't have any clue as to whether there was an error. It just converts one data structure to another and presumes that the original data structure was OK.


does anyone have any decent examples of setting up a Window, with one
application sub-window that doesn't have a menu, and then dynamically
building a menu into the afore mentioned sub-window.

There are two aspects here: building the appsub and putting it into the working definition.

I don't know easyptr so I can't comment on that, but under QPTR,I'd proceed as follows:

1 -Start by building a window with a menu appsub wdw with 0 elements, i.e. an empty app sub wdw (alternatively an appsub wdw that is not a menu appsub wdw) 2 - Then later, use the normal QPTR functions to build an appsub window, one you have the data. 3 - Poke the address of that into the application sub-window definition list and redraw everything

That's  more or less how my backup prog does it.

HTH

Wolfgang

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to