|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - 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. Jan 08 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. Jan 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. Jan 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). Jan 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). Jan 09 2004
|