Thread overview
GetText
Jan 09, 2004
Phill
Jan 09, 2004
Jan Knepper
Jan 09, 2004
Phill
Jan 09, 2004
Jan Knepper
Jan 09, 2004
Phill
January 09, 2004
Hi there
Is there a way to get the Text of the clicked button
without iterating through all of the buttons to
check the state?

Any help is be appreciated

Phill.


January 09, 2004
Yeah, the button should have an ID and/or and HWND that is being passed to you message handler. There you should be able to do a GetWindowText on the HWND.



Phill wrote:
> Hi there
> Is there a way to get the Text of the clicked button
> without iterating through all of the buttons to
> check the state?
> 
> Any help is be appreciated
> 
> Phill.
> 
> 


-- 
ManiaC++
Jan Knepper
January 09, 2004
Ok I thought there was that method,
but I didnt know you could use it with a
button(Im from Java).

Thanks Phill.


"Jan Knepper" <jan@smartsoft.us> wrote in message news:btmj4v$sl8$1@digitaldaemon.com...
> Yeah, the button should have an ID and/or and HWND that is being passed to you message handler. There you should be able to do a GetWindowText on the HWND.
>
>
>
> Phill wrote:
> > Hi there
> > Is there a way to get the Text of the clicked button
> > without iterating through all of the buttons to
> > check the state?
> >
> > Any help is be appreciated
> >
> > Phill.
> >
> >
>
>
> --
> ManiaC++
> Jan Knepper


January 09, 2004
Phill wrote:

> Ok I thought there was that method,
> but I didnt know you could use it with a
> button(Im from Java).

Ah! That explains something...

-- 
ManiaC++
Jan Knepper

But as for me and my household, we shall use Mozilla... www.mozilla.org
January 09, 2004
yes thats the reason I called it a method :o))
I keep forgetting!

Phill.


"Jan Knepper" <jan@smartsoft.us> wrote in message news:btn7lh$1tbi$2@digitaldaemon.com...
> Phill wrote:
>
> > Ok I thought there was that method,
> > but I didnt know you could use it with a
> > button(Im from Java).
>
> Ah! That explains something...
>
> --
> ManiaC++
> Jan Knepper
>
> But as for me and my household, we shall use Mozilla... www.mozilla.org