Print Page | Close Window

EnableOffice2007FrameHandle Issue

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=7166
Printed Date: 06 November 2025 at 9:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: EnableOffice2007FrameHandle Issue
Posted By: joeliner
Subject: EnableOffice2007FrameHandle Issue
Date Posted: 17 May 2007 at 11:10am
Hi

Getting some problem with EnableOffice2007FrameHandle.



Whenever i call the code below to enable frame for new windw:

With Form1
CommandBars.EnableOffice2007FrameHandle .hWnd
.Show 0, Me
End With

when mouse highlights title bar of window, the native buttons for max, restore and close appears.

N/B: not using skinframework.


is there something wrong with code?

Several other actions cant be executed when i apply framewindow e.g Cascade window, window tilin, when you open new first window on mdi with workspace tabs enabled, approx like 100 pixels of the form are hidden at first, then reappears on got focus(this happens if i first show form then enableframe e.t.c) so my query is, what should preceed what, creating form(.show) or enableframe?









Replies:
Posted By: Oleg
Date Posted: 18 May 2007 at 6:06am
Hi,
check if you call .Caption property for this frame. if you call comment it and replace to API SetWindowText


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


Posted By: joeliner
Date Posted: 22 May 2007 at 4:15am
Thanks. That works

One more question, is it possible to enable from for dialog boxes like print box or printpreview box for RC?





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