1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#include "resource.h"
DLG_MAIN DIALOGEX 10,10,500,300
CAPTION "Tab Control Example"
STYLE WS_VISIBLE|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX
BEGIN
CONTROL "",TAB_MAIN,"SysTabControl32",WS_CHILD|WS_VISIBLE|TCS_FOCUSNEVER,5,5,490,290
END
TAB_ONE DIALOGEX 10,20,470,260
STYLE WS_VISIBLE|WS_CHILDWINDOW
BEGIN
CONTROL "This is tab one",MSG_ONE,"Static",WS_CHILD|WS_VISIBLE|SS_CENTERIMAGE|SS_CENTER,0,0,470,260,WS_EX_CLIENTEDGE
END
TAB_TWO DIALOGEX 10,20,470,260
STYLE WS_VISIBLE|WS_CHILDWINDOW
BEGIN
CONTROL "This is tab two",MSG_TWO,"Static",WS_CHILD|WS_VISIBLE|SS_CENTERIMAGE|SS_CENTER,0,0,470,260,WS_EX_CLIENTEDGE
END
|