[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

Similar Messages

  • [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

  • [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

  • 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>

  • 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

  • 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.

  • 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.

  • CS3/CS4 - Treeview size/scrollbar

    Hi,
    I have a resizable panel with a Treeview that supports vertical scrolling. My problem is that I want the scrollbar to be shorter than the content of the Treeview, so that the content can go to the bottom of the panel, whereas the scrollbar only goes down to the resize hook, in the lower right corner.
    Is it possible to customize the height of the scrollbar in the Treeview?
    Thanks
    Kind regards Toke

    Personally, I would just add a gutter to the panel so the resize box doesn't collide with the scrollbar.
    It'll just be way easier, trust me. 
    Jon

  • [CS2, CS3] Drop shadow exceeds picture frame

    Hi there,
    maybe this is a well known effect, if not for myself ...
    If you apply a drop shadow to a placed image that has a clipping mask active, you may end up with a shadow area that falls inside the images picture frame as well as outside of it.
    This is OK up to a certain point but what if I have to crop the image on one side or the other? The shadow may exceed the picture frame now where I actually want it to be cut. [Hopefully I am making myself sufficiently clear ...]
    So is there some option connected to the drop shadow feature to restrict the shadow to the
    inside of the picture frame?
    Thanks
    Klaus

    I have experienced similar issues both with clipping paths and with drop shadows. I teach a class for Indesign and an image in one particular exercise I use has a clipping path around a head+shoulders shot of a woman. The path is a P'shop path created from an alpha channel.
    In InDesign the image is on top of a tint background which is on a separate layer. The clipping path is not clipping the full image but is leaving a fine, white, unclipped border around the image area (may be only a single row/column of pixels all the way around). As the clipped image has a drop shadow applied in exactly the way David describes, the drop shadow is also applied to these "unclipped" pixels around the edges.
    I confess that, as this is just an exercise and has never gone to print, I had not noticed this. One of my students did notice it because he had experienced the same problem in preparing a print job and it had cost his company a fair amount of money to correct it.
    John

  • CS1, CS2, CS3 Animated Gif Creation Error.

    Example: http://img365.imageshack.us/img365/5665/walksz2.gif
    Whenever I made an animated gif with a transparent background, the above happens. It doesn't hide the previous frame when drawing the next one. However, when I give it a non-transparent background, it is still fine - http://img59.imageshack.us/img59/8080/walklk4.gif
    How can I fix this? This happens in Photoshop CS1, CS2, and CS3.
    Thanks,
    Dave.

    Read up on "frame disposal method."
    Here's a link to the online PS CS3 live documentation about the subject. This info applies to all the versions you mentioned:
    http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WSC40F7DA7-6F3C-40d7-8BCD -98A3B1FE7ED0.html

  • Indesign CS3 text frame parameters and export PDF

    could use some help with the following:
    I need to edit and export a large number (7000) Indesign documents (one page)
    1. check for locked text frames and unlock
    2. group all text frames
    3. set grouped text frames at x=8 millimeters, y 10 milimeters
    4. export the documents to PDF in a subfolder called "Out"
    5. save and close the documents in the same subfolder as an Indesign CS3 document (orig is CS2)
    This is what I've been trying soo far:
    Now only checking one text frame - should be all text frames
    "close document 1 saving yes" doesn't work because the originals are from CS2
    I get a PDF called "Adobe Indesign SC3"
    set processFolder to choose folder with prompt "Choose a folder that contains Innd Docs to process"
    tell application "Finder"
    if not (exists folder "OUT" of processFolder) then
    make new folder at processFolder with properties {name:"OUT"}
    end if
    set the destination_folder to folder "OUT" of processFolder as alias
    end tell
    tell application "Finder"
    try
    set listFiles to (files of contents of processFolder) as alias list
    on error
    set listFiles to (files of contents of processFolder) as alias as list
    end try
    repeat with thisFile in listFiles
    tell application "Adobe InDesign CS3"
    with timeout of 120 seconds
    activate
    set properties of view preferences to {horizontal measurement units:millimeters, vertical measurement units:millimeters, ruler origin:page origin}
    open thisFile
    set myDoc to document 1
    set docName to name
    tell myDoc
    set transform reference point of layout window 1 to top left anchor
    set myBox to text frame 1 of page 1
    set properties of myBox to {locked:false}
    move myBox to {8, 10}
    end tell
    export document 1 format PDF type to (destination_folder as string) & docName & ".pdf" using PDF export preset "[Drukwerkkwaliteit]" without showing options
    close document 1 saving yes
    tell application "Finder" to move thisFile to destination_folder with replacing
    end timeout
    end tell
    end repeat
    end tell
    end
    end
    Any help is greatly appreciated - Doing this manually is a lot of work!!!!!
    Peter

    You're asking for the name of the application, not the document -- you need<br />to do it after your "tell myDoc".<br /><br />You could also get the name from the alias you open, rather than the open<br />document, something like:<br /><br />repeat with thisFile in listFiles<br />set oldDelims to AppleScript's text item delimiters<br />set AppleScript's text item delimiters to {":"}<br />set docName to text item -1 of (thisFile as Unicode text)<br />set AppleScript's text item delimiters to oldDelims<br /><br />You should also move your "set properties of view preferences" line to after<br />your "tell myDoc".<br /><br />-- <br />Shane Stanley <[email protected]>

Maybe you are looking for

  • Video Cameras/Firewire

    I got a Macbook last December that did not include the firewire port (at that time, I didn't bother to check since my old G4 had firewire...stupid mistake). Anyay, I have been trying to find a high quality camera to use to make 1) videos and 2) scree

  • Upgrading from 10.4.11 to 10.5.8 for iPhone 4...PLEASE HELP!!!

    I just received my iPhone 4 and was devastated when I learned (the hard way) that it would not sync to iTunes because I'm running 10.4.11. Please, if anyone can help me through the steps of upgrading to 10.5.8 I would be forever grateful.

  • Delete Button is disabled in Check status

    Hi Experts, We are on SRM 7.0 . In Check status POWL, if the shopping cart is in 'Awaiting approval' stage requisitioner can only display the cart , we want him to able to delete the cart as well but the delete button is disabled. We have assigned 'm

  • Negative 0NETPRICE in BW when an item is deleted in R/3

    Hello everyone -- We're using the LO-Cockpit.  Can someone tell me why 0NETPRICE becomes negative in BW when a PO line item is deleted in R/3?  Is this standard functionality or a bug in the system?  I tried implementing OSS note 791334, but 0NETPRIC

  • Exporting from oracle10g to oracle9i

    I did an exp on an Oracle 10g database (10.1.0.3). I ftp'd the file to another machine running Oracle 9i (9.2.0.6). When importing I'm getting this error: Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production With the Partiti