Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - skinFramework when used RibbonBars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

skinFramework when used RibbonBars

 Post Reply Post Reply
Author
Message
varun View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2011
Location: Hyderabad
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote varun Quote  Post ReplyReply Direct Link To This Post Topic: skinFramework when used RibbonBars
    Posted: 15 April 2011 at 7:07am
Can any one please help me how to use openFileDialog with the skinFramework when we are using CommandBars i.e, in RibbonMdiForm sample for "ID_FILE_OPEN" click event i want to open openFileDialog to browse a file, but it should also be applied with skinFramework.

I am using CommandBars Control Version 15.0.1
Visual Studio 2010 & C# as code behind language
V
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: 15 April 2011 at 8:14am
SkinFramework should automatically handle this dialog.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
varun View Drop Down
Newbie
Newbie
Avatar

Joined: 16 February 2011
Location: Hyderabad
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote varun Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2011 at 9:21am
Can you provide any sample example through which i can get success.

I am weird about this problem, I cant access openfiledialog or any other dialog boxes.

For ex:
I was created MDI Form from MDI form i have called child forms i.e, frmOptions as below is code snippet through which I can open with ribbon bar effects

                frmOptions = new LSPOptionsBox();
                CommandBars.EnableOffice2007FrameHandle(frmOptions.Handle.ToInt32());
                frmOptions.ShowDialog();

Can you please help to open up OpenFileDialog
In child forms I have provided some datagridview & contextmenustrip, by clicking contextmenustrip button i have to show openFileDialog & saveFileDialog but i cant make it active as commandbar skin effects.
Please help me

I tried as below code correct me here to open with effects:

                OpenFileDialog openFileDialog1 = new OpenFileDialog();
                openFileDialog1.InitialDirectory = strDirectory;
                frmMdi.Instance.CommandBars.EnableOffice2007FrameHandle(this.Handle.ToInt32());
                DialogResult Result = openFileDialog1.ShowDialog(frmMdi.skinFramework);

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