I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi News / Other Topic   Print This     

Delphi's main menu disapeared

Delphi's main menu disapeared in Delphi News / Other topic (part of our Pascal and Delphi Coding group).

Quick Search: Delphi's   disapeared   Delphi's main   Delphi's main menu  
gr
 (Inactive)
-- USA
hi

my Delphi's main menu disapeared. I can only see the source and forms windows.

What to do?

Thanks

Gr
 Posted 18 years ago (Thread Starter)
Comment Quote
About gr -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8567, 9 replies
Thread Started 12/8/2002 1:49:00 PM
View Counter=6457
Last Reply Posted 12/18/2002 9:48:00 AM)
Location=-- USA 
Joined=18 years ago   MB Posts=1  
Most Recent Post
rt
Castel, -- UK
Well, as the topical Xmas turkey said to the bowl of stuffing, bugger me! Roll Eyes

Now that's an amazingly useful piece of very useful info because I too keep forgetting what the original post said, I shall remember that.
rt

Thats enough of that. Ed.

 Posted 18 years ago
Comment Quote
About rt -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About rt

I do like my jazz and blues!


Post ID #8695 (Level 1.1)  Reply to 8567
Thread Started 12/18/2002 9:48:00 AM
View Counter=2
Location=Castel, -- UK 
Joined=20 years ago   MB Posts=687   KB Comments=1  
Scott Wehrly
Prestwood IT
 (Inactive)
Las Vegas, NV USA
Okay, that's a good tip - but I have a similar question for you.



I can launch Delphi (specifically Delphi 5), and it appears on the desktop, but once the splash screen is shown, the icon/window on the taskbar disappears!
Confused



It doesn't matter if I open an existing project or close all projects and close and open Delphi again (so it doesn't appear to be a setting in a particular project's desktop file).



If I minimize Delphi to the task bar, the icon reappears, and stays.



Any idea what would cause this?
 Posted 18 years ago
Comment Quote
About Scott Wehrly -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8669 (Level 1.2)  Reply to 8567
Reply Posted 12/17/2002 8:50:00 AM
Location=Las Vegas, NV USA 
Joined=18 years ago   MB Posts=442   KB Posts=19  
Scott Wehrly
Prestwood IT
 (Inactive)
Las Vegas, NV USA
Three things:



First : I'm on NT 4.0 WS. I get the same behavior from D6 on my machine, but I don't get this behavior on Win2K machines with D5 and D6. It looks like I need to reapply service packs and patches on my workstation.



Second: Are you using a browser that doesn't display the UBB correctly? Do you not see the messages in the thread adjacent to each other? I can't think of any other reason why you keep over-using the Quote, especially when your response is right below the message you're responding to, and most especially when you re-quote almost the entire message. I can understand using the Quote if you want to cite just one specific phrase to reply to, or your reply is several messages after the one you're replying to (like on the H-1B thread we've discussed on). Could you follow the routine of the other members of this message board and keep the quoting to a minimum? It's rather annoying.



Third:

the actual application window is a hidden window which is made visible only when you minimize the application

Eek!
Don't you mean, show the application's main window?

Your comment led me to conduct another one of my expeditions into the VCL bowels and the Win32 SDK. What I found is that the Visible/Minimize/Maximize functionality is actually handled by various calls of WM_ShowWindow messages to the application executable's main window. Yes, you're right in stating that this window is hidden when the application executable first runs its main WinExec routine. But at the end of that routine, Windows looks at the ShowMainWindow property of the Application to determine whether or not to issue the WM_ShowWindow call.



If it is false, and you're controlling the window state in Delphi, it doesn't appear until you execute the Show or ShowModal calls. And yes, until you Release the form (or Application.Terminate is called), the window remains in memory, hidden.



As for the taskbar, I dug into the Microsoft Windows Programming Guide, and found the following in the section Visibility of Taskbar Buttons:


A taskbar button is placed on the taskbar whenever an application creates a unowned primary window. To ensure that the window button is placed on the taskbar, create the window by calling CreateWindowEx and include the
WS_EX_APPWINDOW style. To prevent the window button from being placed on the taskbar, create the window by calling CreateWindowEx and include the WS_EX_TOOLWINDOW style. As an alternative, you can create a hidden window and make it the owner of your primary window.



Going back into the VCL, I found that ToolWindow forms do not have a system menu, or the minimize/maximize/resize functionality. The Delphi IDE has a system menu, so it must be created in the WM_EX_APPWINDOW style.



The MWPG reference made me dig a little deeper, and I found that the icon on the task bar (as stated in the quote above) is a Button (not a form or application) that links to the application's main window Handle, Title, and Icon. When you click it (or right-click it to bring up the pop-up), it's just issuing the same WM_ShowWindow calls to the window Handle that the application's system menu executes.
 Posted 18 years ago
Comment Quote
About Scott Wehrly -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8685 (Level 1.3)  Reply to 8567
Reply Posted 12/18/2002 6:52:00 AM
Location=Las Vegas, NV USA 
Joined=18 years ago   MB Posts=442   KB Posts=19  
Scott Wehrly
Prestwood IT
 (Inactive)
Las Vegas, NV USA
When you "Post a Reply", scroll the browser window down. Just below the Options panel, and the second set of Add Reply, Preview Post buttons, you'll see another frame window with a scroll bar. That's the full message thread. You can scroll this down to see the last (or any) message in the thread. Yeah, it's annoying to have to keep scroll-fiddling back and forth between the thread window and the edit window (I'd prefer it if the UBB software did what other message board software packages do and put the two side-by-side...oh well Roll Eyes )
 Posted 18 years ago
