comp.lang.ada
 help / color / mirror / Atom feed
* win32 bindings to Aonix 7.1.2a
@ 1999-07-27  0:00 Eddy Raineri
  0 siblings, 0 replies; only message in thread
From: Eddy Raineri @ 1999-07-27  0:00 UTC (permalink / raw)


Hello,
I have a program that I have developed using Aonix 7.1.2a, it's comprised of
a textbox along with numerous other controls.  The problem is that I want to
be able to put more then the 32K limit that is bound by a textbox.  I have
written this in C++ and found that using EM_LimitText allows the size of the
data to be larger then the 32k limit.  The problem is when I do this using
the Aonix compiler in Ada it doesn't work.  My guess is that the bindings
that is delivered with Aonix is out of date.  I have tried using the new
bindings in MFC 6.0 but the binder complains about the file not being
readable (I'm assuming some library format change?).  Is there anybody out
there with suggestions?  Here is the snippit of code that I use in the Ada.

     procedure Setlimit (Obj : in Gb.Textbox; Limit : in Win32.Int) is
        Result : Gb.Lresult;
        use type Gb.Lresult;
     begin
-- Neither call works.
--        Result := Win32.Winuser.Sendmessage
--                    (Obj.I_Handle, 16#c5#, gb.WParam(Limit), 0);
--                    -- setlimittext max is 65535.
         win32.windowsx.Edit_LimitText(Obj.I_Handle, win32.Int(Limit));
     end Setlimit;

I have also downloaded the 3.0 bindings from intermetrics, they are no
longer supporting them and they don't work either.

Thanks in advance for your help

Eddy






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-27  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-27  0:00 win32 bindings to Aonix 7.1.2a Eddy Raineri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox