Rev 5674 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5674 | Rev 5683 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | dword mouse_opt; |
10 | dword mouse_opt; |
11 | unsigned char POP_server1[128]="pop.server.com"; |
11 | unsigned char POP_server1[128]="pop.server.com"; |
12 | unsigned char POP_server_port1[5]="110"; |
12 | unsigned char POP_server_port1[5]="110"; |
13 | unsigned char SMTP_server1[128]="smtp.server.com"; |
13 | unsigned char SMTP_server1[128]="smtp.server.com"; |
14 | unsigned char SMTP_server_port1[5]="25"; |
14 | unsigned char SMTP_server_port1[5]="25"; |
15 | edit_box POP_server_box = {210,190,90 ,0xffffff,0x94AECE,0xffc90E,0xffffff,0,sizeof(POP_server1),#POP_server1,#mouse_opt,0}; |
15 | edit_box POP_server_box = {210,190,90 ,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,sizeof(POP_server1),#POP_server1,#mouse_opt,100000000000b}; |
16 | edit_box POP_server_port_box = {210,190,115,0xffffff,0x94AECE,0xffc90E,0xffffff,0,5,#POP_server_port1,#mouse_opt,0b1000000000000000}; |
16 | edit_box POP_server_port_box = {210,190,115,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,5,#POP_server_port1,#mouse_opt,100000000000b}; |
17 | edit_box SMTP_server_box = {210,190,140,0xffffff,0x94AECE,0xffc90E,0xffffff,0,sizeof(SMTP_server1),#SMTP_server1,#mouse_opt,0}; |
17 | edit_box SMTP_server_box = {210,190,140,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,sizeof(SMTP_server1),#SMTP_server1,#mouse_opt,100000000000b}; |
18 | edit_box SMTP_server_port_box = {210,190,165,0xffffff,0x94AECE,0xffc90E,0xffffff,0,5,#SMTP_server_port1,#mouse_opt,0b1000000000000000}; |
18 | edit_box SMTP_server_port_box = {210,190,165,0xffffff,0x94AECE,0xffc90E,0xCACACA,0,5,#SMTP_server_port1,#mouse_opt,100000000000b}; |
Line 19... | Line 19... | ||
19 | 19 | ||
20 | 20 | ||
21 | void SettingsDialog() |
21 | void SettingsDialog() |
Line 33... | Line 33... | ||
33 | { |
33 | { |
34 | switch(WaitEvent()) |
34 | switch(WaitEvent()) |
35 | { |
35 | { |
36 | case evMouse: |
36 | case evMouse: |
37 | IF (GetProcessSlot(Form.ID)-GetActiveProcess()!=0) break; |
37 | IF (GetProcessSlot(Form.ID)-GetActiveProcess()!=0) break; |
38 | if (checked[1]==0) break; |
- | |
39 | edit_box_mouse stdcall(#POP_server_box); |
38 | edit_box_mouse stdcall(#POP_server_box); |
40 | edit_box_mouse stdcall(#POP_server_port_box); |
39 | edit_box_mouse stdcall(#POP_server_port_box); |
41 | edit_box_mouse stdcall(#SMTP_server_box); |
40 | edit_box_mouse stdcall(#SMTP_server_box); |
42 | edit_box_mouse stdcall(#SMTP_server_port_box); |
41 | edit_box_mouse stdcall(#SMTP_server_port_box); |
43 | break; |
42 | break; |
Line 48... | Line 47... | ||
48 | if (id==19) LoginBoxLoop(); |
47 | if (id==19) LoginBoxLoop(); |
49 | if (id==17) || (id==18) |
48 | if (id==17) || (id==18) |
50 | { |
49 | { |
51 | if (checked[id-17]==1) break; |
50 | if (checked[id-17]==1) break; |
52 | checked[0]> |
51 | checked[0]> |
- | 52 | if (checked[1]) { |
|
53 | if (checked[1]) POP_server_box.flags = 0b10; |
53 | POP_server_box.flags = 0b10; |
- | 54 | POP_server_port_box.flags = SMTP_server_box.flags = SMTP_server_port_box.flags = 0b; |
|
- | 55 | POP_server_box.blur_border_color = POP_server_box.blur_border_color = POP_server_port_box.blur_border_color = |
|
- | 56 | SMTP_server_box.blur_border_color = SMTP_server_port_box.blur_border_color = 0xFFFfff; |
|
- | 57 | } |
|
- | 58 | else { |
|
- | 59 | POP_server_box.flags = POP_server_box.flags = POP_server_port_box.flags = SMTP_server_box.flags = SMTP_server_port_box.flags = 100000000000b; |
|
- | 60 | POP_server_box.blur_border_color = POP_server_box.blur_border_color = POP_server_port_box.blur_border_color = |
|
- | 61 | SMTP_server_box.blur_border_color = SMTP_server_port_box.blur_border_color = 0xCACACA; |
|
- | 62 | } |
|
54 | OptionsWindow(); |
63 | OptionsWindow(); |
55 | } |
64 | } |
56 | if (id==20) |
65 | if (id==20) |
57 | { |
66 | { |
58 | if (use_iconv==2) break; |
67 | if (use_iconv==2) break; |