Re: Re: Thread-safe GUI operations
nummish <[email protected]> Wed, 22 Dec 2004 22:43:55 -0500
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Tried to use AppPendingEvent. Form.cs(183) error CS0117: `wx.EvtHandler' does not contain a definition for `AddPendingEvent' I'm getting this error when trying to blindly add this in, so I'm assuming it's not actually implemented in wx.NET yet Am I missing something here? On Wed, 22 Dec 2004 23:07:43 +0100, Robert Roebling <[email protected]> wrote: > nummish wrote: > > > So after looking further into it, I realized there were > > Utils.MutexGuiEnter() and Utils.MutexGuiLeave() functions available, > > and these seem to be working fine. If there's any reason I shouldn't > > be using these, can someone let me know? > > You shouldn't use these as they mostly don't work - apart from a > few test cases. Do you wxPostEvent() or EvtHandler.AddPendingEvent() > > Robert > > > > > > > On Mon, 20 Dec 2004 20:15:02 -0500, nummish <[email protected]> wrote: > > > I have an application that spawns threads while several network > > > connections are made in the background. > > > > > > To ensure thread-safe gui updates (such as the status bar, etc), is > > > there a specific way to call the main GUI thread that doesn't involve > > > EvtHandler.AddPendingEvent() as this isn't listed in the wx.net API > > > reference? > > > > > > -- > > > Bigger 1:23 > > > This address if for mailing list traffic only. > > > Please direct non-list correspondence to 0x90.org > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > wxnet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wxnet-users > -- Bigger 1:23 This address if for mailing list traffic only. Please direct non-list correspondence to 0x90.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/