Thank you Green,
Sorry for disturb.
From: green8819 <green8819@...
Sent: Saturday, August 4, 2012 6:40 AM
Subject: [libertybasic] Re: balloon
Thank you everybody.
Sarmed, your 'solution' won't work because you have not defined prefix$.
See Stefan's answer.
A dialog_window version is to be preferred, so says an expert. I have to agree. Here is his verssion. Combine it with Stefan's, and you have a complete solution.
open "" for dialog as #w
#w, "font arial 10" :#w, "trapclose [quit]"
timer 10, [testfocus]
calldll #user32, "GetFocus", temp As ulong
hb = hwnd(#w.btn)
if temp <> hb then Handle = temp
sub DefaultButton handle$
select case Handle
[Non-text portions of this message have been removed]