How to implement "irregular window" in cocoa

hello,
How to implement ellipse window or triangle window in cocoa. Thank you very much!

Have a look at CocoaDev's page on this subject here and Apple's sample code RoundTransparentWindow here (this link is in CocoaDev's page but it's since been updated to a slightly different URL).

Similar Messages

  • How to implement irregular schedule of Reports CGI from Web?

    Hi,all
    I use Reports6i and schedule Reports with rwcgi60.exe.I want to
    schedule the same report at a irregular periodic at date 3,13,23
    of each month.I cant schedule the report every other 10
    days,because usually it isn't 10 days from 23 of last month to 3
    of this month.I have tried the package srw.run_report(),but i
    dont know exactly.Anybody can help me?
    Thanks in advance
    regards,
    jungle

    hello,
    how about scheduling 3 jobs; one for each date.
    regards,
    the oracle reports team

  • How to implement resizable window by units of space

    I would like one of my split panel�s side (for example right one) to be resizable only by a certain amount of space (for example 400 pixels) in both directions � horizontal and vertical.
    Any clue how can I accomplish this?.
    Janusz

    But what I want is force the user to resize my right panel in predefined units (e.g. in pixels 400, 800, 1200, 1600�). For example if the user tries to resize my panel to the right 50 pixels, the window would automatically resize to 400 pixels (provided there is that much space on the screen), and after that the user could resize the panel to another 400 (800 pixels from starting point) pixels.
    If I set just minimum of my right panel to e.g. 400 pixels then the user can resize it to 400, 401, 402... to the maximum value - but that is not what I want.
    Janusz

  • How to implement parent entity for core data

    Hi there.
    I am starting a document-based Core Data application (Cocoa) and developed the following data model;
    The 'invoice' entity is a parent entity of 'items', because ideally I would want there to be many items for each invoice. I guess my first point here is - is what I am trying to do going to be achieved using this method?
    If so, I have been trying several ways in Interface Builder to sort out how to implement this structure with cocoa bindings. I have made a Core Data app before, just with one entity. So this time, I have two separate instances of NSArrayController's connected to tables with relevant columns. I can add new 'invoice' entities fine, but I can't get corresponding 'items' to add.
    I tried setting the Managed Object Context of the 'item' NSArrayController to this;
    I thought this would resolve the issue, but I still have found no resolution to the problem.
    If anyone done something similar to this, I'd appreciate any help
    Thanks in advance,
    Ricky.

    Second, when you create a Core Data Document Based application, XCode generates the MyDocument class, derivating from NSPersistentDocument. This class is dedicated to maintain the Managed Object Model and the Managed Object Context of each document of your application.
    There is only one Context and generally one Model for each Document.
    In Interface Builder, the Managed Object Context must be bound to the managedObjectContext of the MyDocument instance: it's the File's owner of the myDocument.xib Nib file.
    It's not the case in your Nib File where the Managed Object Context is bound to the invoiceID of the Invoice Controller.
    It's difficult to help you without an overall knowledge of your application, perhaps could you create an InvoiceItem Controller and bind its Content Set to the relationship of your invoice.

  • How to implement iview for gui of windows ?

    Hi all.
    We are implementing the single sign on, integrate with EP with SAP R/3.
    We create ivew for gui of windows.
    When we sign in the EP, we click on the iview, inside iview, there is a window gui of sap gui.
    Now we meet with the error ' Issuer of SSO ticket is not authorized.
    We want to how to implement it using ticket authoration method. Whats the detailed steps ?
    Thanks a lot, its very urgent.

    Basically you need to logon as Administrator
    Go to ->System Administration -> System Configuration -> Keystore Administration -> Download veryfy.der
    then
    Check backend parameters...
    login/accept_sso2_ticket = 1
    login/create_sso2_ticket = 2
    Logon to Backend, go to transaccion strustsso2 and add the certificate (veryfy.der)
    At the portal, go to ->System Administration -> System Configuration -> System Lanscape -> go to the system and make sure that Logon Method is SAPLOGONTICKET
    That should be pretty much it...
    Hope this help!
    Juan Reyes

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • How to create popup Windows in WebDynpro

    I am learning WebDynpro and have developed a sample application where i ask the user to login. In case of incorrect login I want to display a popup window which shows an error message and has an ok button on it. On click of the OK button i want to close the Window.
    I have created a view for this popup... called errorView
    On click of login button i perform validations n incase the validatins fail i have put in the following code
    IWDWindowInfo myWinInfo = wdComponentAPI.getComponentInfo().findInWindows("Ra_ErrorView");
    myPopupWindow = wdComponentAPI.getWindowManager().createWindow(myWinInfo,true);
    myPopupWindow.setWindowPosition(300,150);
    myPopupWindow.open();     
    How should i proceed?
    Where should i write the myPopupWindow.close()
    Kindly give a step-by-step solution.

    Hi Reema,
    You want to close a window say window1 which you opened from a view.
    create an attribute. select its type from java native settings to IWDWindow
    wdContext.currentcontextElement().setWindowInstance(window);
    1.create an event in component controller say event1
    2.In order to trigger the event in component controller create a method in it
    write this code in implementation of controller to trigger the event
    wdThis.wdFireEventAddressSelectedEvent();
    3.For catching whatever event that is responsible for closing the window create an event handler in view1 say eventhandler1.Choose the subscibed event to be event1
    4.In that eventhandler1 write the code in implementation
    IWDWindow window =
    wdContext.currentcontextElement().getWindowInstance();
    window.close();
    Hope this helps you.Do revert back if you have more doubts
    Regards
    Rohit
    Message was edited by: Rohit Radhakrishnan

  • How to implement tooltip for the list items for the particular column in sharepoint 2013

    Hi,
    I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
    Any help will be appreciated

    We can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
    http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
    http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
    http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/

  • Issue with implementing Find window

    Hi,
    I am facing an issue with implementing Find window. The find window everything is working fine, but when I am opening the form I am facing the following error
    'Error: To retrieve the Information in this block, use menu option view -> query by example -> Enter to invoke enter-query mode, then view -> Query by example > Run to run your query..'
    when I click 'Ok', it is navigating to the FInd window.
    How can I avoid the above error message?
    And also after searching, I navigate to the main window to display the records, but the 'Find' torch icon is not getting enabled, how do I that?
    Thanks,
    Ramu

    Thanks for the reply.
    Yes, I have the QUERY_FIND trigger with the code as 'APP_STANDARD.EVENT('QUERY_FIND');'
    And also 'first navigation data block ' to my result block. Now that the error is gone, But still the Find Icon is not enabled
    Please advice.
    Thanks,
    Ramu
    Edited by: Ramu Chennuri on Oct 21, 2008 8:32 AM

  • How to implement select all files (Ctrl-A) in open file dialog??

    I successfully created file open dialog. However, in most windows file open dialog,
    if you press "Ctrl-A," it will select all the files in the directory. If you press "Ctrl"
    key with arrow key, it will highligh the files you want. ie. It allows users to open
    more than one files at the same time. How to implement it in Java??

    For doing this, you have to enable the file multiselection.
    If you have created a JFileChooser as :
    JFileChooser fileChooser = new JFileChooser();
    Add the following statement to set the multiselection property.
    fileChooser.setMultiSelectionEnabled(true);
    Manish.

  • How to implement setLineWrap equivalent method in a JTextPane

    I using a JTextPane in a chat Window, but if in this are writing a very large line this don't break lines as in the case of the setLineWrap(true) method for a JTextArea.
    How to implement break lines in a JTextPane equivalent to the setLineWrap(true) method for a JTextArea?

    ???import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        JTextPane jtp = new JTextPane();
        StringBuffer sb = new StringBuffer();
        for (int i=0; i<100; i++) sb.append("this is some text.  ");
        jtp.setText(sb.toString());
        content.add(new JScrollPane(jtp), BorderLayout.CENTER);
        setSize(400, 400);
        setVisible(true);
      public static void main(String[] args) { new Test3(); }
    }

  • How to implement this function in JSP/Servlet env?

    Hi all,
    I working on a project, it provides functionality to upload file using JSP/Servlet. In the first JSP page, there is file location and submit button. After user select a file to upload and click submit button, a message, like "sending file to XXXX", will be shown on the screen. Once uploading and validation are done on the server-side, a successful/error msg will be shown to user.
    Here I have a question for the "sending..." msg and the successful/error msg. They should be put in one jsp page or in two separate page? how to implement them?
    Thanks for any help!
    Tranquil

    For the sending message... Well, the thing is, when you click submit, it's sending the file to the server and the server is processing it, and this is all done before the "complete" page is sent to the server. So one would need to use some Javascript on the page before the actual submit happens to show some message. This is done on Ebay when you put something for sale, you can upload an image, and there is a little popup message telling you that it's uploading, and it is removed when the process is done. Now, I'm not sure the exact details of how this works, but my educated guess is this:
    1) The onsubmit function of the form checks that the file upload fields have a value (no need to popup a message if no file upload, since that's what usually takes the time, although it could just be assumed there is a file). If a file is to be uploaded, or just want to show the message anyway, a new popup window is opened with the window.open method and the "sending" message is shown (either written via Javascript or just load a small web page to the window).
    2) The popup window, since you can't transfer the window object from the form page to the next page, has to check window.opener for some value that the success/error page would have to set. The success/error page could use it's body onload function to set a variable in it's own window object to denote that the page is loaded. The popup window can use a looping check using setTimeout or setInterval in Javascript to check for window.opener.isLoadedVariable to be present, and if so, close itself.
    I've never done that, but I see no reason why it wouldn't work.

  • How to implement Export/Import Scripts in windows2003

    Hi...
    I want to implement Exp\imp or expdp\impdp scripts for my new rac database (10.2.0.4) on Windows2003 and I want to put this scripts on Scheduler task... so please can any one guide me how to implement backup scripts.
    1. daily incremental exp\imp scripts on windows
    2.weekly full database
    And another thing is I want to implement incremental backup of exp\imp script for every 1-hour for my important database on windows2003
    Edited by: user8943492 on Aug 6, 2010 9:53 PM

    Ok Try this
    Create bat file
    dialy_exp.bat
    cd d:\dump
    expdp system/manager@dbname DIRECTORY=mydir dumpfile=full.dmp
    call dayslist.bat
    move D:\dump\full.* d:\dump\old\%dayno%\
    dayslist.bat
    if %date:~0,3%== sat set datno=saturday
    if %date:~0,3%== sun set datno=sunday
    if %date:~0,3%== mon set datno=monday
    if %date:~0,3%== tue set datno=tuesday
    if %date:~0,3%== wed set datno=wednsday
    if %date:~0,3%== thu set datno=thursday
    if %date:~0,3%== fri set datno=friday

  • How to implement bar code in Unix environment - EBS 11.5.8 ?

    Hi All,
    I need to implement bar codes in an AR Invoice in Unix environment. I have barcode.pfa that is the font file. Is the equivalent file from ttf file in windows environment.
    I have read different papers in metalink that say that for example the name of the directory is this /usr/lib/X11/fonts/type1, but in my AIX server I haven't found something similar like this.
    I wrote this statement in order to find the directory but I didn't find it.
    find . -name fonts -print (fonts is the name of the directory)
    Can you help me?
    Best Regards,
    Mariano.-

    Hi Hussein,
    I've read Note: 466531.1 - How To Implement An AFM / PFA Barcode or MICR Font Within A UTF8 EBS Instance. It says that I have to
    copy the Barcode.pfa to the ORACLE_HOME directory. However, in this directory I don't have another pfa or ttf file, so how can unix relate the font?
    Best Regards,
    Mariano.-

  • How to implement web functionality in OBIEE.

    Hi,
    Please help me in how to implement " web functionality" in OBIEE. Also need ur sugegstions for the below features while implement.
    a.Full set of features
    b.Installation
    c.Inter-changeability
    reg,kannan

    hi,
    Java  jdk-1_5_0_06-windows-i586-p.exe
    OBIEE  OBIEE 10.1.3.3
    1.     Copy biee_windows_x86_101330_disk1.zip file in to your local drive, extract it and run setup file
    2.     For the documentation BIDOC.zip in to your local machine, extract and explore
    Task
    1.     Copy installation files into your local machine
    2.     Install JAVA/JDK
    3.     Set JAVA_HOME, PATH, CLASSPATH
    4.     Install OBIEE
    5.     Explore OBIEE physical folders
    6.     Explore OBIEE installed components
    7.     Create some sample reports and charts.
    or else see the below link for installation
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/install/installoraclebee.htm
    Regards
    Naresh

Maybe you are looking for

  • Looking for Connection iPhone beta test users

    The Connection tools team is looking to release it's first iPhone application for user based administration access. The app is built on top of the new REST based API's for user access (as opposed to the full administrator CUPI access) and allows you

  • Final Cut Pro X and multiple users

    Any ideas about how Apple will handle multiple users for FCP X, when it is downloaded from the App Store?

  • Help! The toddler has messed up my InDesign settings!

    Running InDesign CS on a newer iMac, and our little one somehow got in front of the keyboard and went wild while wife had the app. running. After cleaning up the desktop mess, I've discovered that InDesign is really messed up. Tool Bar is gone, and n

  • Hello2 (from java EE tutorial) error

    hello2 was built successfully but i cannot login into the page i get a username and password prompt and have tried all entries including my admin username and passwords, can someone help please? thanks

  • Cant drag and drop in windows 7

    cant drag and drop in windows 7 with itunes