[ros-kernel] Hunting a task
Waldo Alvarez Cañizares - another buried alive
wac at ghost.matcom.uh.cu
Tue Oct 21 12:06:49 CEST 2003
Hi ppl:
> > - Get ansi MessageBox working (user32.dll)
>
> Seems easier. I think i can handle this, but i will only do it if nobody
> is working there.
>
I was taking a look to MessageBox. Seems to me that it is quite complete
with some small things to do. But i saw that a messagebox is implemented
as a dialog. This seems incorrect to me.
1- The window size for it is unknown when you create it (depends on
factors as the text lenght)
2- You don't know the buttons it contains until you create it.
3- You don't know if it has an icon until you create it. (current
implementation will contain a dummy static control)
4- And the worst. What if the system is unable to load resources and you
want to display an error using a messagebox?
So actually you almost don't know anything until it is created.
That's why I think that everything should be created when the function is
called. Somebody against it. If you do please explain. Because I'm about
to change it.
Best Regards
Waldo
More information about the Ros-kernel
mailing list