Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

capcom923

@capcom923
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using IFileOpenDialog in C#
    C capcom923

    Follow this step: 1.You can download Windows® API Code Pack for Microsoft® .NET Framework 2.See how the "\Windows API Code Pack 1.1\source\WindowsAPICodePack\Shell\CommonFileDialogs\CommonFileDialog.cs" make use of IFileDialogCustomize from com. 3.If you want to add a stuff to the "Open" dropdownlist, you can write code below

    customize.EnableOpenDropDown(0);

    customize.AddControlItem(0, 0, "Open as XXX");

    customize.AddControlItem(0, 1, "Open in YYY");

    Note: 0 is the Open Button ID After user selected, you can get the selectedIndex through

    this.customize.GetSelectedControlItem(0, out openindex);

    Note again: 0 is the Open Button ID And then you can do something imply with filename and this openindex. Wish to help you~

    COM csharp com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups