how can i display my window?
i created a subclass fo NSPannel and linked my class (AddWnd) with my window in IB
so my function for the button which will display the window:
#import "AddWnd.h"
- (IBAction)AddDataid)sender
{
AddWnd* hWnd = [[NSWindow alloc] init];
[hWnd setLevel:NSModalPanelWindowLevel];
[hWnd display];
}
when i click on the button the window doesn't display
PS: sry for my bad english
i created a subclass fo NSPannel and linked my class (AddWnd) with my window in IB
so my function for the button which will display the window:
#import "AddWnd.h"
- (IBAction)AddDataid)sender
{
AddWnd* hWnd = [[NSWindow alloc] init];
[hWnd setLevel:NSModalPanelWindowLevel];
[hWnd display];
}
when i click on the button the window doesn't display
PS: sry for my bad english