EnableOffice2007Frame = True and MSGBOX |
Post Reply |
Author | |
Vulture
Newbie Joined: 10 April 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 12 April 2008 at 5:49am |
If I set EnableOffice2007Frame equal to True for a Commandbar in a VB6 form and show a MSGBOX then the drawing of the nice Office2007 frame disappers from the form and instead the standard form frame is shown. This looks a little wierd. Is there a work-around for this?
Btw. I am using XtremeSuite ActiveX version 11.2.2 |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
At some point in your app, you've probably set the caption of your form. Replace it with SetWindowText.
Took me a while to figure that one out myself, too |
|
Vulture
Newbie Joined: 10 April 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
You are absolutely right
I change the caption of the form when a new file is loaded to show the title of the file. I will go right back and replace it with SetWindowText API instead :) Thank you for your help! It worked like a charm. |
|
RedFin
Groupie Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
|
Thanks for the SetWindowText tip ... I was using ribbon.RedrawBar to repaint the ribbon, but you could still see the standard title bar for an instant ... SetWindowText works perfectly!
Thanks |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |