CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    Copenhagen, Denmark
    Posts
    7

    GroupBox Mouse Events, please help!

    I'm working on a user-created view, where the user can enter layoutmode to create, resize and delete different controls in the view(delphi like). I need a OnLeftMouseButton event on a GroupBox. Currently I'm catching the event in the view, but this is not good enought.

    /John D Collins


  2. #2
    Join Date
    Sep 1999
    Location
    California
    Posts
    14

    Re: GroupBox Mouse Events, please help!

    You could you the cursor position information to limit it to the group box.



  3. #3
    Join Date
    Sep 1999
    Location
    Copenhagen, Denmark
    Posts
    7

    Re: GroupBox Mouse Events, please help!

    This is what I do now in my CUserView, but I want the functionallity to be in my CUserGroupBox....I was wondering if I could use a subclass, but I'm not sure how to do that.

    Thank's for the post, Paul.

    /John Douglas Collins


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