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

Thread: autohide button notification

  1. #1
    Join Date
    Jan 2009
    Posts
    306

    autohide button notification

    Is there any method to know when user click on autohide button from CDockablePane (MFC app, with a panel derived from CDockablePane) ? I have read all his (CDockablePane) methods/events, no one tell me that ... and I didn't found something appropriate on msdn ... or I am missing something ? Might something simple, but I don't know how to make it ... Can you help me ?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,562

    Re: autohide button notification

    I don't have an answer to your question though, however you could try to look at the source code of the afxdockablepane.cpp and probably some its "friends" to understand how it works.
    Victor Nijegorodov

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,173

    Re: autohide button notification

    Use spy++ to get the ID of the button. Hopefully it is somewhat unique so it will be easy to spot when you look in the afxdockablepane.cpp source code as Victor suggested.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)