Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 09, 2004 GetText | ||||
---|---|---|---|---|
| ||||
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 Re: GetText | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | 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 Re: GetText | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | 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 Re: GetText | ||||
---|---|---|---|---|
| ||||
Posted in reply to Phill | 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 Re: GetText | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | 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 |
Copyright © 1999-2021 by the D Language Foundation