Print Page | Close Window

Separator Support

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=6139
Printed Date: 20 May 2024 at 12:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Separator Support
Posted By: jpbro
Subject: Separator Support
Date Posted: 16 January 2007 at 7:57pm
I noticed a post from the middle of last year inquiring about the ability to put separators between items on the TaskPanel. At the time, the answer was no support, and I'm just wondering if this is still the case. If so, is there any word on the possibility of adding separator support in the future?

I've tried to add a custom UserControl that draws its own separator line to the TaskPanel, but it appears as though the TaskPanel only accepts non-UserControl controls. Is this really the case?

Thanks,
JPB



Replies:
Posted By: Oleg
Date Posted: 17 January 2007 at 1:01am
Hi, Add
property to UserControl:
 
Public Property Get hWnd() As Long
hWnd = UserControl.hWnd
End Property
 
 
and add it to TaskPanel:
  Set Item = Group.Items.Add(ID_TASKITEM_MYDOCUMENTS, "My Documents", xtpTaskItemTypeControl, 8)
  tem.SetHandle UserControl11.hWnd


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jpbro
Date Posted: 17 January 2007 at 10:32am
Thanks Oleg, that worked!



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