[CS2/CS3] - TreeView - display style

Hi, I'm trying to use TreeViewWidget to use it for isnerting rows witch CheckBoxWidget + StaticTextWidget and the problem is that the default look of TreeView is with points and numbers like you can see from screenshot bellow. Please could you help me how to change this default behaviour?
Thanks, marxin

Thank you for your post, it was helpfull advice, now I am able to insert into TreeView CheckBoxes.I redefined TreeViewWidgetMgr and also TreeViewHierarchyAdapter, but now I'm not familiar with adding and removing nodes, there is 10 nodes if I start Plug-In ?
Is possible to add frame to TreeView ? My last question is about observer, how to realize which checkboxes are selected, how to save this information ?
Thank you very much, marxin

Similar Messages

  • [CS2/CS3] - TreeView observer attaching

    Hello,     I modified a sample called WLBCmp to create a list of checkboxes, but now I want to be able to observer this checkboxes selections throught my MakeNewDialogObserver which is used to observe my entire dialog. Now I added to resources:  Class {      kBaseTreeNodeWidgetBoss,      kTreeNodeWidgetBoss,      {           IID_IOBSERVER, kMakeNewDialogObserverImpl,      } },  It't working fain, but it's creating for each checkbox in my treeview extra instance of this MakeNewDialogObserver. I need to use one observer like for all other widgets on my dialog. Please does anybody know how to attach TreeView to widget to be able to observe checkboxes changes in the TreeView ?  Thanks, marxin

    You could do either:
    the keyword "static" allows to share data across all instances of your class. That would be bad programming style though.
    Create a new Interface, add that to the tree view widget, and use IWidgetParent from within the observers to find the interface.
    It is a typical beginner error to stuff all functionality into the observer. In short, if you have "state" in the observer you're wrong.
    Keep the observers lean, limit functionality to
    attach/detach/receiving
    in Update, decoding: cast from void* into something meaningful
    dispatch into functions with speaking name e.g. handleCheckboxToggled() and there
    find the responsible boss, then interface
    invoke the actual functionality in that interface
    Dirk

  • [CS2/CS3] - TreeView frame & ScrollBar roller

    Hello, please could anyone advise me with 2 following probles:
    1) Is it possible to insert black frame list f.e. ListBox ?
    2) Is it possible to change size of "scroller" of my own ScrollBar for which I use methods SetMaximum() to scroll my panel ?
    Thank you for your advices, marxin

    When I see resource file, there is definition of StringListData to storing names of clubs( which is in sample), should I replace it with IID_IBOOLLISTDATA to store vector of checkboxes:
    Class
            kWLBCmpListBoxWidgetBoss,
            kTreeViewWidgetBoss,
                /** Furnishes application framework with widgets as needed */
                IID_ITREEVIEWWIDGETMGR,  kWLBCmpTVWidgetMgrImpl,
                /** Adapts our data model to the needs of the application framework */
                IID_ITREEVIEWHIERARCHYADAPTER,  kWLBCmpTVHierarchyAdapterImpl,
                /** Hold names of the list item */
                IID_ISTRINGLISTDATA,        kStringListDataImpl,
                /** Adding for saving checkboxes states ? */
                IID_ISTRINGLISTDATA,        kBoolListDataImp,
                /** Display selection message */  
                  IID_IOBSERVER,    kWLBCmpListBoxObserverImpl,
    In WLBCmp sample TreeViewAdapter get strings (names) from IStringListData, but I don't know how to save the state from CBoxes and store it to this BoolListData ?
    I hope you'll have some time to help me
    Thank you, marxin

  • Dreamweaver CS3 freezes when "Display Styles" is on

    Hi guys, I hope you can help me here. Recently I changed computers and am now experiencing this problem with all the webpages I work with. When I open a page, everything seems fine until I click in either the code view or design view, then it freezes with no error message. I then have to close the program through the task manager.
    If I go to View > Style Rendering, then turn off Display Styles, then everything works great, but it just doesn't looke right. When I turn it back on it freezes again.
    I think that this has something to do with the CSS files, but I don't know much about this. If it helps to see the pages, they are at www.iscatech.com.
    Thank you in advance.

    Brett,
    Hi guys, I hope you can help me here. Recently I changed computers and am now experiencing this problem with all the webpages I work with. When I open a page, everything seems fine until I click in either the code view or design view, then it freezes with no error message. I then have to close the program through the task manager.
    If I go to View > Style Rendering, then turn off Display Styles, then everything works great, but it just doesn't looke right. When I turn it back on it freezes again.
    I think that this has something to do with the CSS files, but I don't know much about this. If it helps to see the pages, they are at www.iscatech.com.
    I looked at your web page. First of all there is some duplicated markup in the <head>. That's probably not your problem, but your page will load faster and more predictably if you clean that up.
    I opened StyleSheet.css. It has a set of styles that are duplicated 39 (not a typo: thirty nine) times! Have you waited to see if DW eventually loads your page? It could just be taking it a long time to process that 147KB file. Try removing the duplicate styles.
    I don't have CS3 anymore, but I can open it in CS4.
    With that said, it's still possible that you may have a style (or combination of styles) that is causing CS3 to hang. Try using the binary process of elimination to isolate the CSS rules. In other words:
    1. Comment out half of your existing styles
    2. Restart DW
    3. If it hangs, go to step #1
    4. If it does not hang, continue
    5. Un-comment half of the styles you commented out in the previous iteration
    6. Go to Step #2
    Repeat until you have it isolated to the minimum number of rules.
    HTH,
    Randy

  • CS, CS2 & CS3 place problem

    Hi,
    I was just wondering if someone could help me with the following problem:
    All l'm doing is placing a text file into a text frame - sounds easy - test code below:
    ======
    set boxContent to "HDPropane:textfile.txt"
    tell application "Adobe InDesign CS2"
        activate
        set MyDocument to active document
        try
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            «event K2  plac» (boxContent) with «class rtfo» without «class imot» given «class insh»:myframe
        on error emg
            display dialog emg
        end try
    end tell
    ========
    This works OK and will overwrite the contents each time... the problem is when you link the text frame to another text frame.... it still works fine if you run the script without having any contents in your text frames but as soon as you have some contents you get an error 'import failed'  I get the same problem in CS, CS2 & CS3
    I've even tried after the 'set myframe' adding set myframe contents to "" - adding this line was a little hit and miss  sometimes it worked sometimes l got the same import failed message.
    Regards, Gary.

    Change this:
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            «event K2  plac» (boxContent) with «class rtfo» without «class imot» given «class insh»:myframe
    to something like this:
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            set contents of parent story of myFrame to ""
            place file boxContent on myframe without showing options
    Shane Stanley <[email protected]>
    AppleScript Pro Sessions <http://scriptingmatters.com/aspro>

  • CSS Styles not displayed properly in design view - SOLVED (not 'Display Styles')

    For several weeks, I've been troubleshooting the issue of CSS
    and inline styles not being displayed properly when in Dreamweaver
    CS3 design view, and checking in to the forums occassionally to see
    if there was a solution other than making sure "Display Styles" was
    selected under View -> Style Rendering (it was, and still
    nothing would display properly!).
    After much frustration, I may have found the solution to
    those still experiencing the issue even after "Display Styles" is
    appropriately checked. I went in to my master template for the
    site, and found an erroneous <br> tag after the <link
    href> for the stylesheet, which I must have inadvertantly
    inserted when I added the code for the site's favicon. (You get so
    used to Shift-Enter in layout mode, it's almost automatic,
    regardless of what pane your in.) I can't believe I missed this
    before! Deleting the erroneous tag cleaned up the whole
    site.

    I had the same thing happen to me. After hours of trouble
    shooting I found a bit of inappropriate code left in the HTML.
    Cleaned that up and all is good. Seems like it is often something
    so simple. Guess that is why it is so maddening when i can't figure
    it out!

  • Manage multiple versions(ID CS,CS2,CS3,CS4) of INDD files Indesign proxy for PC

    Dear scripters,
    I have multiple version of ID installed in my system. I have ID CS,CS2,CS3 and CS4. While I am opening (double click) the ID CS file, automatically the file opening in CS4. For solving this problem I have searched in the forums I found there is a program called INDESIGN PROXY for MAC OSX. It manages the problems well.
    Now I am in the process of developing the application same like that for windows using VB. Here is my observation about Indesign proxy.
    1. While user double clicks the Indesign file the argument is not passing to the Indesign.exe, but the argument passes to the Indesign proxy. Something like this
    "C:\Program Files\Adobe\Adobe InDesign CS4\InDesign.exe" "%1"
    to this
    "C:\Program Files\IDproxy\proxy.exe" "%1"
    2. The proxy exe lists all the version of IDs in a dialog box. If user selects CS2, the proxy exe passes the command argument something like this
    "C:\Program Files\Adobe\Adobe InDesign CS2\InDesign.exe" "%1"
    3. Now the file will open in correct version.
    I am comfort with VB forums and coding but I am struck getting the file path while user double click's the file. I short need to get the file path of "%1" argument.
    I think I am detailed.
    Kindly advice me how can I proceed more?
    Thanks
    regards
    a r u l
    vpublish.net

    I don't think it's a mistake.
    "InDesign CS4 (3.0)"
    means: this is the OM for InDesign 3.0 (i.e., InDesign CS) that is contained in InDesign CS4.
    Wait -- do you mean there might be a difference between "the OM for InDesign 4.0 (i.e., InDesign CS2) that is contained in InDesign CS4" and, say, "OM for InDesign 4.0 (i.e., InDesign CS2) that is contained in InDesign CS5" ?
    Why on earth would anyone need that? I imagine it's not because even with versioning the 'older' scripts may not behave the same -- there must be dozens of mails about versioning not working ... I mean, if Adobe knows what causes older scripts to stop working (because, if I understand you correctly, they retroactively change it in the documentation for older versions), wouldn't it be yet easier to not cause those changes?

  • I bought the photoshop cs2 cs3 cs5 and lightroom and lightroom 4. i can't install on may new macbookpro 13inch?

    i bought the photoshop cs2 cs3 cs5 and lightroom and lightroom 4. i can't install on may new macbookpro 13inch?

    On which operating system are you trying to install these Adobe apps?
    Please specify the operating system name and version.
    If you have purchased new Macbook Pro, then you should have atleast Mac OSX 10.9 or later. However, i doubt you will be able to install most of these apps on it as they are pretty old apps except CS5 & Lr4.
    Still you can give it a shot and check.
    What happens when you try to install them?
    Do you get any error message? An error screenshot or full text of the error, should be helpful.
    ~ Arpit

  • CS2/CS3/CS4: Cannot get file path in Unicode of the current document on Windows

    Hi All,
    In my automation plugin I need to have full absolute path of the opened document with any possible non-English letters. Using SDK examples Listener and Getter that come with Photoshop SDK the full absolute path which I obtain is in the default ANSI code page (CP_ACP) and I can convert it to Unicode using MultiByteToWideChar() API. However this works well when I have corresponding to document name language set in the "Control Panel -> Regional and Language Options -> Advanced -> Select a language to match the language version of the non-Unicode programs you want to use." For example if name of the document has Russian letters and chosen language in "Regional and Language Options" is also Russian the described conversion works well. If I change "Regional and Language Options" to English for example, full path returned by Photoshop SDK API (AliasToFullPath in PIUFile.cpp) for the document with Russian letters will contain "????????.psd" symbols.
    So I need to have an ability to get absolute file path in Unicode. Is it possible in Photoshop CS2/CS3/CS4 for Windows? I have searched forum and SDK but could not find info on it.
    Is it possible to have native HANDLE of the opened file to get file info using Windows API?
    Please advice.
    Below given slightly modified code from Photoshop CS3 which I use to get absolute file pat of the opened document.
    Thanks and regards,
    Sergey
    std::string outFilePath;
    int32 theID = 0;
    SPErr error = kSPNoError;
    error = PIUGetInfo(classDocument, keyDocumentID, &theID, NULL);
    if (error == kSPNoError)
    Handle theFileHandle = NULL;
    error = PIUGetInfoByID(theID, classDocument, keyFileReference, &theFileHandle, NULL);
    if (error == kSPNoError)
    int32 length = sPSHandle->GetSize(theFileHandle);
    Boolean oldLock = FALSE;
    Ptr pointer = NULL;
    sPSHandle->SetLock(theFileHandle, true, &pointer, &oldLock);
    if (pointer != NULL)
    outFilePath = (char*)pointer;
    sPSHandle->SetLock(theFileHandle, oldLock, &pointer, &oldLock);

    Hi All,
    Does anybody know, whether it is possible to get Unicode file path of the current document in Photoshop via Photoshop SDK API or without them?
    Thanks,
    Serhiy

  • After updating iPhoto to 9.2 Photoshop CS2 doesn't display the photo I have opened.  The photo shows in the Navigator on the side panel, but not on the screen.  MFF

    After updating iPhoto to 9.2, Photoshop CS2 doesn't display the photo on the desktop screen, even though the image is shown in the Navigator pallet well to the right.

    No, that is the problem.  I don't see how it should be, but that is what happened after I did the upgrade, which was for iPhoto 9.2.  The upgrade then required that the Library be upgraded.  Then CS2 stopped showing the photo when I opened CS2.  Maybe there was a system upgrade for the whole system, that went along with 9.2.  Before the upgrade CS2 worked.  I even tried photos that I had on backup disks, and they wouldn't show in CS2 even though I had draged them to the PS icon in the dock.  These photos were not on my computer when the Library was upgraded.  I even tried photos fresh from the camera. Elements 9 does work to open the photos.

  • Need to Uninstall CS, CS2, CS3, CS4 - Uninstall Tool Missing

    We've been with Adobe for a long time.
    We're upgrading computers and Mac OS on all to Mavericks.
    Would like to clean up in the process.
    Would like to thoroughly UNINSTALL all CS, CS2, CS3, and CS4 products on all computers.
    We are currently using CS5.  And, after installing Mavericks, will install CS6 Design Standard.
    Most threads point to using the UNINSTALL TOOL ... but no one seems to have a link to where to get it?
    It is not in the folders that everyone says it should be.  I do not have it.
    I hesitate to just DRAG the folders to the trash.  I'd prefer a tool that will UNINSTALL proper plists, etc. ... not just trash the AP folder.
    Anyone?

    I have already been there.
    1.  In my Adobe Installers folder, there are only alias' folders for "Add or Remove Adobe Creative Suite 3 Design Premium", for "Adobe Creative Suite 4 Design Premium", for "Adobe Creative Suite 5 Design Premium" and for "Adobe ExtendScript Toolkit 2.1".  When I "Show Original" and go there and try to OPEN the folder to run the uninstaller ... nothing opens.  When I search for "Adobe Uninstaller", nothing is found.
    2. I have downloaded and run the Cleaner Tool for CS3 and 4 ... but it was very very fast (didn't see a progress bar while it was working as expected) and CS3 and 4 are still in my applications folder.  There was a message on one of them something about "support file missing".
    So, this doesn't seem to have worked ... again.
    In our office, we used to "trickle down" computers.  The person with the oldest computer gets the new on and his goes to someone else.  The problem with this has been that the person giving away the computer has been required to "clean it up" before passing it on and people haven't known HOW to do this.  Thus, the missing uninstallers, etc.
    So ... I want to delete (thoroughly) CS, CS2, CS3 and CS4, including Bridge, Device Central, Extension Manager, Drive, Fireworks, Flash, Media Encoder, Stock Photos, Version Cue, SupportAdvisor ap.
    Can I simply "drag to trash"?  I suspect not.  But unistallers don't seem to be present and cleaner tool doesn't seem to work.
    Are the instructions for "manual" removal of all files?
    Thank you.

  • Silver Combo Box Display Style Bug

    [LV2011, Windows XP]
    There appears to be a small bug with the Silver-style Combo Box control when you right-click and select Visible Items->Display Style.  For the string control a glyph appears properly, but for the combo box the glyph appears in the wrong place, and the colours are wrong.  In fact, the glyph only appears properly if you click on it, or do something else to force a redraw of the control.
    This combo box is a bit confusing, since it has no "Radix Shadow" part like the string control does, and in fact only the Silver-style combo box lets you display the "Display Type" glyph.  The other styles of combo box have no "Display Type" feature in the "Visible Items" menu, but the "Display Style Visible" checkbox does appear on the "Appearance" tab of the Properties dialog box (though checking it has no effect, and it appears unchecked if you re-launch the dialog box".
    I've attached a new version of the control which is close to fixing the bug, but the glyph region is 1 pixel skinnier than the string version.  Copy this to your "..\vi.lib\silver_ctls\String" folder if you want it to replace the version in the palettes.
    Jaegen
    Solved!
    Go to Solution.
    Attachments:
    Combo Box NI_Silver.ctl ‏6 KB

    Jaegen:
    Good catch, there is now a Corrective Action Request filed for this issue. It is correct that this property is
    not supported by the Combo Box found in the Modern Palette. However, this should at least be documented in the
    "Display Style Visible" property documentation if this is case, which it is not.
    Thanks for alerting us to this error and if you would like to follow the CAR, look for CAR# 312717 listed in
    bug fix reports for later releases of LabVIEW.
    Please let me know if you have any questions or need any more help with this issue.
    Tori W.
    National Instruments

  • All copies illustrator crash, cs2 cs3 cs4 Leopard 10.5.8 powermac 1.8 dual

    I crashes every time i open it. it suddenly started happening. i could get just past  the opening pane at first allowing me to choose what kind of document to open print rgb etc, the it stopped doing that. i get the opening pane the it crashes, it aslo happens in past copies cs2 cs3 cs4 non of my illustrator copies will open

    It could be an issue with your font caches.  Go get fontnuke and try deleting all your system and application font caches.
    It doesn't sound like a preference issue if it's affecting all the other versions.  Do you have the suite installed?  Is Photoshop working properly?

  • Problem batch processing in CS2, CS3 and CS4e

    I have all the above named programs and have tried unsuccessfully to get the batch process to work.  I currently run it in CS with no problems. We want to upgrade to CS5e and actually be able to use it to process our web gifs without constantly going back to the old version.
    I have an action set up with the following steps:
    Start Record
    Open File
    Save for Web - Set Width to 150 pixels - Apply - Save (I select a folder called 150)
    I repeat process for a 300 pixel image.
    Close the file
    Stop record.
    Go to batch process:
    Choose Action
    Select Source Folder
    Override Action "Open" Command is checked
    Choose Destination Folder (150 from above)
    I select OK.
    This runs fine in PS CS and no matter how many files I have in the source I end of with the same number in both the 150 and 300 folder I have created, named correctly and in the correct 150 or 300 pixel width I need as gif files.
    I repeat the same procedure in CS2, CS3 or CS4e and all I get is a folder with one image in it when done.  the batch runs and you can see it opening files but it just constantly overwrites the original file.
    I have tried to check other boxes such as the Override Action Save As Command and other things I have found on these forums but nothing is working.
    I even called Adobe and was on the phone for 99 minutes and let them view my desktop while I ran the procedure in both PS CS and PS CS4e and they were stumped.  I was told they would pass it on to supervisors and someone would call me back.  I called back after a week since I had not heard from anyone and was told my call was recorded as a mis-dircted call and they had no record.
    If someone could please help I would really appreciate it.  I have spent the last three evenings combing websites and watching videos to no avail.
    Thanks in advance.

    Thanks, but I have checked all those and am using the same settings from program to program without success.  It always work
    s in PS CS.

  • Identify the Application Version Cs/Cs2/Cs3???

    Hi All,
    I need to identify the Application Version [Cs/Cs2/Cs3].
    Is there any way to identify using javascript???
    Regards,
    Ramkumar .P

    It's not the endianness inside single bytes (thank the Silicon Gods for that!).[*] It's when you are working with values that require more than a single byte -- i.e., everything above 255 (which is the highest value that can be expressed -- normally -- with a single byte).
    Everyone can see that 4589 is less than 9341, even though it has the same number of digits, because, well, the first one's rightmost digit is '9' and the second one's is '1' but that doesn't make sense, because it's the leftmost digit that counts most.
    You're thinking, "Sure, but what about that endianness thingy?"
    It's the same thing. Suppose you get two 2-byte values:
    (a) 123 and 85
    (b) 86 and 100
    Which 2-byte value is the largest? Well, obviously it's the first one, as the most significant part (123) is clearly larger than that of the other (86). Now suppose you have to design a computer chip, and you have to decide in which order to store 2-byte values. It's quite obvious to you, me, and, for example, Motorola engineers, how you would do that: most significant byte first, then least significant.
    Unfortunately, the designers of the most prevalent microchip to date, Intel, decided to do it ... the other way around. (Insert appropriate smiley/sad face/horror here). For some reason, they reckoned it useful to store the least significant part first. Remember, back in "the day" when this was decided, using two bytes to store a number was ... well, how golly big numbers do you computer techies want to process!? Two bytes, that's up in the thousands! Imagine!
    So I imagine there must have been a highly technical reason for it.
    The term "endianness", by the way, comes from Gulliver's Travels -- which, I'm sure, most of you read. Remember the Civil Wars on which end to start eating an egg?
    Applying this to the (a) and (b) numbers, when you are asked "what is the bigger two-byte number?", then you ask "Is it Most Significant Byte first, or Least Significant first?" Is it the former, then it's (a); for the latter, it's (b).
    [*] Above-criticized engineers had no problem in deciding that in
      10010001
    the highest bit value (128) is always on the left, and the lowest (1) is always on the right.

Maybe you are looking for

  • How to save plant and lgort in BAPI_MATERIAL_SAVEDATA

    Hello all, I am trying to save de PLANT AND LGORT with the BAPI_MATERIAL_SAVEDATA, but no save it, i save all the material informations but the PLANT AND LGORT not appears in the table MARD, this is the way how i fill the bapi for this sections.   wa

  • ITunes Library organization in one folder...

    I have a Mac Mini which serves as the family Video Server to an AppleTV (and all the other Mac / iDevices we own). It is running Lion 10.7.4, with iTunes 10.6.1. The iTunes library is set up on a connected Drobo via USB. iTunes runs on the Mac Mini's

  • "No Bootable Device -- insert a boot disk and press any key" Error Message.

    Last month I just got a HP netbook (HP Mini 110-3100) and when I got it from the box, the error message; "No bootable device -- insert a boot disk and press any key" appeared. But then I managed to boot up the netbook normally. After that, I can use

  • WebUtil_File Function Typo

    The defined function "webutil_file.get_file_separator" is actually misspelled in the software. To use it, you have to misspell it as "webutil_file.get_file_seperator". Will this be corrected in future versions?

  • How do i personalize it and password protect it?

    My internet works, I was trying to set up my new airport extreme and my computer froze in the process and now it works but the light blinks amber and its an open network connection that anyone can connect to.  I tried a factory reset, but it won't go