10-08-2007, 07:17 PM
THIS IS JUST AN EXAMPLE OF WHERE TO PUT IT:
This is somewhat hard to give an exact answer when you don't supply the whole dialog, but you can see if this works.
Quote:BEGIN DIALOG
0 "" 0x90C80A44 0x100 0 0 337 59 "U.S.A Pool Turneys"
1 Button 0x54030001 0x4 6 6 48 14 "rick"
3 Button 0x54013003 0x0 36 22 48 14 "net"
4 Button 0x54013003 0x0 62 6 48 14 "cris"
5 Button 0x54013003 0x0 92 22 48 14 "karina"
6 Button 0x54013003 0x0 118 6 48 14 "karena"
7 Button 0x54013003 0x0 148 22 48 14 "kely"
8 Button 0x54013003 0x0 174 6 48 14 "james"
9 Button 0x54013003 0x0 204 22 48 14 "jason"
10 Button 0x54013003 0x0 230 6 48 14 "george"
This is somewhat hard to give an exact answer when you don't supply the whole dialog, but you can see if this works.
ret
;messages
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 1
,,mac "rick"
,case 3
,,mac "net"
,case 4
,,mac "cris"
,case 5
,,mac "karina"
,case 6
,,mac "karena"
,case 7
,,mac "kely"
,case 8
,,mac "james"
,case 9
,,mac "jason"
,case 10
,,mac "george"
,,
,case IDOK
,case IDCANCEL
ret 1
Taking on Quick Macros one day at a time