Antonio,

I'm unable to assign an '&' as the first character in a series of
buttons where the first charter is the 'hot key'. IUP allows the first
character use on secondary buttons IF I use a space on the first button
before the &. If I remove the space, I lose the _ hot key for the
secondary buttons. This does the same with IupSetAttribute() and
IupSetAttributes().

John

On Thu, 2016-01-14 at 16:23 -0200, Antonio Scuri wrote:
>  Hi,
> 
> 
>  I couldn't reproduce this problem here. I have a small test in C that
> shows several buttons with titles using the ampersand in several
> places and in the first character, like "&SomeTitle". But they all
> work OK.
> 
> 
> Best,
> Scuri
> 
> 
> 
> On Mon, Jan 11, 2016 at 1:19 AM, John Spikowski
> <[email protected]> wrote:
>         BTW: I was able to resolve (workaround) having to use a space
>         character
>         for the first button with a hotkey as the first letter. I used
>         a
>         IupSetAttribute() for the TITLE and IupSetAttributes() for the
>         remaining
>         attributes.
>         
>         IupSetAttributes() won't support IMAGE=img_handle either. (you
>         must use
>         IupSetAttribute - at least under Windows 32 bit)
>         
>         
>         
>         
>         On Fri, 2016-01-08 at 11:12 +0000, Ranier VF wrote:
>         > Good to know, but in future please make a reduced example.
>         > Help others to understand the problem and create
>         documentation.
>         >
>         >
>         > Best regards,
>         >
>         >
>         > Ranier Vilela
>         >
>         > > From: [email protected]
>         > > To: [email protected]
>         > > Date: Thu, 7 Jan 2016 14:00:39 -0800
>         > > Subject: Re: [Iup-users] Button Accelarator
>         > >
>         > > Good News!
>         > >
>         > > It seems I only need to do the space on the first button
>         and the
>         > > following buttons work as they should.
>         > >
>         > >
>         > >
>         > > On Thu, 2016-01-07 at 13:54 -0800, John Spikowski wrote:
>         > > > This is getting worse. If I follow the button with
>         another button
>         > using
>         > > > a space to get the accelerator working, both buttons no
>         longer
>         > show the
>         > > > underlined accelerators.
>         > > >
>         > > >
>         > > >
>         > > > On Thu, 2016-01-07 at 12:43 -0800, John Spikowski wrote:
>         > > > > I noticed that the '&SomeTitle' doesn't work unless I
>         preface it
>         > with a
>         > > > > space. If used anywhere else in the title, it works as
>         expected.
>         > > > >
>         > > > >
>         > > > >
>         > > > >
>         > > > >
>         >
>         
> ------------------------------------------------------------------------------
>         > > > > _______________________________________________
>         > > > > Iup-users mailing list
>         > > > > [email protected]
>         > > > > https://lists.sourceforge.net/lists/listinfo/iup-users
>         > > >
>         > > >
>         > > >
>         > > >
>         >
>         
> ------------------------------------------------------------------------------
>         > > > _______________________________________________
>         > > > Iup-users mailing list
>         > > > [email protected]
>         > > > https://lists.sourceforge.net/lists/listinfo/iup-users
>         > >
>         > >
>         > >
>         > >
>         >
>         
> ------------------------------------------------------------------------------
>         > > _______________________________________________
>         > > Iup-users mailing list
>         > > [email protected]
>         > > https://lists.sourceforge.net/lists/listinfo/iup-users
>         >
>         >
>         
>         > Este e-mail foi enviado por um
>         > computador sem vĂ­rus e protegido
>         > pelo Avast.
>         > www.avast.com
>         >
>         
> ------------------------------------------------------------------------------
>         > _______________________________________________
>         > Iup-users mailing list
>         > [email protected]
>         > https://lists.sourceforge.net/lists/listinfo/iup-users
>         
>         
>         
>         
> ------------------------------------------------------------------------------
>         Site24x7 APM Insight: Get Deep Visibility into Application
>         Performance
>         APM + Mobile APM + RUM: Monitor 3 App instances at just
>         $35/Month
>         Monitor end-to-end web transactions and take corrective
>         actions now
>         Troubleshoot faster and improve end-user experience. Signup
>         Now!
>         http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>         _______________________________________________
>         Iup-users mailing list
>         [email protected]
>         https://lists.sourceforge.net/lists/listinfo/iup-users
>         
> 
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to