xref: /AOO41X/main/sc/source/ui/src/optsolver.src (revision 82177cdbfc5fbca7e9a45fdfffbbaeb8a0d1d1a3)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "optsolver.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirModelessDialog RID_SCDLG_OPTSOLVER
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    OutputSize = TRUE ;
29cdf0e10cSrcweir    HelpId = CMD_SID_OPENDLG_OPTSOLVER ;
30cdf0e10cSrcweir    Hide = TRUE ;
31cdf0e10cSrcweir    SVLook = TRUE ;
32cdf0e10cSrcweir    Size = MAP_APPFONT ( 230 , 210 ) ;
33cdf0e10cSrcweir    Text [ en-US ] = "Solver" ;
34cdf0e10cSrcweir    Moveable = TRUE ;
35cdf0e10cSrcweir    Closeable = FALSE ;
36cdf0e10cSrcweir
37cdf0e10cSrcweir    FixedText FT_OBJECTIVECELL
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
40cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 8 ) ;
41cdf0e10cSrcweir        Text [ en-US ] = "Target cell" ;
42cdf0e10cSrcweir    };
43cdf0e10cSrcweir    Edit ED_OBJECTIVECELL
44cdf0e10cSrcweir    {
45cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_OBJECTIVECELL";
46cdf0e10cSrcweir        Border = TRUE ;
47cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 6 ) ;
48cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 12 ) ;
49cdf0e10cSrcweir        TabStop = TRUE ;
50cdf0e10cSrcweir    };
51cdf0e10cSrcweir    ImageButton IB_OBJECTIVECELL
52cdf0e10cSrcweir    {
53cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_OBJECTIVECELL";
54cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 5 ) ;
55cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
56cdf0e10cSrcweir        TabStop = FALSE ;
57cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
58cdf0e10cSrcweir    };
59cdf0e10cSrcweir
60cdf0e10cSrcweir    FixedText FT_DIRECTION
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 24 ) ;
63cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 8 ) ;
64cdf0e10cSrcweir        Text [ en-US ] = "Optimize result to" ;
65cdf0e10cSrcweir    };
66cdf0e10cSrcweir    RadioButton RB_MAX
67cdf0e10cSrcweir    {
68cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_OPTSOLVER:RB_MAX";
69cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 24 ) ;
70cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
71cdf0e10cSrcweir        Text [ en-US ] = "Maximum" ;
72cdf0e10cSrcweir        TabStop = TRUE ;
73cdf0e10cSrcweir    };
74cdf0e10cSrcweir    RadioButton RB_MIN
75cdf0e10cSrcweir    {
76cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_OPTSOLVER:RB_MIN";
77cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 38 ) ;
78cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
79cdf0e10cSrcweir        Text [ en-US ] = "Minimum" ;
80cdf0e10cSrcweir        TabStop = TRUE ;
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir    RadioButton RB_VALUE
83cdf0e10cSrcweir    {
84cdf0e10cSrcweir        HelpID = "sc:RadioButton:RID_SCDLG_OPTSOLVER:RB_VALUE";
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 52 ) ;
86cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 10 ) ;
87cdf0e10cSrcweir        Text [ en-US ] = "Value of" ;
88cdf0e10cSrcweir        TabStop = TRUE ;
89cdf0e10cSrcweir    };
90cdf0e10cSrcweir    Edit ED_TARGET
91cdf0e10cSrcweir    {
92cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_TARGET";
93cdf0e10cSrcweir        Border = TRUE ;
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 50 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 69 , 12 ) ;
96cdf0e10cSrcweir        TabStop = TRUE ;
97cdf0e10cSrcweir    };
98cdf0e10cSrcweir    ImageButton IB_TARGET
99cdf0e10cSrcweir    {
100cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_TARGET";
101cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 49 ) ;
102cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
103cdf0e10cSrcweir        TabStop = FALSE ;
104cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir
107cdf0e10cSrcweir    FixedText FT_VARIABLECELLS
108cdf0e10cSrcweir    {
109cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 68 ) ;
110cdf0e10cSrcweir        Size = MAP_APPFONT ( 59 , 8 ) ;
111cdf0e10cSrcweir        Text [ en-US ] = "By changing cells" ;
112cdf0e10cSrcweir    };
113cdf0e10cSrcweir    Edit ED_VARIABLECELLS
114cdf0e10cSrcweir    {
115cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_VARIABLECELLS";
116cdf0e10cSrcweir        Border = TRUE ;
117cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 66 ) ;
118cdf0e10cSrcweir        Size = MAP_APPFONT ( 130 , 12 ) ;
119cdf0e10cSrcweir        TabStop = TRUE ;
120cdf0e10cSrcweir    };
121cdf0e10cSrcweir    ImageButton IB_VARIABLECELLS
122cdf0e10cSrcweir    {
123cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_VARIABLECELLS";
124cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 65 ) ;
125cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
126cdf0e10cSrcweir        TabStop = FALSE ;
127cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
128cdf0e10cSrcweir    };
129cdf0e10cSrcweir
130cdf0e10cSrcweir    FixedLine FL_CONDITIONS
131cdf0e10cSrcweir    {
132cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 88 ) ;
133cdf0e10cSrcweir        Size = MAP_APPFONT ( 221 , 8 ) ;
134cdf0e10cSrcweir        Text [ en-US ] = "Limiting conditions" ;
135cdf0e10cSrcweir    };
136cdf0e10cSrcweir
137cdf0e10cSrcweir    FixedText FT_CELLREF
138cdf0e10cSrcweir    {
139cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 102 ) ;
140cdf0e10cSrcweir        Size = MAP_APPFONT ( 70 , 8 ) ;
141cdf0e10cSrcweir        Text [ en-US ] = "Cell reference" ;
142cdf0e10cSrcweir    };
143cdf0e10cSrcweir    FixedText FT_OPERATOR
144cdf0e10cSrcweir    {
145cdf0e10cSrcweir        Pos = MAP_APPFONT ( 84 , 102 ) ;
146cdf0e10cSrcweir        Size = MAP_APPFONT ( 38 , 8 ) ;
147cdf0e10cSrcweir        Text [ en-US ] = "Operator" ;
148cdf0e10cSrcweir    };
149cdf0e10cSrcweir    FixedText FT_CONSTRAINT
150cdf0e10cSrcweir    {
151cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 102 ) ;
152cdf0e10cSrcweir        Size = MAP_APPFONT ( 70 , 8 ) ;
153cdf0e10cSrcweir        Text [ en-US ] = "Value" ;
154cdf0e10cSrcweir    };
155cdf0e10cSrcweir
156cdf0e10cSrcweir    Edit ED_LEFT1
157cdf0e10cSrcweir    {
158cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_LEFT1";
159cdf0e10cSrcweir        Border = TRUE ;
160cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 114 ) ;
161cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
162cdf0e10cSrcweir        TabStop = TRUE ;
163cdf0e10cSrcweir    };
164cdf0e10cSrcweir    ImageButton IB_LEFT1
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_LEFT1";
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 113 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
169cdf0e10cSrcweir        TabStop = FALSE ;
170cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir    ListBox LB_OP1
173cdf0e10cSrcweir    {
174cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_OPTSOLVER:LB_OP1";
175cdf0e10cSrcweir        Border = TRUE ;
176cdf0e10cSrcweir        Pos = MAP_APPFONT ( 84 , 114 ) ;
177cdf0e10cSrcweir        Size = MAP_APPFONT ( 38 , 56 ) ;
178cdf0e10cSrcweir        TabStop = TRUE ;
179cdf0e10cSrcweir        DropDown = TRUE ;
180cdf0e10cSrcweir        StringList [ en-US ] =
181cdf0e10cSrcweir        {
182cdf0e10cSrcweir            < "<=" ; Default ; > ;
183cdf0e10cSrcweir            < "=" ; Default ; > ;
184cdf0e10cSrcweir            < ">=" ; Default ; > ;
185cdf0e10cSrcweir            < "Integer" ; Default ; > ;
186cdf0e10cSrcweir            < "Binary" ; Default ; > ;
187cdf0e10cSrcweir        };
188cdf0e10cSrcweir    };
189cdf0e10cSrcweir    Edit ED_RIGHT1
190cdf0e10cSrcweir    {
191cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_RIGHT1";
192cdf0e10cSrcweir        Border = TRUE ;
193cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 114 ) ;
194cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
195cdf0e10cSrcweir        TabStop = TRUE ;
196cdf0e10cSrcweir    };
197cdf0e10cSrcweir    ImageButton IB_RIGHT1
198cdf0e10cSrcweir    {
199cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_RIGHT1";
200cdf0e10cSrcweir        Pos = MAP_APPFONT ( 183 , 113 ) ;
201cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
202cdf0e10cSrcweir        TabStop = FALSE ;
203cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
204cdf0e10cSrcweir    };
205cdf0e10cSrcweir    ImageButton IB_DELETE1
206cdf0e10cSrcweir    {
207cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_DELETE1";
208cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 113 ) ;
209cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
210cdf0e10cSrcweir        TabStop = TRUE ;
211cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Remove" ;
212cdf0e10cSrcweir        // image is set dynamically
213cdf0e10cSrcweir    };
214cdf0e10cSrcweir
215cdf0e10cSrcweir    Edit ED_LEFT2
216cdf0e10cSrcweir    {
217cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_LEFT2";
218cdf0e10cSrcweir        Border = TRUE ;
219cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 129 ) ;
220cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
221cdf0e10cSrcweir        TabStop = TRUE ;
222cdf0e10cSrcweir    };
223cdf0e10cSrcweir    ImageButton IB_LEFT2
224cdf0e10cSrcweir    {
225cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_LEFT2";
226cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 128 ) ;
227cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
228cdf0e10cSrcweir        TabStop = FALSE ;
229cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
230cdf0e10cSrcweir    };
231cdf0e10cSrcweir    ListBox LB_OP2
232cdf0e10cSrcweir    {
233cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_OPTSOLVER:LB_OP2";
234cdf0e10cSrcweir        Border = TRUE ;
235cdf0e10cSrcweir        Pos = MAP_APPFONT ( 84 , 129 ) ;
236cdf0e10cSrcweir        Size = MAP_APPFONT ( 38 , 56 ) ;
237cdf0e10cSrcweir        TabStop = TRUE ;
238cdf0e10cSrcweir        DropDown = TRUE ;
239cdf0e10cSrcweir        StringList [ en-US ] =
240cdf0e10cSrcweir        {
241cdf0e10cSrcweir            < "<=" ; Default ; > ;
242cdf0e10cSrcweir            < "=" ; Default ; > ;
243cdf0e10cSrcweir            < ">=" ; Default ; > ;
244cdf0e10cSrcweir            < "Integer" ; Default ; > ;
245cdf0e10cSrcweir            < "Binary" ; Default ; > ;
246cdf0e10cSrcweir        };
247cdf0e10cSrcweir    };
248cdf0e10cSrcweir    Edit ED_RIGHT2
249cdf0e10cSrcweir    {
250cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_RIGHT2";
251cdf0e10cSrcweir        Border = TRUE ;
252cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 129 ) ;
253cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
254cdf0e10cSrcweir        TabStop = TRUE ;
255cdf0e10cSrcweir    };
256cdf0e10cSrcweir    ImageButton IB_RIGHT2
257cdf0e10cSrcweir    {
258cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_RIGHT2";
259cdf0e10cSrcweir        Pos = MAP_APPFONT ( 183 , 128 ) ;
260cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
261cdf0e10cSrcweir        TabStop = FALSE ;
262cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
263cdf0e10cSrcweir    };
264cdf0e10cSrcweir    ImageButton IB_DELETE2
265cdf0e10cSrcweir    {
266cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_DELETE2";
267cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 128 ) ;
268cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
269cdf0e10cSrcweir        TabStop = TRUE ;
270cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Remove" ;
271cdf0e10cSrcweir        // image is set dynamically
272cdf0e10cSrcweir    };
273cdf0e10cSrcweir
274cdf0e10cSrcweir    Edit ED_LEFT3
275cdf0e10cSrcweir    {
276cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_LEFT3";
277cdf0e10cSrcweir        Border = TRUE ;
278cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 144 ) ;
279cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
280cdf0e10cSrcweir        TabStop = TRUE ;
281cdf0e10cSrcweir    };
282cdf0e10cSrcweir    ImageButton IB_LEFT3
283cdf0e10cSrcweir    {
284cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_LEFT3";
285cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 143 ) ;
286cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
287cdf0e10cSrcweir        TabStop = FALSE ;
288cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
289cdf0e10cSrcweir    };
290cdf0e10cSrcweir    ListBox LB_OP3
291cdf0e10cSrcweir    {
292cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_OPTSOLVER:LB_OP3";
293cdf0e10cSrcweir        Border = TRUE ;
294cdf0e10cSrcweir        Pos = MAP_APPFONT ( 84 , 144 ) ;
295cdf0e10cSrcweir        Size = MAP_APPFONT ( 38 , 56 ) ;
296cdf0e10cSrcweir        TabStop = TRUE ;
297cdf0e10cSrcweir        DropDown = TRUE ;
298cdf0e10cSrcweir        StringList [ en-US ] =
299cdf0e10cSrcweir        {
300cdf0e10cSrcweir            < "<=" ; Default ; > ;
301cdf0e10cSrcweir            < "=" ; Default ; > ;
302cdf0e10cSrcweir            < ">=" ; Default ; > ;
303cdf0e10cSrcweir            < "Integer" ; Default ; > ;
304cdf0e10cSrcweir            < "Binary" ; Default ; > ;
305cdf0e10cSrcweir        };
306cdf0e10cSrcweir    };
307cdf0e10cSrcweir    Edit ED_RIGHT3
308cdf0e10cSrcweir    {
309cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_RIGHT3";
310cdf0e10cSrcweir        Border = TRUE ;
311cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 144 ) ;
312cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
313cdf0e10cSrcweir        TabStop = TRUE ;
314cdf0e10cSrcweir    };
315cdf0e10cSrcweir    ImageButton IB_RIGHT3
316cdf0e10cSrcweir    {
317cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_RIGHT3";
318cdf0e10cSrcweir        Pos = MAP_APPFONT ( 183 , 143 ) ;
319cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
320cdf0e10cSrcweir        TabStop = FALSE ;
321cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
322cdf0e10cSrcweir    };
323cdf0e10cSrcweir    ImageButton IB_DELETE3
324cdf0e10cSrcweir    {
325cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_DELETE3";
326cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 143 ) ;
327cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
328cdf0e10cSrcweir        TabStop = TRUE ;
329cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Remove" ;
330cdf0e10cSrcweir        // image is set dynamically
331cdf0e10cSrcweir    };
332cdf0e10cSrcweir
333cdf0e10cSrcweir    Edit ED_LEFT4
334cdf0e10cSrcweir    {
335cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_LEFT4";
336cdf0e10cSrcweir        Border = TRUE ;
337cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 159 ) ;
338cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
339cdf0e10cSrcweir        TabStop = TRUE ;
340cdf0e10cSrcweir    };
341cdf0e10cSrcweir    ImageButton IB_LEFT4
342cdf0e10cSrcweir    {
343cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_LEFT4";
344cdf0e10cSrcweir        Pos = MAP_APPFONT ( 67 , 158 ) ;
345cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
346cdf0e10cSrcweir        TabStop = FALSE ;
347cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
348cdf0e10cSrcweir    };
349cdf0e10cSrcweir    ListBox LB_OP4
350cdf0e10cSrcweir    {
351cdf0e10cSrcweir        HelpID = "sc:ListBox:RID_SCDLG_OPTSOLVER:LB_OP4";
352cdf0e10cSrcweir        Border = TRUE ;
353cdf0e10cSrcweir        Pos = MAP_APPFONT ( 84 , 159 ) ;
354cdf0e10cSrcweir        Size = MAP_APPFONT ( 38 , 56 ) ;
355cdf0e10cSrcweir        TabStop = TRUE ;
356cdf0e10cSrcweir        DropDown = TRUE ;
357cdf0e10cSrcweir        StringList [ en-US ] =
358cdf0e10cSrcweir        {
359cdf0e10cSrcweir            < "<=" ; Default ; > ;
360cdf0e10cSrcweir            < "=" ; Default ; > ;
361cdf0e10cSrcweir            < ">=" ; Default ; > ;
362cdf0e10cSrcweir            < "Integer" ; Default ; > ;
363cdf0e10cSrcweir            < "Binary" ; Default ; > ;
364cdf0e10cSrcweir        };
365cdf0e10cSrcweir    };
366cdf0e10cSrcweir    Edit ED_RIGHT4
367cdf0e10cSrcweir    {
368cdf0e10cSrcweir        HelpID = "sc:Edit:RID_SCDLG_OPTSOLVER:ED_RIGHT4";
369cdf0e10cSrcweir        Border = TRUE ;
370cdf0e10cSrcweir        Pos = MAP_APPFONT ( 128 , 159 ) ;
371cdf0e10cSrcweir        Size = MAP_APPFONT ( 53 , 12 ) ;
372cdf0e10cSrcweir        TabStop = TRUE ;
373cdf0e10cSrcweir    };
374cdf0e10cSrcweir    ImageButton IB_RIGHT4
375cdf0e10cSrcweir    {
376cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_RIGHT4";
377cdf0e10cSrcweir        Pos = MAP_APPFONT ( 183 , 158 ) ;
378cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
379cdf0e10cSrcweir        TabStop = FALSE ;
380cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Shrink" ;
381cdf0e10cSrcweir    };
382cdf0e10cSrcweir    ImageButton IB_DELETE4
383cdf0e10cSrcweir    {
384cdf0e10cSrcweir        HelpID = "sc:ImageButton:RID_SCDLG_OPTSOLVER:IB_DELETE4";
385cdf0e10cSrcweir        Pos = MAP_APPFONT ( 199 , 158 ) ;
386cdf0e10cSrcweir        Size = MAP_APPFONT ( 13 , 15 ) ;
387cdf0e10cSrcweir        TabStop = TRUE ;
388cdf0e10cSrcweir        QuickHelpText [ en-US ] = "Remove" ;
389cdf0e10cSrcweir        // image is set dynamically
390cdf0e10cSrcweir    };
391cdf0e10cSrcweir
392cdf0e10cSrcweir    ScrollBar SB_SCROLL
393cdf0e10cSrcweir    {
394cdf0e10cSrcweir        Pos = MAP_APPFONT ( 216, 113 ) ;
395cdf0e10cSrcweir        Size = MAP_APPFONT ( 8 , 59 ) ;
396cdf0e10cSrcweir        VScroll = TRUE ;
397cdf0e10cSrcweir    };
398cdf0e10cSrcweir
399cdf0e10cSrcweir    FixedLine FL_BUTTONS
400cdf0e10cSrcweir    {
401cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 179 ) ;
402cdf0e10cSrcweir        Size = MAP_APPFONT ( 230 , 8 ) ;
403cdf0e10cSrcweir    };
404cdf0e10cSrcweir
405cdf0e10cSrcweir    PushButton BTN_OPTIONS
406cdf0e10cSrcweir    {
407cdf0e10cSrcweir        HelpID = "sc:PushButton:RID_SCDLG_OPTSOLVER:BTN_OPTIONS";
408cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 190 ) ;
409cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
410cdf0e10cSrcweir        TabStop = TRUE ;
411cdf0e10cSrcweir        Text [ en-US ] = "Options..." ;
412cdf0e10cSrcweir    };
413cdf0e10cSrcweir    HelpButton BTN_HELP
414cdf0e10cSrcweir    {
415cdf0e10cSrcweir        Pos = MAP_APPFONT ( 62 , 190 ) ;
416cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
417cdf0e10cSrcweir        TabStop = TRUE ;
418cdf0e10cSrcweir    };
419cdf0e10cSrcweir    CancelButton BTN_CLOSE
420cdf0e10cSrcweir    {
421cdf0e10cSrcweir        Pos = MAP_APPFONT ( 118 , 190 ) ;
422cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
423cdf0e10cSrcweir        TabStop = TRUE ;
424cdf0e10cSrcweir        Text [ en-US ] = "Close" ;
425cdf0e10cSrcweir    };
426cdf0e10cSrcweir    PushButton BTN_SOLVE
427cdf0e10cSrcweir    {
428cdf0e10cSrcweir        HelpID = "sc:PushButton:RID_SCDLG_OPTSOLVER:BTN_SOLVE";
429cdf0e10cSrcweir        Pos = MAP_APPFONT ( 174 , 190 ) ;
430cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
431cdf0e10cSrcweir        TabStop = TRUE ;
432cdf0e10cSrcweir        Text [ en-US ] = "Solve" ;
433cdf0e10cSrcweir        DefButton = TRUE ;
434cdf0e10cSrcweir    };
435cdf0e10cSrcweir
436cdf0e10cSrcweir    // IMG_DEL_H not used - image is set dynamically
437cdf0e10cSrcweir
438cdf0e10cSrcweir    String STR_INVALIDINPUT
439cdf0e10cSrcweir    {
440cdf0e10cSrcweir        Text [ en-US ] = "Invalid input." ;
441cdf0e10cSrcweir    };
442cdf0e10cSrcweir    String STR_INVALIDCONDITION
443cdf0e10cSrcweir    {
444cdf0e10cSrcweir        Text [ en-US ] = "Invalid condition." ;
445cdf0e10cSrcweir    };
446cdf0e10cSrcweir};
447cdf0e10cSrcweir
448cdf0e10cSrcweir
449cdf0e10cSrcweirModelessDialog RID_SCDLG_SOLVER_PROGRESS
450cdf0e10cSrcweir{
451cdf0e10cSrcweir    OutputSize = TRUE ;
452cdf0e10cSrcweir    HelpId = HID_SC_SOLVER_PROGRESS ;
453cdf0e10cSrcweir    SVLook = TRUE ;
454cdf0e10cSrcweir    Size = MAP_APPFONT ( 118 , 72 ) ;
455cdf0e10cSrcweir    Moveable = TRUE ;
456cdf0e10cSrcweir    Closeable = FALSE ;
457cdf0e10cSrcweir    FixedText FT_PROGRESS
458cdf0e10cSrcweir    {
459cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 11 ) ;
460cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 8 ) ;
461cdf0e10cSrcweir        Center = TRUE ;
462cdf0e10cSrcweir        Text [ en-US ] = "Solving in progress..." ;
463cdf0e10cSrcweir    };
464cdf0e10cSrcweir    FixedText FT_TIMELIMIT
465cdf0e10cSrcweir    {
466cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 25 ) ;
467cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 8 ) ;
468cdf0e10cSrcweir        Center = TRUE ;
469cdf0e10cSrcweir        Text [ en-US ] = "(time limit # seconds)" ;
470cdf0e10cSrcweir    };
471cdf0e10cSrcweir    FixedLine FL_BUTTONS
472cdf0e10cSrcweir    {
473cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 41 ) ;
474cdf0e10cSrcweir        Size = MAP_APPFONT ( 118 , 8 ) ;
475cdf0e10cSrcweir    };
476cdf0e10cSrcweir    OKButton BTN_OK
477cdf0e10cSrcweir    {
478cdf0e10cSrcweir        Pos = MAP_APPFONT ( 34 , 52 ) ;
479cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
480cdf0e10cSrcweir        TabStop = TRUE ;
481cdf0e10cSrcweir        DefButton = TRUE ;
482cdf0e10cSrcweir    };
483cdf0e10cSrcweir    Text [ en-US ] = "Solving..." ;
484cdf0e10cSrcweir};
485cdf0e10cSrcweir
486cdf0e10cSrcweir
487cdf0e10cSrcweirModalDialog RID_SCDLG_SOLVER_NOSOLUTION
488cdf0e10cSrcweir{
489cdf0e10cSrcweir    OutputSize = TRUE ;
490cdf0e10cSrcweir    HelpId = HID_SC_SOLVER_NOSOLUTION ;
491cdf0e10cSrcweir    SVLook = TRUE ;
492cdf0e10cSrcweir    Size = MAP_APPFONT ( 118 , 72 ) ;
493cdf0e10cSrcweir    Moveable = TRUE ;
494cdf0e10cSrcweir    FixedText FT_NOSOLUTION
495cdf0e10cSrcweir    {
496cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
497cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 8 ) ;
498cdf0e10cSrcweir        Text [ en-US ] = "No solution was found." ;
499cdf0e10cSrcweir    };
500cdf0e10cSrcweir    FixedText FT_ERRORTEXT
501cdf0e10cSrcweir    {
502cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 22 ) ;
503cdf0e10cSrcweir        Size = MAP_APPFONT ( 106 , 16 ) ;
504cdf0e10cSrcweir        WordBreak = TRUE ;
505cdf0e10cSrcweir        // text is dynamic
506cdf0e10cSrcweir    };
507cdf0e10cSrcweir    FixedLine FL_BUTTONS
508cdf0e10cSrcweir    {
509cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 41 ) ;
510cdf0e10cSrcweir        Size = MAP_APPFONT ( 118 , 8 ) ;
511cdf0e10cSrcweir    };
512cdf0e10cSrcweir    OKButton BTN_OK
513cdf0e10cSrcweir    {
514cdf0e10cSrcweir        Pos = MAP_APPFONT ( 34 , 52 ) ;
515cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
516cdf0e10cSrcweir        TabStop = TRUE ;
517cdf0e10cSrcweir        DefButton = TRUE ;
518cdf0e10cSrcweir    };
519cdf0e10cSrcweir    Text [ en-US ] = "No Solution" ;
520cdf0e10cSrcweir};
521cdf0e10cSrcweir
522cdf0e10cSrcweir
523cdf0e10cSrcweirModalDialog RID_SCDLG_SOLVER_SUCCESS
524cdf0e10cSrcweir{
525cdf0e10cSrcweir    OutputSize = TRUE ;
526cdf0e10cSrcweir    HelpId = HID_SC_SOLVER_SUCCESS ;
527cdf0e10cSrcweir    SVLook = TRUE ;
528cdf0e10cSrcweir    Size = MAP_APPFONT ( 138 , 89 ) ;
529cdf0e10cSrcweir    Moveable = TRUE ;
530cdf0e10cSrcweir    FixedText FT_SUCCESS
531cdf0e10cSrcweir    {
532cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
533cdf0e10cSrcweir        Size = MAP_APPFONT ( 126 , 8 ) ;
534cdf0e10cSrcweir        Text [ en-US ] = "Solving successfully finished." ;
535cdf0e10cSrcweir    };
536cdf0e10cSrcweir    FixedText FT_RESULT
537cdf0e10cSrcweir    {
538cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 22 ) ;
539cdf0e10cSrcweir        Size = MAP_APPFONT ( 126 , 8 ) ;
540cdf0e10cSrcweir        Text [ en-US ] = "Result:" ;
541cdf0e10cSrcweir    };
542cdf0e10cSrcweir    FixedText FT_QUESTION
543cdf0e10cSrcweir    {
544cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 36 ) ;
545cdf0e10cSrcweir        Size = MAP_APPFONT ( 126 , 16 ) ;
546cdf0e10cSrcweir        WordBreak = TRUE ;
547cdf0e10cSrcweir        Text [ en-US ] = "Do you want to keep the result or do you want to restore previous values?" ;
548cdf0e10cSrcweir    };
549cdf0e10cSrcweir    FixedLine FL_BUTTONS
550cdf0e10cSrcweir    {
551cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 58 ) ;
552cdf0e10cSrcweir        Size = MAP_APPFONT ( 138 , 8 ) ;
553cdf0e10cSrcweir    };
554cdf0e10cSrcweir    OKButton BTN_OK
555cdf0e10cSrcweir    {
556cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 69 ) ;
557cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
558cdf0e10cSrcweir        TabStop = TRUE ;
559cdf0e10cSrcweir        DefButton = TRUE ;
560cdf0e10cSrcweir        Text [ en-US ] = "Keep Result" ;
561cdf0e10cSrcweir    };
562cdf0e10cSrcweir    CancelButton BTN_CANCEL
563cdf0e10cSrcweir    {
564cdf0e10cSrcweir        Pos = MAP_APPFONT ( 72 , 69 ) ;
565cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
566cdf0e10cSrcweir        TabStop = TRUE ;
567cdf0e10cSrcweir        Text [ en-US ] = "Restore Previous" ;
568cdf0e10cSrcweir    };
569cdf0e10cSrcweir    Text [ en-US ] = "Solving Result" ;
570cdf0e10cSrcweir};
571cdf0e10cSrcweir
572