I would like to know how you found that function
This is the first time I have ever seen it and it appears to be something in the deep end..!
Looking at the help files I don't see a way for that to happen, if you were doing such things in Lazarus LCL
it would be easy.. to do things like this, just make a Dialog form and there you go.
I Lazarus there is a TtaskDialog that you can do some nice things with.