[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] looping inside a function
From: |
Alejandro Garcia |
Subject: |
Re: [paragui-users] looping inside a function |
Date: |
Thu, 16 May 2002 14:21:56 +0200 |
> Your object would need to manage the
> "loop" as a series of responses to "idle events".
> You could have a button register the idle object at first
> click and any time the button was pressed again it would
> get the objects public member char*,
> close the theme widget and unregister your function
> object to receive idle events.
Sorry, but I don't know what you mean. Maybe some
pseudo-code could help.
> To make the user wait the button could be Modal. I'd be
> interested to know if the "idle events"
> get posted during a modal loop???
That's what I want. How could I put an user function in
modal. I want anything like this:
int main(int argc, char* argv[]){
[Some kind of inits...]
char* a_string;
a_string= Show_my_controls();
app.Run()
}
char* Show_my_controls()
{
/* Shows a theme widget with some buttons in it... waits
for some user actions as clicking buttons and when you
click an end button returns a string. */
}
Thanks in advance.