Print Page | Close Window

Font changed

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=21890
Printed Date: 21 November 2024 at 10:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Font changed
Posted By: iamgtd
Subject: Font changed
Date Posted: 18 September 2013 at 10:42am
When the font of a taskpanel group is changed the height of the captionbar is not changed. What is the solution to resize the captionbar also?

void CreateTaskPanel()
{
    
    TaskPanelGroup Group = wndTaskPanel.Groups.Add(ID.TASKITEM_SYSTEM_TASKS, "System Tasks");
    Group.Tooltip = "These tasks apply to your computer";
    Group.IconIndex = ID.TASKITEM_SYSTEM_TASKS;
    Group.Special = true;

    stdole.StdFont fnt = (stdole.StdFont)new stdole.StdFontClass();
    fnt.Name = "Verdana";
    fnt.Size = 35;
    fnt.Bold = true;
    Group.Font = fnt;




-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



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