Re: [Iup-users] IupGridBox, Part II

2017-01-21 Thread Antonio Scuri
Have you tried with the new IUP version? Best, Scuri On Fri, Jan 20, 2017 at 9:27 PM, Andrew Robinson wrote: > Hello Antonio, > > I just changed IupSetAttribute(gbox,'SIZELIN','0'); > and IupSetAttribute(gbox,'SIZECOL','2'); to > IupSetAttribute(gbox,'SIZELIN','-1'); > and IupSetAttribute(g

Re: [Iup-users] IupGridBox, Part II

2017-01-20 Thread Andrew Robinson
Hello Antonio, I just changed IupSetAttribute(gbox,'SIZELIN','0'); and IupSetAttribute(gbox,'SIZECOL','2'); to IupSetAttribute(gbox,'SIZELIN','-1'); and IupSetAttribute(gbox,'SIZECOL','-1'); and it will not render anything. I tried different things but nothing works except the original code. Than

Re: [Iup-users] IupGridBox, Part II

2017-01-19 Thread Antonio Scuri
In C that means something else. I understand that didactically would be interesting but it is something that should be learned. Actually many beginners will use the other form, the same as I did in the example you sent me (see attached file also). Like this: Ihandle* label = IupLabel( Ihandl

Re: [Iup-users] IupGridBox, Part II

2017-01-19 Thread Andrew Robinson
How would you tell beginners to the C language, what is the proper way to define a pointer to an array of pointers in C? "*" means "pointer", and "**" means a pointer to a pointer, but IupGridBox doesn't require a pointer to a pointer, it requires a pointer to the first pointer in a series of point

Re: [Iup-users] IupGridBox, Part II

2017-01-19 Thread Antonio Scuri
Hi, That's not just documentation, it implies in a change in the API. If you take a look at the "iup.h" header you will see that all boxes have the same constructors just like gridbox. Best, Scuri On Thu, Jan 19, 2017 at 4:03 PM, Andrew Robinson wrote: > You are a very responsive develope

Re: [Iup-users] IupGridBox, Part II

2017-01-19 Thread Andrew Robinson
You are a very responsive developer, Antonio! I have yet to see anyone like you in any other group like IUP. I just hope that even when you someday leave this group, that nothing will change about it. You saved me the work of having to do my own GUI layout handler. I will give you future feedback o

Re: [Iup-users] IupGridBox, Part II

2017-01-19 Thread Antonio Scuri
Hi, I added a new option for SIZECOL and SIZELIN, they can now be -1. If so all controls will be considered when computing the gridbox size. Also I fixed an error in gridbox alignment. Just committed to SVN. IUP 3.21 should be released next week. Best, Scuri On Sun, Jan 15, 2017 at

Re: [Iup-users] IupGridBox, Part II

2017-01-15 Thread Antonio Scuri
Ok. Got it. Best, Scuri On Sun, Jan 15, 2017 at 1:11 PM, Andrew Robinson wrote: > int fnSrcFile(void) { return IUP_DEFAULT } > int fnDstFile(void) { return IUP_DEFAULT } > int fnBtnOk(void) { return IUP_DEFAULT } > int fnBtnQuit(void) { return IUP_CLOSE } > int main(int argc, char **argv) { >

Re: [Iup-users] IupGridBox, Part II

2017-01-15 Thread Andrew Robinson
int fnSrcFile(void) { return IUP_DEFAULT } int fnDstFile(void) { return IUP_DEFAULT } int fnBtnOk(void) { return IUP_DEFAULT } int fnBtnQuit(void) { return IUP_CLOSE } int main(int argc, char **argv) { Ihandle *dlg, *hTxt, *guiPtr; struct stGui { Ihandle *lbl1; Ihandle *lbl2; Ihandle *txt1;

Re: [Iup-users] IupGridBox, Part II

2017-01-09 Thread Antonio Scuri
Hi, Can you send me the code for that example. I may have an idea. Best, Scuri On Sun, Jan 8, 2017 at 3:16 PM, Andrew Robinson wrote: > Hello, > > This is just feedback of user satisfaction. It is not a complaint, it is > just an opinion and requires no response. I'm hoping someone will >

Re: [Iup-users] IupGridBox, Part II

2017-01-08 Thread Hernan Cano
Hi, Andrew. Yes, I understand you. I also have tryed IUP with its "automatically positioning and sizing"... but I prefered to use CX and CY (and related expand, floating, rastersize in a CBOX container). Although I confirm that Antonio has recommended me only use the standard ... "iup.hbox and iu

Re: [Iup-users] IupGridBox, Part II

2017-01-08 Thread Andrew Robinson
Hi John, Was I really not that clear? I thought from the title and text that you would realize that I was only speaking of using an IupGridBox for this demonstration. I did try using IupHbox and IupVbox but like I said, they won't allow to you simultaneously align controls both vertically and hori

Re: [Iup-users] IupGridBox, Part II

2017-01-08 Thread John Spikowski
Just curious. Are you using any IupHBox or IupVBox containers in your design? On Sun, 2017-01-08 at 10:16 -0700, Andrew Robinson wrote: > Hello, >   > This is just feedback of user satisfaction. It is not a complaint, > it is just an opinion and requires no response. I'm hoping someone > will under

[Iup-users] IupGridBox, Part II

2017-01-08 Thread Andrew Robinson
Hello, This is just feedback of user satisfaction. It is not a complaint, it is just an opinion and requires no response. I'm hoping someone will understand what I am saying here and will think of a way to improve the container functionality to bring it up to a more state-of-the-art level. With t