Comment Quote
About Scott Wehrly -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8690 (Level 1.4)  Reply to 8567
Reply Posted 12/18/2002 9:11:00 AM
Location=Las Vegas, NV USA 
Joined=18 years ago   MB Posts=442   KB Posts=19  
Scott Wehrly
Prestwood IT
 (Inactive)
Las Vegas, NV USA
Would if we could. Our message boards are actually a third-party software application from
Old UBB Archived Link: [URL=http://www.infopop.com]InfoPop[/URL]
, written in Perl. We have license to control content, but not structure, functionality, or behavior. Big Grin!

Looking at the cgi, the UBB is just telling the browser to put another HTML page (the existing HTML page where the current message thread resides) in the frame. I'm not Perl-ish enough to know how to tell the browser to scroll the frame automatically.



My personal trick is to hit Ctrl-N in I.E. to put up another browser window, then I place the existing thread side-by-side with the Reply edit window. I rarely suffer with the scroll-twiddling.
 Posted 18 years ago
Comment Quote
About Scott Wehrly -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8694 (Level 1.5)  Reply to 8567
Reply Posted 12/18/2002 9:47:00 AM
Location=Las Vegas, NV USA 
Joined=18 years ago   MB Posts=442   KB Posts=19  
Larry Drews
Iowa

my Delphi's main menu disapeared. I can only see the source and forms windows.

I have this happen to me occasionally also. Delphi seems to lose track of where it is at.

In your \Program Files\Delphix\Bin directory is a file named "delphi32.dsk". This is an .ini configuration type file. It has a section "[Main window]. In that section you will probably find that Visible=0. Change that to Visible=1 and save the modified delphi32.dsk file. Reopen your project and everything should be ok.
 Posted 18 years ago
Comment Quote
About Larry Drews -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry Drews
Veteran software developer specializing in Delphi/Kylix development. Currently Manager of Applications Development for a biotech company in Iowa.

Post ID #8568 (Level 1.6)  Reply to 8567
Reply Posted 12/8/2002 5:46:00 PM
Location=Iowa  
Joined=18 years ago   MB Posts=67   KB Comments=1  
Larry Drews
Iowa
Scott,

I can launch Delphi (specifically Delphi 5), and it appears on the desktop, but once the splash screen is shown, the icon/window on the taskbar disappears!

It doesn't matter if I open an existing project or close all projects and close and open Delphi again (so it doesn't appear to be a setting in a particular project's desktop file).

If I minimize Delphi to the task bar, the icon reappears, and stays.

As you are already aware, for all Delphi applications, including the Delphi IDE, the actual application window is a hidden window which is made visible only when you minimize the application. So the window behind the icon on the task bar is the main application window which is hidden when you restore the application.

Now, why the original tasbar icon disappears and then returns when you minimize, I haven't the slightest clue. What OS are you running?

Regards,

Larry Drews
 Posted 18 years ago
Comment Quote
About Larry Drews -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry Drews
Veteran software developer specializing in Delphi/Kylix development. Currently Manager of Applications Development for a biotech company in Iowa.

Post ID #8670 (Level 1.7)  Reply to 8567
Reply Posted 12/17/2002 9:54:00 AM
Location=Iowa  
Joined=18 years ago   MB Posts=67   KB Comments=1  
Larry Drews
Iowa
Scott,

Sorry for overquoting. When I go to the "Post A Reply" screen the original message is not visible to me, so I usually bring it along as a quote so that I don't forget any details (Senior moments, you know). I'll try to trim the quotes in the future.

Second, you digging into this further is enlightening to me. I have never looked into this in this much detail. Thank you for sharing it.

Regards,

Larry Drews
 Posted 18 years ago
Comment Quote
About Larry Drews -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry Drews
Veteran software developer specializing in Delphi/Kylix development. Currently Manager of Applications Development for a biotech company in Iowa.

Post ID #8688 (Level 1.8)  Reply to 8567
Reply Posted 12/18/2002 8:25:00 AM
Location=Iowa  
Joined=18 years ago   MB Posts=67   KB Comments=1  
Larry Drews
Iowa
Scott,

Jeez, I didn't even notice that window. It looked like just an advertisement window because the initial header is displayed. Thanks for pointing it out to me. Tell your webmaster to see if he can initialize that window to the end of the message list instead of the beginning.

Thanks.

-Larry Drews
 Posted 18 years ago
Comment Quote
About Larry Drews -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry Drews
Veteran software developer specializing in Delphi/Kylix development. Currently Manager of Applications Development for a biotech company in Iowa.

Post ID #8691 (Level 1.9)  Reply to 8567
Reply Posted 12/18/2002 9:22:00 AM
Location=Iowa  
Joined=18 years ago   MB Posts=67   KB Comments=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P156A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #8567 Counter
6457
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech