Re: [Iup-users] Attribute request for IUP Matrix

2015-09-16 Thread Milind Gupta
If we define an attribute HIDESBX and HIDESBY to manually hide and show the scrollbar I think the supporting logic can be written and this functionality implemented. I created a Lua module in C basically to wrap the ACTION and RESIZE_CB callbacks for the matrix. I do that so I can immediately set

Re: [Iup-users] Iup control Printer

2015-09-16 Thread Antonio Scuri
No. IupCanvas is an area on screen that can be drawn, but IUP does not have any drawing primitives. For that we have CD, that can be used to draw on screen and on a printer paper using the same API. The IUP tutorial has an example of how that it is done in chapter 4 Simple Paint. Best Regards

[Iup-users] IupCanvas and Printer

2015-09-16 Thread ????
Hi,-- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http:

[Iup-users] Iup control Printer

2015-09-16 Thread ????
Hi, Can I use IupCanvas to control the printer? Or is there any other way? Many thanks.-- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one

Re: [Iup-users] Attribute request for IUP Matrix

2015-09-16 Thread Antonio Scuri
Ok. That's something I want too, but that's not easy. I tried before without success. The IupMatrix architecture must be improved. Meanwhile there are a few workarounds using LIMITEXPAND or RESIZEMATRIX_CB + FITTOSIZE. Sorry. This is something we need to improve for the future. Just won't get

Re: [Iup-users] UTF-8 GTK2/Linux: action callback in IupText broken.

2015-09-16 Thread Antonio Scuri
How are you checking this? Using a printf like output? I couldn't reproduce the problem here. Best, Scuri On Thu, Aug 27, 2015 at 10:21 AM, Antonio Scuri wrote: > ok I'll check that. > > Thanks, > Scuri > > > On Wed, Aug 26, 2015 at 6:22 PM, "Jörg F. Wittenberger" < > joerg.wittenber...

Re: [Iup-users] TAB key not call LEAVEWINDOW_CB

2015-09-16 Thread Antonio Scuri
LEAVEWINDOW_CB is mouse related callback, not focus callback. Best, Scuri On Wed, Sep 16, 2015 at 9:12 PM, Ranier VF wrote: > TAB key, does not call LEAVEWINDOW_CB > > This behavior is expected? > Because TAB key change the focus on controls. > > Best, > > Ranier Vilela > > > ---

Re: [Iup-users] IupText with MASK attribute

2015-09-16 Thread Antonio Scuri
Yes, it is. Because MASK is evaluated before ACTION. Best, Scuri On Wed, Sep 16, 2015 at 5:27 PM, Ranier VF wrote: > IupText with MASK attribute. > > MASKFAIL_CB is called before ACTION, why? > This behavior is expected? > > Better be if ACTION were called first, or not? > > Best, > > Ranier

[Iup-users] TAB key not call LEAVEWINDOW_CB

2015-09-16 Thread Ranier VF
TAB key, does not call LEAVEWINDOW_CB This behavior is expected?Because TAB key change the focus on controls. Best, Ranier Vilela -- Monitor Your Dynamic Infrastructure at Any Scale With

Re: [Iup-users] Attribute request for IUP Matrix

2015-09-16 Thread Milind Gupta
Hi Antonio, Thanks for looking into this. The problem I see with scrollbars right now is that they are shown if the Matrix is large enough to fill the space it is put in. The matrix control requires that the matrix size be smaller than the maximum size by the scroll bar size. So when

[Iup-users] IupText with MASK attribute

2015-09-16 Thread Ranier VF
IupText with MASK attribute. MASKFAIL_CB is called before ACTION, why?This behavior is expected? Better be if ACTION were called first, or not? Best, Ranier Vilela -- Monitor Your Dynamic