How to use TreeExpanderWidget, there is no example or specification about this widget, anyone can tell me how to use it thanks.

Now I have a TreeView, it works fine.  But all the items in the tree are displayed directly, I want they are collapse at start and just expand on click event ,just like the following picture .
I searched all the SDK ,there is no example about this .
could any one give some example or tell me how to set this parameters. thanks.

Usually a tree is created with collapsed nodes. Are you sure that you don't somewhere call ITreeViewMgr::ExpandNode()?
If your expanded nodes only reflect previous state, the header comment in ITreeViewMgr::ChangeRoot() mentions ClearTree(kTrue) for exactly that case ...
Dirk

Similar Messages

  • I want to link to ODBC with JS in ID,anyone can tell me how to do?

    I want to link to ODBC with JS in ID,anyone can tell me how to do?

    ExtendScript does not support the ODBC API.
    A while ago I spent some (too much) time on a plugin that would add the required calls, but found the ODBC calling conventions extremely unfriendly and beyond what typical scripters would be willing to bear.
    There are other solutions around that will help you with ODBC connectivity and many further related tasks, typically they are called catalog-something. Typical disadvantage is the price tag.
    An alternative would be to write a bunch of JS wrapper classes, and invoke platform specific code via DoScript. If you're targeting Windows, Google for "ADO VBA".
    Finally, you can also export to XML and use scripting on that.
    Dirk

  • Hello, I was wondering if anyone can tell me how to fix my itunes. When I was trying to download the new 1114 version, a window popped up saying R6034 C runtime library was incorrectly loaded. Then another window said iTunes not installed properly

    Hello,
    I was wondering if anyone can tell me how to fix my iTunes. When I tried to update to the latest version (1114) a window popped up saying R6034 C runtime library incorrectly installed. Then another window popped up saying that iTunes was installed incorrectly Error 7 (windows error 1114). Hope you can help.

    Solved the issue without using the trash . I tried to consolidate the library in LACIE, then clicked on any exclamation-mark song and tried to locate the file. Repeating those steps 3 or 4 times cleared it up. That was confirmed when I synced the entire library on a iPod Classic, and showed up no problems after syncing the Nano.
         What went wrong was perhaps to fail to consolidate the library at first .

  • Hello. I've l'ost my IPad today. Is anyone can tell me how to locate it? Thanks

    Hello. I've l'ost my IPad today. Is anyone can tell me how to locate it? Thanks

    Click here for information.
    (110863)

  • Hi, anyone can tell me how to open a CD - ROM FOR windows 2000 and XP Version 1.1b Software by Softwire LTD?

    Hi, anyone can tell me how to open a CD - ROM FOR windows 2000 and XP Version 1.1b Software by Softwire LTD?

    Then you will need a copy of XP running in a virtual machine, or possibly bootcamp depending what Mac OS you're currently on.
    Rather expensive way to do it, but if it's Windows software, you need Windows.

  • Being new to working with Mac, I was wondering if anyone can tell me how to set my Mac Book Pro wirelessly to the Canon Pixma Pro9000 Mark ll? My husband had gotten this printer and the sales person said that it can be set up wirelessly to my Mac Book Pro

    Being new to working with a Mac, I was wondering if anyone can tell me step, by step on how to set up my Mac Book Pro(Mid 2012) wirelessly to a Canon Pixma Pro9000 Mark ll that my husband had gotten me? Sales person told him that it's compatiable to my Mac Book Pro, Mtn Lion, but I do not see it and I don't see how to do it wirelessly. Any help would be appreciated. Thanks ;o)

    Hello:
    There is nothing wrong with asking questions.  There  are no dumb questions....answers, yes, but not questions. 
    If you set up your wi-fi router to establish a network, then both your printer and MacBook Pro will connect wirelessly.  *** I do not know what kind of router you possess, I don't want to suggest things that might not be relevant.
    Barry
    P.S. No need to apologize!  Most of the people here (none of us are Apple employees) enjoy trying to help others. 

  • Anyone can tell me how to OC my Radeon 9600 Pro ?

    Hi !
    I want to OC my GK ATi Radeon 9600 Pro 128 mb ( PowerColor) to be faster , anyone knows what should I do exactly ? Should I change something in the Bios ? Should I use any Client for that ?
    Is there any posibility to flash the Radeon Pro bios to get ATi 9600 XT instead of Pro ?
    Any suggestion please ? I wnt to OC it with stable without any dangerous .
    And thanks in Advance !

    Quote
    I am ever afraid to do something with myself maybe I'll fire the card etc...
    I don't think I have ever heard of anyone frying their card by overclocking it as long as you use common sense and don't go crazy ( I could be wrong)
    You will see visual artifacts if the card is overclocked to far and when you do just go in and knock it down a few MHZ
    I have been pushing the heck out of a "crappy" NVida 5200 card in my daughters computer for over a year now
    Dave

  • Anyone can tell me how to design a stack for post order traversal

    about the post order traversal of binary tree
    any one can give me a tips
    thank u so much

    Have you tried anything yet, or are you wanting someone to give you a personalized tutorial?

  • Hello, anyone can tell me how to resolve the error "Failed to authenticate the SAML response" when accessing to on-line e-Learning course.

    Validation Error
    You must correct the following error(s) before proceeding:
    Failed to authenticate the SAML response. If this keeps happening, please contact the administrator.

    Is it still showing up in your ad-on manager?

  • Photoshop elements 10 will not migrate to my new macbook pro/retina display.  There is no CD/DVD player on this machine.  Any suggestions on how to get Elements onto my machine?  Yes, I have the disk(s).

    Photoshop elements 10 will not migrate to my new macbook pro/retina display.  There is no CD/DVD player on this machine.  Any suggestions on how to get Elements onto my machine?  Yes, I have the disk(s).  Am I going to have to buy an external CD/DVD player to load this one program:(

    I have ordered a USB3 BluRay/DVD/CD player/burner and will use that both with my iMac ( in which the Superdrive seems to be failing ) and the MBPro Retina I just bought .

  • My new Photoshop Elements 12 has a RAW file plug-in, but when I try OPEN to select a photograph, there are only generic icons instead of pictures-- I can't tell one photograph from another! How can I fix this so I can tell which photograph I want to open?

    My new Photoshop Elements 12 has a RAW file plug-in, but when I try OPEN to select a photograph, there are only generic icons instead of pictures-- I can't tell one photograph from another! How can I fix this so I can tell which photograph I want to open? Thank you!

    Thanks R_Kelly:
    Adobe Photoshop Elements Version: 12.0 (12.1 (20140303.12.1.49334)) x32
    Operating System: Windows Vista 32-bit
    Version: 6.0 Service Pack 2
    System architecture: Intel CPU Family:6, Model:15, Stepping:11 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 4
    Processor speed: 2400 MHz
    Built-in memory: 3069 MB
    Free memory: 1631 MB
    Memory available to Photoshop Elements: 1598 MB
    Memory used by Photoshop Elements: 69 %
    Image tile size: 128K
    Image cache levels: 8
    Video Card: ATI Radeon HD 4800 Series
    Video Mode: 1680 x 1050 x 4294967296 colors
    Video Card Caption: ATI Radeon HD 4800 Series
    Video Card Memory: 512 MB
    Application folder: C:\Program Files\Adobe\Photoshop Elements 12\
    Photoshop Elements scratch has async I/O enabled
    Required Plug-ins folder: C:\Program Files\Adobe\Photoshop Elements 12\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Photoshop Elements 12\Plug-Ins\
    The first thing I did was UPDATE. I have all the latest updates available (according to the updater). The Camera Raw Plug-in says it is version 8.0.
    The RAW files are from a Canon T3i. It's a very common camera, I can't believe it wouldn't be supported.

  • HT4356 Hi there can anyone please tell me how to configure my air printer to print A4?

    Hi there can anyone please tell me how to get my printer (hp deskjet 3070A ) to print A4 size , thank you

    Hi,
    AirPrint does not provide much printing control.
    You may use the HP ePrint mobile app to get more control of your print jobs:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02784317&cc=us&dlc=en&lc=en &product=4323648&tmp_track_link=ot_search#N1072

  • I brought a macbook pro, but i can not use my apple id.because its already register onther account.i couldnt found that person.i want reset that account,can tell me how can i do this?

    i brought a macbook pro, but i can not use my apple id.because its already register onther account.i couldnt found that person.i want reset that account,can tell me how can i do this?

    maxsurovi wrote:
    i brought a macbook pro, but i can not use my apple id.because its already register onther account.i couldnt found that person.i want reset that account,can tell me how can i do this?
    Restore the Mac to Factorty settings to make it Truly Yours.
    Note:
    This should have been done before you took possession...
    Apple What to do before selling or giving away your Mac
    http://support.apple.com/kb/HT5189?viewlocale=en_US&locale=en_US
    Also See Thomas Reed's How to Prepare your Mac for sale

  • Who can tell me how to use ni-imaq functions imgSessionSerialWrite and imgSessionSerialRead to set and get my carema attribute?

    Who can tell me how to use ni-imaq functions imgSessionSerialFlash,imgSessionSerialWrite and imgSessionSerialRead to set and get my carema attribute?
    My camera is duncantech ms3100 and the frame grabber is pci-1428.I use ni-imaq2.6.When I use these functions,it tell me error -1074397163(IMG_ERR_BINT:Bad interface) .

    I have the same problem on my IPAD 2. One calender that i cant delete or find any settings for... Its just in the calender app under diffrent calenders.  how do i delete it?

  • Who can tell me how to use the  transction "KKRC"?

    who can tell me how to use the  transction "KKRC"?
    Please explain me all the steps to be required.
    Thanks in advance!

    hi..
    http://help.sap.com/bp_bl603/BBLibrary/Documentation/181_BPP_EN_BR.doc
    KKBC HOE Transaction code Error
    Regards

Maybe you are looking for

  • How do you allow firefox to toggle show/hide menus

    I am using a website that has a show/hide text toggle. When I click the show button, it opens a new blank tab. I tested this on google chrome as well and it works properly. There must be a setting in firefox to correct this but I don't know what it i

  • There was a problem reading this document (118) after sleep

    Adobe reader X 10.1.8.24, windows 7 64 bit I have a lot of pdf documents located on a remote windows share and everytime I put my computer to sleep and wake it up I get problems reading pdf documents that result in this error:      There was a proble

  • How to add an item into the Newsstand

    How to add an item into the Newsstand.  Please do NOT reply using  "tech-language." Use standard- normal everyday English. Thanks, Don Otlin Franklin Square, NY

  • Module user_exit_102 at exit-command.

    hi in my dialog programming i am having a table control in which 8 colums are mandatory. if i want to exit from that screen it ask me to fill all the required field.with out filling those mandatory fields how to exit from that screen. please solve my

  • I got a big red X on my iPod that won't go away! Help!

    So yes, l do have this big red X on my iPod (l'm thinking this is like red ring on an Xbox 360), and no matter how many times i reset it, it won't go away. I'm thinking this time is no trick, it's messed up. What can i do? - l did try and connect it