How can I manipulate a "View" oir window in Cocoa?

konan

Registered
Here is what I want to do... I want to grab a window that was created in my program (Cocoa) and manipulate it. The only hitch is that I want to grab the window by it's text caption, and without any knowledge of how the window was originally created.

In Windows, I would do something like this

// Get the handle to the window...
HWND Handle = FindWindow("Window's Title");
if (Handle)
{
Manipluate window
}
else
Message("Cannot find the window");

How could I do this in Cocoa?

Konan
 
Back
Top