cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
[Win32API] Interactive Static Text?
[Win32API] Interactive Static Text?
Nov 6, 2012 at 3:14pm UTC
mekkatorqu
(416)
how do I make something happen when I click on Static Text/Control ?
Nov 6, 2012 at 3:34pm UTC
webJose
(2948)
The parent window's window procedure receives a WM_COMMAND message with the notification code STN_CLICKED in the high word of wParam as explained in
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760769(v=vs.85).aspx
and
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760784(v=vs.85).aspx
.
Note that the static control must have the SS_NOTIFY style, just like the documentation says.
Nov 6, 2012 at 4:50pm UTC
mekkatorqu
(416)
thanks! :)
Topic archived. No new replies allowed.