Re: cross-thread update requests
nummish <[email protected]> Thu, 12 May 2005 16:01:47 -0400
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
On 5/12/05, Robert Roebling <[email protected]> wrote: > nummish wrote: > > > this.EventHandler.AddPendingEvent(new UpdateUIEvent(_GuiUiId)); > > where _GuiUiId is assigned in the constructor by calling this.UniqueID(); > > The wxUpdateUI event is not the right event for calling > Refresh() on some window. Just send a command event with > a new event type to the window to be refreshed and catch > the event there. > Are there any problems or shortcomings that may arise by using a custom UpdateUIEvent and sending it to a window versus sending a CommandEvent (or even a derived CommandEvent)? -- Bigger 1:23 This address if for mailing list traffic only. Please direct non-list correspondence to 0x90.org ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click