paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] posting messages?


From: taurus
Subject: Re: [paragui-users] posting messages?
Date: Fri, 22 Nov 2002 16:40:17 +0000

Hello Keith,

so serious problem? Let`s see.
To send a message to a widget or broadcasted I use SendMessage() function
that goes as i remember from PG_MessageObject(?, cannot check the
syntax now). For example, I have a field of map cells and want to
update a widget (indicator) that will show info about selected cell (widget).
What do I do?
1) On cell.eventButtonUp() (from mouse) I send a message by
cell.SendMessage(...).
2) I receive message in indicator.eventMessage(), check it if it`s from
cell and update indicator information.

It`s quite simple and, well, fast.
Write me if you have more questions. Check paragui sources and docs
about functions parameters, sorry, I dont have access to my home
station. BTW, you`ll find nice example in paragui docs (html).


Friday, November 22, 2002, 14:37:40, you wrote:

KS> well, it turns out that my problems mentiond in delaying receiving messages,
KS> is the need to post messages. Does anyone know how to do this with sdl or
KS> paragui? is it even possible with their current messaging ?  i am in serious
KS> trouble if i can't find a way to overcome this. are there any other possible
KS> methods? i am somewhat new to message handling, so i was oblivious to the
KS> fact that these problems could happen..... until they did :(

KS> anyway, any help would be great







Kind regards,
       taurus                          

address@hidden

 ->> "If you will have a megaphone, you will never have to be alone..."






reply via email to

[Prev in Thread] Current Thread [Next in Thread]