Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

the function like property sheet

Posted on 2000-04-16
6
165 Views
Last Modified: 2013-11-20
I hope if i click different buttons,the content of my dialog box will changes.(like the property sheet,but don't have the tabs). how to implement this?
0
Comment
Question by:seuwind
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:_mb_
ID: 2720319
I think, nevertheless the easiest way is to use a tab-control on your dialog. You can modify it's style (within the resource editor), so that no tabs are displayed, but you can use it like  a "standard" tab-control.
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
ID: 2721261
tab control is very much like a set of radio buttons .. when you click on a tab, you get a message sayig 'tab number x has been blicked on'.  That is all tabs do.

What happens when you click on a tab is usually one of tow things

1) you change the visibility of certina controls (or maybe change some labels etc).  You couldeven dynamically create/destroy controls

2) you use child dialogs and make the appropriate one active/visible.

If you are going for options 2, then an embedded (child) property sheet is the easiest, as it has the logic for hooking up tabs to child dialogs built in.

If you don't want tabs for some other reason, then you can do either of the above yourself.
0
 

Author Comment

by:seuwind
ID: 2724999
Thanks for your help, RONSLOW

what I need is like "view switching" .
perhaps the option 2 that you gave me can help.
Because i am a beginner in programing,I hope if you can give me some example or some tips.

thanks
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 10

Expert Comment

by:RONSLOW
ID: 2725126
I can point yuou at lots of smaple code that does view switching using tabs etc if that is what you want
0
 

Author Comment

by:seuwind
ID: 2739224
yes, that's I want.
please point me at some sample code. Thank you very much for your help
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2743211
I've been away from the PC over Easter break .. will send you some exact links .. but you can probably find examples at http://www.codeguru.com/doc_view/index.shtml .. there is a section on tabbed views there .. a number of techiniques are presented.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how do i create updater to My Activex application? 3 95
ffmpeg - "rtsp://...... Operation not permitted" 4 86
wait notify demo infinite loop 3 122
Change to event 1 118
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question