PDA

Click to See Complete Forum and Search --> : Updating a drop-down menu list


Gimpster
Nov 12th, 1999, 12:02 AM
I can't believe it's so simple! Now my only problem is that the logo form shows up on the list as well, and I don't want that form to be in the list. It's supposed to basically be a background. You're not supposed to be able to move it or anything. I would have put an image control on the MDI parent, but it won't let you do that. So do you have any suggestions on how I can fix this problem?

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046

Yonatan
Nov 12th, 1999, 01:46 AM
You can't put an Image control on an MDI Client, but you can put a PictureBox control with its BorderStyle set to zero, then it looks exactly like the Image control.

------------------
Yonatan
Teenage Programmer
E-Mail: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)

Gimpster
Nov 12th, 1999, 02:03 AM
Yes, it looks just like the image control, but you cannot reposition the picture, which you would need to do in order to accomodate different screen resolutions. However, once you have the picture box, you can then put an image control on top of the picture box, and with the image control you can reposition the picture, resize it, whatever you want. Thanks for your help. I don't think I would have figured that out otherwise. Thanks.

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046

Gimpster
Nov 12th, 1999, 11:26 AM
I have an MDI form setup, and on the MDI parent I have a menu called "Window", just like on most standard applications. What I want to do is to set up some code so that when you click on the window menu, it will detect which child windows are open, which child window has the focus, and then display all open windows in the menu drop-down list, with a checkmark next to the window that has the focus. I would GREATLY appreciate any code samples that you can give me for this. Thanks.

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046

Aaron Young
Nov 12th, 1999, 11:32 AM
In the Menu Editor add a Menu Called Windows and set the WindowList Property to True (Checked)

Now when you run the App, the Window Menu will contain a list of any Active MDIChild Forms which a Check Next to the Currently Active Form.

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net