#include "Types.rez" #include "test.h" #define WaitCodeRID 0x00700000 read rCtlDefProc (WaitCodeRID, fixed, convert) "waitctrl"; resource rControlList (WindTest) { { CtrlWait, CtrlRadioOn, CtrlRadioOff, CtrlRadioHide } }; resource rControlTemplate(CtrlWait) { CtrlWait, // {42, 40, 95, 248}, { 2, 4, 10, 202 }, WaitControl { { ctlVisible, /* flags */ fCtlProcNotPtr, /* More Flags */ 0x0 } } }; resource rControlTemplate (CtrlRadioOn) { CtrlRadioOn, {18, 10, 27, 130}, RadioControl { { /* optional Fields */ 0x1, 0x1002, 0x0, CtrlRadioOn, 1 } } }; resource rControlTemplate (CtrlRadioOff) { CtrlRadioOff, {29, 10, 38, 130}, RadioControl { { /* optional Fields */ 0x1, 0x1002, 0x0, CtrlRadioOff, 0 } } }; resource rControlTemplate (CtrlRadioHide) { CtrlRadioHide, {40, 10, 49, 130}, RadioControl { { /* optional Fields */ 0x1, 0x1002, 0x0, CtrlRadioHide, 0 } } }; resource rPString (CtrlRadioHide) { "Hidden" }; resource rPString (CtrlRadioOff) { "Off" }; resource rPString (CtrlRadioOn) { "On" }; resource rPString (WindTest) { " WaitControl " }; resource rWindParam1 (WindTest) { 0xC0A0, WindTest, 0x0, {0, 0, 0, 0}, 0x0, {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0, 0}, 0x0, 0, {42, 40, 95, 248}, infront, WindTest, 0x209 };