Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Tobias Fröschle
Norman, it probably was a „If we can’t get them all, we probably shouldn’t even start looking for them“-decision. Potential of lurking errors in window definitions is immense and a full check of the definition in WM_SETUP is maybe a bit ambitious. After all, the Tebby team used the QPTR

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread gdgqler
On 18 Apr 2015, at 19:49, Norman Dunbar nor...@dunbar-it.co.uk wrote: 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. I thought that SET_AP in

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Norman Dunbar
On 19 April 2015 08:38:29 BST, Tobias Fröschle tobias.froesc...@t-online.de wrote: Norman, it probably was a „If we can’t get them all, we probably shouldn’t even start looking for them“-decision. Potential of lurking errors in window definitions is immense and a full check of the definition in

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Tobias Fröschle
Norman, this is the best I could possible come up with so far (can’t find my own code anymore…) These are routines Easysource includes as app win menu handling code when you generate an application without a fixed menu. They don’t, however, cover any of the actual list allocation tasks.

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Tobias Fröschle
Norman, …and another one. I just remembered when I started doing this stuff in assembler, I used the (C!)-routines that came with EasyC (available at Dillwyn’s) from the master himself as a starting point. The example there shows how a menu in an application sub window is dynamically set up in

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Norman Dunbar
On 19 April 2015 06:53:02 BST, Wolfgang Lenerz wlen...@free.fr wrote: Hi Norman I 'll have a look at your points, but won't be able to reply for a few days at least. WOlfgan ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm Thanks

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Norman Dunbar
Hi George, On 19/04/15 14:04, gdgqler wrote: On 18 Apr 2015, at 19:49, Norman Dunbar nor...@dunbar-it.co.uk wrote: 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

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Norman Dunbar
The Easy PEasy example EX1_asm is an example of using SET_AP, this is good, but, when executed it calls WM_WRSET after calling SET_AP. This breaks LibGen as it clears all text from all the various information windows that have user input displayed in them - the Sym File, Lib File and Bin File

Re: [Ql-Users] Why does WM_SETUP - never return an error?

2015-04-19 Thread Norman Dunbar
On 19/04/15 15:13, Norman Dunbar wrote: However, I'll have another look at SET_AP - now that I've got a working version of LibGen that doesn't trash QPC when it is run! :-) I have a working example now of a program that sets up a dynamic menu. It seems I need to design the window with a menu