Print Page | Close Window

Setting the minimum size for a task panel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=15361
Printed Date: 29 April 2024 at 1:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting the minimum size for a task panel
Posted By: vsn9
Subject: Setting the minimum size for a task panel
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net