|
-
March 27th, 2006, 09:01 AM
#4
Re: Insert an icon at the place where i right click in the window
 Originally Posted by chetan_mnit2003
I have only a single icon with me. how the application will identify x and y.
you should get the x/y coordinates with the right-click window message. you could probably give a little more detail on your application or post some code, i'm sure someone can help you.
btw: did you inherit directly from CCmdTarget? you should probably use CWnd or so as your base class, because i'm not sure if CCmdTarget offers a graphics context to draw the icon in.
Last edited by reset-leo; March 27th, 2006 at 09:04 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|