Print Page | Close Window

need help on with workspace tab icon for MDICF

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14892
Printed Date: 06 October 2024 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: need help on with workspace tab icon for MDICF
Posted By: jasonjiang9999
Subject: need help on with workspace tab icon for MDICF
Date Posted: 03 August 2009 at 11:25am

Hi

I am recently working on a project with MDI and many MDI child Forms.
 
For the application demands, I have to use SendMessage API to change the MDI Child Form Icon  several times. ( same one in runtime without reopenning)
 
Here are the steps
 
1. In design time,  I don't set any icon to the MDI child Form.
 
2. in the Form_load events, do the sendMessage once, the form icon and related tab icon are changed well.
 
3. after going running some precedures,  do SendMessage again without any manual handle , the form icon and tab not changed .
 
4. Mouse click somewhere in the form, the form icon changed, tab icon not changed.
 
5. click on the tab, the tab icon changed.
 
Please kindly tell me how can I automatically refresh the tab icon and form icon immediately once do sendMessage?
 
 
PS: Is there possible to add a botton beside WorkSpace Tab Stripper or trap the event of clicking on blank space in the tab Stripper just like IE 7?
 
 
 
 
 
 
 


-------------
XtremeSuitePro ActiveX 13.1
Windows XP SP3
Visual Basic 6.0 SP6



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