- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This may be a VS issue but I'd thought I raise it here to see if anyone in the community knows a way round it. I want to create a dialog that is filled with a picture and has button controls on top. I've created a picture control for my dialog and then created some buttons. However when I move the buttons over the picture control they either disappear or are visible but can't then be selected in the resource editor. I guess what I need is the functionality to tell the editor to put the picture control behind all other controls. Any views?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the resource editor, you should be able to just "tab" through the various items in the dialog until you get to the one you're interested in, even if it's behind another item.
also, you can reorder the tab sequence of items in the dialog with Ctrl" D
also, you can reorder the tab sequence of items in the dialog with Ctrl" D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks John, yes I can tab through the items as you say. Unfortunately the buttons don't display when I run the application so I'm guessing that what I want to do is not possible. I've got round this by making sure the background of my picture is the same grey as the dialog and then by placing the buttons to the side of the picture the final results looks like what I intended to do, i.e. a picture with buttons on top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting acar
Thanks John, yes I can tab through the items as you say. Unfortunately the buttons don't display when I run the application so I'm guessing that what I want to do is not possible. I've got round this by making sure the background of my picture is the same grey as the dialog and then by placing the buttons to the side of the picture the final results looks like what I intended to do, i.e. a picture with buttons on top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay thanks to both John and Anthony. The solution I used was based on tab order. It seems if I make the picture the first in the tab list then the desired result is seen in my application. It is a little annoying though that in the resource editor even with this order, once the buttons have been moved over the picture you can't get hold of them again with the mouse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting acar
It is a little annoying though that in the resource editor even with this order, once the buttons have been moved over the picture you can't get hold of them again with the mouse.
Hint #2: A much less error-prone method is to open the .rc file in text mode, and adjust the order of controls in the dialog by cutting & pasting appropriate lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems a good idea to work on the text file. I shall look into this next time I have a similar problem. Thanks.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page