Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / September 2007



Tip: Looking for answers? Try searching our database.

How to create a window which is default minimized

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
prerit.kapadia@einfochips.com - 18 Sep 2007 06:52 GMT
Hi
     I need to create a window which is default minimized. Right now
what I am doing is first creating window and then minimizing it by
miniturize but as I am doing it for 7 to 8 windows it dosent look good
first they are created and then automatically minimized.

    There should be some bettter way to create it in default
minimized form.

Please help
Heath Raftery - 18 Sep 2007 07:01 GMT
>      I need to create a window which is default minimized. Right now
> what I am doing is first creating window and then minimizing it by
> miniturize but as I am doing it for 7 to 8 windows it dosent look good
> first they are created and then automatically minimized.

Grr.

1. Learn to cross post
2. See my other reply in apps
3. Don't post programming q's in apps.

Signature

*--------------------------------------------------------*

| ^Nothing is foolproof to a sufficiently talented fool^ |
|    Heath Raftery, HRSoftWorks          _\|/_           |
*______________________________________m_('.')_m_________*
Not Important - 20 Sep 2007 06:04 GMT
In article
<1190094727.038560.158180@22g2000hsm.googlegroups.com>,

> Hi
>       I need to create a window which is default minimized. Right now
[quoted text clipped - 6 lines]
>
> Please help

How about more info on your part.

Are you using Cocoa or Carbon?
Are you instantiating  your Windows form NIB files.

Either way have you tried creating your Windows invisible, setting
the size and location then making the Window visible.
prerit.kapadia@einfochips.com - 20 Sep 2007 10:29 GMT
Yes I am installing window from nib using cocoa.

Actually in my application there is a situation where 7 to 8 windows
are created but they should be minimized by default.
What I am doing is first show window and then minituarizing it but for
a second all 8 windows are shown then minimized so it looks bad.
So what I did is OrderBack and then minituarize but when will is not
in full size the minimizing effect can be seen.

So I want to create window direclty in dock
Not Important - 20 Sep 2007 17:16 GMT
In article
<1190280573.262312.302560@57g2000hsv.googlegroups.com>,

> Yes I am installing window from nib using cocoa.
>
[quoted text clipped - 6 lines]
>
> So I want to create window direclty in dock

I'm going to annoying and ask why?

Why hide the a Window from the user and clutter up the Dock with
Windows they didn't place there?

What are you trying to hide from the user?
prerit.kapadia@einfochips.com - 21 Sep 2007 13:28 GMT
Simple, its customer requirement.
Actually each window represents a projetor.
In my application user does not view projector frequently thats why
its default minimized rather that ask user to minimize 8 windows on
start up.

Anyways problem is solved.
First OrderOut then minituarize and then showwindow.
I havent tried hidewindow but I think that should work too.

thanks for your relpy.
Michael Ash - 21 Sep 2007 16:17 GMT
> Simple, its customer requirement.
> Actually each window represents a projetor.
> In my application user does not view projector frequently thats why
> its default minimized rather that ask user to minimize 8 windows on
> start up.

It is part of a programmer's job to work out the requirements with a
customer. This includes telling the customer (nicely) when he's being an
idiot, and convincing him to modify his requirements to be less of an
idiot.

This is a terrible GUI. You should, if you haven't already, explain to the
customer why it's a terrible GUI and what you think would be a better one.
Of course sometimes they don't know what's good for them and that can't be
helped, but it's your responsibility ot at least try.

Signature

Michael Ash
Rogue Amoeba Software

Jolly Roger - 21 Sep 2007 18:09 GMT
> This is a terrible GUI. You should, if you haven't already, explain to the
> customer why it's a terrible GUI and what you think would be a better one.
> Of course sometimes they don't know what's good for them and that can't be
> helped, but it's your responsibility ot at least try.

You're making the assumption the guy realizes and cares it's a terrible
UI.  ; )

Signature

Please let me know if you send email to this address so that I can be
sure your email doesn't get eaten by pobox.com's ultra-aggressive SPAM
filter.

JR

Michael Ash - 21 Sep 2007 20:02 GMT
>> This is a terrible GUI. You should, if you haven't already, explain to the
>> customer why it's a terrible GUI and what you think would be a better one.
[quoted text clipped - 3 lines]
> You're making the assumption the guy realizes and cares it's a terrible
> UI.  ; )

Quite the contrary, I assume he either doesn't realize or doesn't care and
am trying to change that situation.

Signature

Michael Ash
Rogue Amoeba Software

Jolly Roger - 21 Sep 2007 21:21 GMT
>>> This is a terrible GUI. You should, if you haven't already, explain to the
>>> customer why it's a terrible GUI and what you think would be a better one.
[quoted text clipped - 6 lines]
> Quite the contrary, I assume he either doesn't realize or doesn't care and
> am trying to change that situation.

Good luck with that. ; )

Signature

Please let me know if you send email to this address so that I can be
sure your email doesn't get eaten by pobox.com's ultra-aggressive SPAM
filter.

JR

Michael Ash - 21 Sep 2007 22:57 GMT
>>>> This is a terrible GUI. You should, if you haven't already, explain to the
>>>> customer why it's a terrible GUI and what you think would be a better one.
[quoted text clipped - 8 lines]
>
> Good luck with that. ; )

Well you gotta have at least a little bit of that sort of attitude,
otherwise why be here at all?

Signature

Michael Ash
Rogue Amoeba Software

Heath Raftery - 24 Sep 2007 03:06 GMT
>> Simple, its customer requirement.
>> Actually each window represents a projetor.
[quoted text clipped - 6 lines]
> Of course sometimes they don't know what's good for them and that can't be
> helped, but it's your responsibility ot at least try.

As an example, perhaps a "dashboard" style GUI would suit - a little panel
that shows a small preview of each of the project windows. That way they
wont clog up the Dock and you have much greater control over their
presentation and arrangement.

Of course, there are plenty of other ideas too. Just about all of them
would be better than the minimize idea.

I know customers ask for some braindead stuff. Some programmers just
can't bring themselves to adhere to those ideas. It's a pride thing
I suppose, and a bit of a hubris about "diluting" the OS experience...

Signature

*--------------------------------------------------------*

| ^Nothing is foolproof to a sufficiently talented fool^ |
|    Heath Raftery, HRSoftWorks          _\|/_           |
*______________________________________m_('.')_m_________*
prerit.kapadia@einfochips.com - 24 Sep 2007 11:34 GMT
Thanks for kind responses & suggestions.
I know its terrible GUI to open 8 windows in dock.
A picture is better than thousand words.
So I made GUI with both ways, dashboard and dock.
And to everyones delight customer agreed on dashboard.

Thanks alot
Michael Ash - 24 Sep 2007 14:57 GMT
> Thanks for kind responses & suggestions.
> I know its terrible GUI to open 8 windows in dock.
> A picture is better than thousand words.
> So I made GUI with both ways, dashboard and dock.
> And to everyones delight customer agreed on dashboard.

Wonderful, thanks for telling us how this turned out.

Signature

Michael Ash
Rogue Amoeba Software

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.