Featured post
winapi - C++ -- Win32 API, GUI stuff -
i've been messing win32 api abit, , i've got question regarding gui functions.
how 1 handle user input not managed through popup windows? i've been reading http://www.winprog.org/ right when interesting features comes -- lesson9 -- becomes more abstract , i'm not sure how it. after user write input in 2 windows , press button send message content of input processed. think input windows edit-class windows , input button-class that's it.
any ideas? i'm sure it's simple, it's makes me want rip hair of in native code :p
cheers
you're correct, want , edit
control more commonly known textbox
, button
class command button.
to the input button send wm_command
message parent window bn_clicked
in wparam
high word. can identify particular button hwnd
in message.
after you'll need post wm_gettext
edit control retrieve users input.
this memory highly recommend looking msdn pages before code.
- Get link
- X
- Other Apps
Comments
Post a Comment