CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    Jan 2004
    Location
    Upper Austria
    Posts
    215

    Re: Insert an icon at the place where i right click in the window

    Quote 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.
    reboot, and everything is good

    visit my website at hochleistung.at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured