Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - Setting the minimum size for a task panel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting the minimum size for a task panel

 Post Reply Post Reply
Author
Message
vsn9 View Drop Down
Groupie
Groupie


Joined: 21 September 2009
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote vsn9 Quote  Post ReplyReply Direct Link To This Post Topic: Setting the minimum size for a task panel
    Posted: 14 October 2009 at 6:33am

Hi,

How do i set the minimum size after which the task panel cannot be resized any smaller?

I have tried
 

ON_WM_GETMINMAXINFO()

OnGetMinMaxInfo(MINMAXINFO* lpMMI)

{

lpMMI->ptMinTrackSize.x= 500;

lpMMI->ptMinTrackSize.y= 400;

}

This didnt work.
 
thanks in advance :)
Product: Xtreme Toolkit Pro v12.1
Platform: Windows XP SP2
Language: Visual C++ 2008 SP1
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2009 at 5:45am
Hi,
 
OnGetMinMaxInfo works for toplevel windows only. You don't resize TaskPanel itself - but some toplevel window or splitter or Pane that has TaskPanel.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.