Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - Separator Support
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Separator Support

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: Separator Support
    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
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: 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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2007 at 10:32am
Thanks Oleg, that worked!
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.234 seconds.