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
right click menu
right click menu
Jan 5, 2011 at 2:06am UTC
carlsum1986
(71)
Hi,
I have a problem as I do not know how to create a right click menu...
I want to have a menu displayed when I right click on a tree view item..
I am using visual studio 2008
Anyone can guide me in the right direction?
Jan 5, 2011 at 6:46am UTC
guestgulkan
(2942)
If you are using the WINAPI then trap the WM_CONTEXTMENU message
and use the
TrackPopupMenu
api function.
Start by reading here
http://msdn.microsoft.com/en-us/library/ms647592%28v=vs.85%29.aspx
Jan 6, 2011 at 10:23pm UTC
emesaeler
(2)
These tutorials really helped me understand basic WINAPI stuff. Scroll down the page a bit for right click menu tutorial.
http://zetcode.com/tutorials/winapi/menustoolbars/
Last edited on
Jan 6, 2011 at 10:26pm UTC
Topic archived. No new replies allowed.