holy
Wed Aug 24 22:30:01 CDT 2005
"Jack Jackson" wrote:
> On Wed, 24 Aug 2005 03:45:02 -0700, "holy"
> <holy@discussions.microsoft.com> wrote:
>
> >
> >
> >"man-wai chang" wrote:
> >
> >> > How can I kill the CommandButton's focus except for calling other
> >> > control's SetFocus event when MouseLeave Event occured after I clicked the
> >> > CommandButton in VFP9?
> >>
> >> You can use an invisible object.setfocus().
> >>
> >> what are you trying to do? Maybe there is another way around the problem?
> >>
> >> --
> >> .~. Might, Courage, Vision.
http://www.linux-sxs.org
> >> / v \
> >> /( _ )\ Linux 2.4.31
> >> ^ ^ 9:39pm up 1:16 1 user 0.15 0.21
> >>
> >Thank you very much,man-wai chang ! Your suggestions are helpful,but your
> >method to kill a CommandButton's focus is still a way to call a object's
> >SetFocus() event. What I want is to solve the problem completely by invoking
> >Windows APIs ,so the result maybe looks like cliking an ActiveX ToolBar
> >button,as you know,the ToolBar button has no focus rectangle around it after
> >you click it.
>
> You can not do this with the Windows API. VFP objects like
> commandbuttons are not Windows objects, they are painted on the form
> by VFP.
>
> Hello,Jack Jackson!
I have to express regret at that I may not kill a VFP button's focus by
using Windows APIs ! Thank you very very much!
holy