Click here to Skip to main content
15,890,438 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How to play flash movies with transparent background color in a Window? Pin
sunlin730-Jul-10 18:30
sunlin730-Jul-10 18:30 
Questionwhy does this thread just show the last one record? Pin
wangningyu27-Jul-10 20:59
wangningyu27-Jul-10 20:59 
QuestionATL error [modified] Pin
shakumar_212-Jul-10 21:32
shakumar_212-Jul-10 21:32 
AnswerRe: ATL error Pin
Stephen Hewitt4-Jul-10 14:48
Stephen Hewitt4-Jul-10 14:48 
QuestionCapturing IE Events Pin
Adeel Mirza1-Jul-10 0:08
Adeel Mirza1-Jul-10 0:08 
QuestionHow to get Drive name of current OS installed Pin
am 200928-Jun-10 18:46
am 200928-Jun-10 18:46 
AnswerRe: How to get Drive name of current OS installed Pin
gpsushil28-Jun-10 20:26
gpsushil28-Jun-10 20:26 
QuestionDisplay controls in editor-created tab control [modified] Pin
Splatt4223-Jun-10 7:59
Splatt4223-Jun-10 7:59 
Can one of you WTL gurus recommend a simple way to display controls in a gui editor created tab control?

I find myself having to create a WTL-based application for work. Although I have extensive experience with other languages and APIs, I have no experience with MFC/ATL/WTL, and the learning curve has been steep. I've managed to figure out a lot on my own, and am getting the hang of how things work.

The last thing I need to figure out is how to use the tabbed control. For starters I've created a dialog-based application using the gui editor, and one of it's components is a tab control added from the toolbox. I've figured out how to determine when a tab is selected, which one it was, and take action accordingly. What I can't seem to figure out how to do is to display different controls in the tab control depending on which tab is selected (I'm guessing that the easiest way would be to create a couple of dialog windows, then display them when the corresponding tab is selected).

I've looked at some of the examples posted around the internet, but none seem to directly use the editor-created tab control. It's entirely possible that I'm missing something obvious; as I mentioned I lack the background that makes learning this easy.

My question for you WTL gurus is: what's the easiest way to go about this? Obviously I need to do some more learning, but for now any suggestions, help, referrals to concrete examples, etc., would be greatly appreciated. I'm using VS 2005.

Thanks!



-- Modified Wednesday, June 23, 2010 2:19 PM
AnswerRe: Display controls in editor-created tab control Pin
Jonathan Davies10-Jul-10 3:04
Jonathan Davies10-Jul-10 3:04 
QuestionUsing CoCreateInstance crashes the program?? [modified] Pin
Kiran Satish22-Jun-10 11:40
Kiran Satish22-Jun-10 11:40 
QuestionRetriving the active contents of a Webpage Pin
Adeel Mirza21-Jun-10 2:07
Adeel Mirza21-Jun-10 2:07 
AnswerRe: Retriving the active contents of a Webpage Pin
Eddy Vluggen22-Jun-10 0:42
professionalEddy Vluggen22-Jun-10 0:42 
QuestionInternet Explorer ExplorerBar Pin
Adeel Mirza15-Jun-10 20:52
Adeel Mirza15-Jun-10 20:52 
AnswerRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan15-Jun-10 21:39
mveRichard MacCutchan15-Jun-10 21:39 
GeneralRe: Internet Explorer ExplorerBar Pin
Adeel Mirza15-Jun-10 23:58
Adeel Mirza15-Jun-10 23:58 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 1:52
mveRichard MacCutchan16-Jun-10 1:52 
GeneralRe: Internet Explorer ExplorerBar Pin
Adeel Mirza16-Jun-10 1:56
Adeel Mirza16-Jun-10 1:56 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 3:01
mveRichard MacCutchan16-Jun-10 3:01 
GeneralRe: Internet Explorer ExplorerBar Pin
Adeel Mirza16-Jun-10 3:13
Adeel Mirza16-Jun-10 3:13 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 5:01
mveRichard MacCutchan16-Jun-10 5:01 
GeneralRe: Internet Explorer ExplorerBar Pin
Adeel Mirza16-Jun-10 19:10
Adeel Mirza16-Jun-10 19:10 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 21:16
mveRichard MacCutchan16-Jun-10 21:16 
GeneralRe: Internet Explorer ExplorerBar Pin
Adeel Mirza16-Jun-10 21:24
Adeel Mirza16-Jun-10 21:24 
GeneralRe: Internet Explorer ExplorerBar Pin
Richard MacCutchan16-Jun-10 22:59
mveRichard MacCutchan16-Jun-10 22:59 
AnswerRe: Internet Explorer ExplorerBar Pin
Eddy Vluggen16-Jun-10 23:44
professionalEddy Vluggen16-Jun-10 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.