On Tue, Oct 9, 2012 at 8:14 AM, Staffan Tylen <staffan.ty...@gmail.com> wrote:
>
>> Okay.  I'll review the property sheet, I'm not sure if that is the
>> correct way to handle it.  It could be.
>>
>
> Thanks Mark. Regardless of this I'm also looking for a way to present a
> nice, non-obstructing message when the user clicks somewhere on an item
> using the '?'-formed cursor

I did review some of this.  That is not the purpose of the '?' cursor.
 The purpose of the '?' is to allow a user to click on a specific
dialog control and have the application supply help for what that
specific control is for.  This is intended to tie directly into the
Windows Help system, specifically the context help system.

In the event handler for this event, (the event is the one connected
using connectHelp()) there is a 5th argument that I didn't document.
So your onHelp() method could look like this:

::method onHelp unguarded
  use arg id, type, x, y, contextID
  say id type x y contextID

I didn't document it, because contextID will always be 0.  There is
currently no way to assign the context ID to any of the dialog
controls in ooDialog.

Normally the context ID is passed on to the Windows help system, which
then does the right thing.

If you look at the RFEs, you'll see that I have one open:

470     ooDialog - add access to the WinHelp API

the idea of which is to add the support to use the Windows help system
correctly.


> that contains a description of what she clicked.

As I said, that is not really the purpose of the '?' button.  Doesn't
mean you couldn't use it that way, but, in general it is not a good
idea to fight the intended design in Windows.  It's what allows users
to easily work with different applications.


> I'm not so keen on any of the standard routines such as infoMessage and
> timedMessage but would prefer the type of message that one often sees when
> hovering with the mouse in some applications (I'm not after the hovering
> aspect, just the format of the message). My question is: is there a way to
> create that type of message, i.e. no border? I've been unable to locate
> anything suitable.

There isn't in ooDialog.  The Tool Tip control is what produces that
type of message, with the hovering.  Clicking automatically dismisses
a tool tip however.  If you look at the RFEs, you see that someone has
opened one for Button tool tips.  The implementation for that one
would simply be the implementation of the tool tip control.

With a tool tip control, you could probably get pretty close to what
you want.  But, really you are describing a non-standard user
interface for Windows.  So, I'm not 100% sure you would get what you
want.

--
Mark Miesfeld

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to