About Diagramming application support

Trasca Virgil virgil_trasca at yahoo.com
Fri Apr 4 21:35:50 PDT 2008


Hello Mal,

       you are absolutely wright. I will update my tutorial with wxDevC++. Thank you for the feedback.

Virgil

----- Original Message ----
From: "wx-users-request at lists.wxwidgets.org" <wx-users-request at lists.wxwidgets.org>
To: wx-users at lists.wxwidgets.org
Sent: Friday, April 4, 2008 10:00:11 PM
Subject: wx-users Digest, Vol 2, Issue 7

 Send wx-users mailing list submissions to
    wx-users at lists.wxwidgets.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.wxwidgets.org/mailman/listinfo/wx-users
or, via email, send a message with subject or body 'help' to
    wx-users-request at lists.wxwidgets.org

You can reach the person managing the list at
    wx-users-owner at lists.wxwidgets.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wx-users digest..."


Today's Topics:

   1. Re: About Diagramming application support (M Nealon)
   2. Mouse Focus (Declan McMullen)
   3. Re: Mouse Focus (Vadim Zeitlin)
   4. Re: Mouse Focus (Declan McMullen)
   5. Re: Mouse Focus (Stefan)


----------------------------------------------------------------------

Message: 1
Date: Fri, 4 Apr 2008 05:55:53 +0200
From: "M Nealon" <malcolm.nealon at gmail.com>
Subject: Re: About Diagramming application support
To: wx-users at lists.wxwidgets.org
Message-ID:
    <ac784bb0804032055o2184f1e8o546149a8d08fc6d6 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Thu, Apr 3, 2008 at 9:20 PM, Trasca Virgil <virgil_trasca at yahoo.com>
wrote:

> Hi Christian,
>
>     here is a wxWidgets introduction tutorial. Soon I will update the
> tutorial also with a  start  to end "how to  build" a wxWidgets applicati=
on.
> Please let me know  what can I do better for  the tutorial.
>
> http://java-hobby.blogspot.com/search/label/wxWidgets
>

I find it interesting that you mention Code::Blocks, and Dev-Cpp, but forget
to mention the wxDev-C++ project, which is Dev-Cpp with an integrated
wxWidgets form designer, precompiled libraries and program templates.

It makes installing/working with a Dev-Cpp IDE for wxWidgets a piece of
cake. No need to download libraries and hope they work, with wxDev-C++ it is
install and run.

Best
Mal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080404/e42=
c1a01/attachment.html

------------------------------

Message: 2
Date: Fri, 4 Apr 2008 16:25:44 +0100
From: "Declan McMullen" <declan.mcmullen at gmail.com>
Subject: Mouse Focus
To: wx-users at lists.wxwidgets.org
Message-ID:
    <68cbd70f0804040825h38b3435cl26d609393bb6bfcb at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hey Guys,
   I'm looking to replicate vmware style behaviour when it comes to mouse
capturing. I want my widgets program to capture the mouse and lock it inside
the panel.
Then when a key is pressed it releases the mouse in order for it to be used
in other software. Similiar to vmware operating in a window.

I tried using the CaptureMouse() method but instead of moving the mouse into
my window it brought up a windows wait mouse pointer, the egg timer.
I'm also handing mouse capture lost and calling ReleasMouse() when it
occurs.

Any guidance on how to get my program to grab the mouse and not let it out
of the frame, would be much appreciated.

-- =

http://www.computing.dcu.ie/~dmcmullen
declan.mcmullen at computing.dcu.ie
School of Computing
Postgrad Bay A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080404/ba5=
fc357/attachment-0001.htm

------------------------------

Message: 3
Date: Fri, 4 Apr 2008 17:28:41 +0200
From: Vadim Zeitlin <vadim at wxwidgets.org>
Subject: Re: Mouse Focus
To: wx-users at lists.wxwidgets.org
Message-ID: <20080404152843.6EA1831457E at riobu.com>
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

On Fri, 4 Apr 2008 16:25:44 +0100 Declan McMullen <declan.mcmullen at gmail.com> wrote:

DM> I'm looking to replicate vmware style behaviour when it comes to mouse
DM> capturing. I want my widgets program to capture the mouse and lock it inside
DM> the panel.

 There is no equivalent of Win32 TrackMouseEvent() in wx so you're going to
have trouble doing this efficiently.

DM> I tried using the CaptureMouse() method but instead of moving the mouse into
DM> my window it brought up a windows wait mouse pointer, the egg timer.

 CaptureMouse() doesn't move mouse at all (WarpPointer() does this) but
neither does it change the cursor.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/



------------------------------

Message: 4
Date: Fri, 4 Apr 2008 16:34:33 +0100
From: "Declan McMullen" <declan.mcmullen at gmail.com>
Subject: Re: Mouse Focus
To: wx-users at lists.wxwidgets.org
Message-ID:
    <68cbd70f0804040834l24a10752r272a8177975ebe4e at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Fri, Apr 4, 2008 at 4:28 PM, Vadim Zeitlin <vadim at wxwidgets.org> wrote:

> On Fri, 4 Apr 2008 16:25:44 +0100 Declan McMullen <
> declan.mcmullen at gmail.com> wrote:
>
> DM> I'm looking to replicate vmware style behaviour when it comes to mouse
> DM> capturing. I want my widgets program to capture the mouse and lock it
> inside
> DM> the panel.
>
>  There is no equivalent of Win32 TrackMouseEvent() in wx so you're going
> to
> have trouble doing this efficiently.
>


Ah ok. I'll produce a workaround so. cheers





-- =

http://www.computing.dcu.ie/~dmcmullen
declan.mcmullen at computing.dcu.ie
School of Computing
Postgrad Bay A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080404/7b0=
c9762/attachment-0001.htm

------------------------------

Message: 5
Date: Fri, 04 Apr 2008 17:45:57 +0200
From: Stefan <sickboy at 9elements.com>
Subject: Re: Mouse Focus
To: wx-users at lists.wxwidgets.org
Message-ID: <47F64D35.4080604 at 9elements.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

u can use the win32 method SetCursorPos to set the mouse position.

Vadim Zeitlin schrieb:
> On Fri, 4 Apr 2008 16:25:44 +0100 Declan McMullen <declan.mcmullen at gmail.com> wrote:
>
> DM> I'm looking to replicate vmware style behaviour when it comes to mouse
> DM> capturing. I want my widgets program to capture the mouse and lock it inside
> DM> the panel.
>
>  There is no equivalent of Win32 TrackMouseEvent() in wx so you're going to
> have trouble doing this efficiently.
>
> DM> I tried using the CaptureMouse() method but instead of moving the mouse into
> DM> my window it brought up a windows wait mouse pointer, the egg timer.
>
>  CaptureMouse() doesn't move mouse at all (WarpPointer() does this) but
> neither does it change the cursor.
>
>  Regards,
> VZ
>
>   



------------------------------

_______________________________________________
wx-users mailing list
wx-users at lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wx-users


End of wx-users Digest, Vol 2, Issue 7
**************************************



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080404/17a77405/attachment-0001.htm


More information about the wx-users mailing list