FLTK logo

Re: Re: hiding a popup menu - [General Use]

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: hiding a popup menu - [General Use] geert.karman Feb 05, 2019  
  ------=_Part_1864_1211663966.1549389503618
Content-Type: multipart/alternative;
        boundary="----=_Part_1865_738600915.1549389503619"

------=_Part_1865_738600915.1549389503619
Content-Type: text/plain; charset="UTF-8"

Hello,

There seems to be a bit of confusion as to how this is going to be put to
use so I feel obliged to explain. What I am doing here is making the actual
menu button for my application, but one that I can manipulate from outside.
So in a help page (maybe displayed with Fl_Help_View or so) in stead of for
example writing the long and tedious: To insert a column, go to the menubar
at the top of your screen, press "Sheet" and then select "Insert" and then
"Column", you simply make a clickable entry "Insert column " and by
highlighting buttons / animation of drop-down menus etc. in the application
itself, the user can actually see what he has to do. Hope this clarifies
things a bit.

Thank you all for the interest you showed.

All the best,
Geert



On Tuesday, February 5, 2019 at 12:42:43 PM UTC, MacArthur, Ian (Leonardo,
UK) wrote:
>
>
> > Indeed, I use an artificial click, as far as I can see that's the only
> > way to reset pressed_menu_button_  in Fl_Menu_Button.cxx. Only tried
> > this on Mac for now, and there its works well. Not Win or Linux yet.
>
> > As for the UI design aspects: if I do use it for interactive help in Mac
> > style, the menu's will only appear a short time, just enough for the
> > user to know where he can find what he wants to do, but too short to
> > actually point the mouse at it. I like Apple's approach, but I'll have
> > to see if it is really a good way for me to offer help.
>
> Hmm, so that doesn't really sound like you need a popup menu per se, do
> you?
> If there's not expected to be any user interaction, would it not be
> simpler just to pop up a suitably sized, borderless window that was set
> "non-modal" for your main window? Then you could just hide that window
> whenever you wanted anyway, rather than trying to trick the menu system
> into doing the Right Thing?
>
> Or... I'm probably misunderstanding your use-case.
>
> Cheers,
> --
> Ian
>
>
> Leonardo MW Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex
> SS14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

------=_Part_1865_738600915.1549389503619
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div>There seems to be a bit of=
 confusion as to how this is going to be put to use so I feel obliged to ex=
plain. What I am doing here is making the actual menu button for my applica=
tion, but one that I can manipulate from outside. So in a help page (maybe =
displayed with Fl_Help_View or so) in stead of for example writing the long=
 and tedious: To insert a column, go to the menubar at the top of your scre=
en, press &quot;Sheet&quot; and then select &quot;Insert&quot; and then &qu=
ot;Column&quot;, you simply make a clickable entry &quot;Insert column &quo=
t; and by highlighting buttons / animation of drop-down menus etc. in the a=
pplication itself, the user can actually see what he has to do. Hope this c=
larifies things a bit.<div><br></div><div>Thank you all for the interest yo=
u showed.</div><div><br></div><div>All the best,</div><div>Geert</div><div>=
<br></div><div><br></div><div><br>On Tuesday, February 5, 2019 at 12:42:43 =
PM UTC, MacArthur, Ian (Leonardo, UK) wrote:<blockquote class=3D"gmail_quot=
e" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;paddin=
g-left: 1ex;">
<br>&gt; Indeed, I use an artificial click, as far as I can see that&#39;s =
the only
<br>&gt; way to reset pressed_menu_button_ =C2=A0in Fl_Menu_Button.cxx. Onl=
y tried
<br>&gt; this on Mac for now, and there its works well. Not Win or Linux ye=
t.
<br>
<br>&gt; As for the UI design aspects: if I do use it for interactive help =
in Mac
<br>&gt; style, the menu&#39;s will only appear a short time, just enough f=
or the
<br>&gt; user to know where he can find what he wants to do, but too short =
to
<br>&gt; actually point the mouse at it. I like Apple&#39;s approach, but I=
&#39;ll have
<br>&gt; to see if it is really a good way for me to offer help.
<br>
<br>Hmm, so that doesn&#39;t really sound like you need a popup menu per se=
, do you?
<br>If there&#39;s not expected to be any user interaction, would it not be=
 simpler just to pop up a suitably sized, borderless window that was set &q=
uot;non-modal&quot; for your main window? Then you could just hide that win=
dow whenever you wanted anyway, rather than trying to trick the menu system=
 into doing the Right Thing?
<br>
<br>Or... I&#39;m probably misunderstanding your use-case.
<br>
<br>Cheers,
<br>--=20
<br>Ian
<br>
<br>
<br>Leonardo MW Ltd<br>Registered Office: Sigma House, Christopher Martin R=
oad, Basildon, Essex SS14 3EL<br>A company registered in England &amp; Wale=
s. =C2=A0Company no. 02426132<br>******************************<wbr>*******=
***********************<wbr>********<br>This email and any attachments are =
confidential to the intended<br>recipient and may also be privileged. If yo=
u are not the intended<br>recipient please delete it from your system and n=
otify the sender.<br>You should not copy it or use it for any purpose nor d=
isclose or<br>distribute its contents to any other person.<br>*************=
*****************<wbr>******************************<wbr>********<br></bloc=
kquote></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;fltk.general&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:fltkgeneral+unsubscribe@googlegroups.com">fltkgen=
eral+unsubscribe@googlegroups.com</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_1865_738600915.1549389503619--

------=_Part_1864_1211663966.1549389503618--


Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.