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

ATL / WTL / STL

 
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 
AnswerRe: Display controls in editor-created tab control Pin
Jonathan Davies10-Jul-10 3:04
Jonathan Davies10-Jul-10 3:04 
I created dialogs with the resource GUI editor to be the pages in my tabbed control so they appear in my rc file as below:

IDD_PSS_DIALOG DIALOGEX 0, 0, 589, 442
STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE
EXSTYLE WS_EX_CLIENTEDGE
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,306,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,306,24,50,14
    ....

Then declared dialog classes in the usual way:
class CPSSStatusDlg :	public CDialogImpl<CPSSStatusDlg>, 
			public CWinDataExchange<CPSSStatusDlg>,
			public CDialogMessageHook

{
         ...	
	public:
	CPSSStatusDlg();
	
// Dialog Data
	enum { IDD = IDD_PSS_DIALOG };
        ...
};
        ...

created dialog objects:
    ...
    CAboutDlg m_about;
CTH450StatusDlg m_statusDlg;
CViXStatusDlg m_StackerStatusDlg;
CPSSStatusDlg m_PSSStatusDlg;

    ...

and then loaded the the dialog objects onto mt tab pages:
m_tabView.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE);

// Create dialog based windows to use as tabbed views
m_about.Create(m_tabView.m_hWnd,rcDefault, NULL);
m_statusDlg.Create(m_tabView.m_hWnd,rcDefault, NULL);
m_StackerStatusDlg.Create(m_tabView.m_hWnd,rcDefault, NULL);
m_PSSStatusDlg.Create(m_tabView.m_hWnd,rcDefault, NULL);

// Add the dialog based windows to the tab controls list (seems like a map with name/window pairs)
m_tabView.AddPage(m_about.m_hWnd, _T("Task Control"));
m_tabView.AddPage(m_statusDlg.m_hWnd, _T("Arm Control"));
m_tabView.AddPage(m_StackerStatusDlg.m_hWnd, _T("Stacker Drive"));
m_tabView.AddPage(m_PSSStatusDlg.m_hWnd, _T("PSS Overview"));

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 
AnswerRe: Internet Explorer ExplorerBar Pin
Stephen Hewitt20-Jun-10 14:28
Stephen Hewitt20-Jun-10 14:28 

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.