Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - EnableOffice2007FrameHandle Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

EnableOffice2007FrameHandle Issue

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

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Topic: EnableOffice2007FrameHandle Issue
    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?






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: 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
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post 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?


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.156 seconds.