Skip navigation.
Home
The QNX Community Portal

View topic - Message Passing

Message Passing

anything that doesn't fit to other groups.

Message Passing

Postby wednesday » Wed May 27, 2009 7:18 am

In Windows , we can pass the message using CWnd::Attach() method whenever we wants to pass the message getting attach to CWnd object.
Is similar method available in QNX..???
In Other words, is there any class which do the same functionality as CWnd in QNX???
wednesday
Active Member
 
Posts: 48
Joined: Tue Apr 28, 2009 7:10 am

Re: Message Passing

Postby rgallen » Thu May 28, 2009 3:19 pm

wednesday wrote:In Windows , we can pass the message using CWnd::Attach() method whenever we wants to pass the message getting attach to CWnd object.
Is similar method available in QNX..???
In Other words, is there any class which do the same functionality as CWnd in QNX???


Check out the QNX IPC template class. It has similar functionality (more sophisticated actually, since it offers a degree of type safety in the messaging via template meta-programming).

http://community.qnx.com/sf/sfmain/do/v ... ojects.qfc
rgallen
QNX Master
 
Posts: 671
Joined: Thu Jul 11, 2002 6:48 pm

RE: Re: Message Passing

Postby mario » Thu May 28, 2009 4:10 pm

I think the message passing mention by the OP had nothing to do with the QNX message passing. It's more like how photon event transmited inside the widget hierarchy.

That beind said I thing Wednesday is mistaking in thinking in MFC term and should instead learn how QNX works instead of trying to finding equivalent feature set.
mario
QNX Master
 
Posts: 4107
Joined: Sun Sep 01, 2002 1:04 am


Return to General Programming

Who is online

Users browsing this forum: No registered users and 2 guests