"FiveWin/3 Cannot create Dialog Box" errors?

Taavi
Posts: 77
Joined: Mon Nov 21, 2005 10:29 am

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by Taavi »

Hi, now I have this modification in dialog.prg:

Code: Select all


static function CreateDlgError( Self )

   local cRes := If( ValType( ::cResName ) == "N", Str( ::cResName ), ::cResName )
   local cPad := Replicate( Chr( 32 ), 22 )

   #define CANNOTCREATE_DIALOG 3
   Eval( ErrorBlock(), ;
        _FwGenError( CANNOTCREATE_DIALOG, CRLF + ;
                     "   Windows error:"+alltrim(GetErrMsg())+ CRLF + ; // cPad + ;
                            If( ! Empty( cRes ), "Resource: " + cRes,;
                     "Title: " + If( Empty( ::cCaption ), "", ::cCaption ) ) ) )
return nil
 

Since january I've got some (random) errors from clients where createdlgerror() get's called fromTDIALOG:ACTIVATE().
Geterrmsg() returned "The operation completed successfully." in all those cases.
What else could we check?

Taavi.


btw,
dialogs related to error are non-modal (and MDI), so cretedlgerror() get's called at slightly different place in TDIALOG:ACTIVATE() You proposed.

Code: Select all


In TDIALOG:ACTIVATE()
 
   ...

         if ::hWnd == 0
            CreateDlgError( Self )
         endif

   ...
 












Taavi wrote:Ok,
I'll continue this subject when I have error report with Windows error message.

Thanks,
Taavi.

Antonio Linares wrote:Taavi,

Please modify Class TDialog this way:

Code: Select all


   ...

   if ::nResult == 65535
       MsgInfo( GetErrMsg() )   // new !
       CreateDlgError( Self )
   endif

   ...
 
so we can check what error is Windows reporting under those circunstances, thanks
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by ukoenig »

Taavi,

very often, a Resource-error is not the Resource itself,
it comes from any of the defined Controls, You want to display.

To detect these Errors, do the following :

1. disable all Controls, defined inside the Resource.
You can disable all, but not xBrowse !!!
Just start with the empty Form like :

FUNCTION SHOW_DLG2()
local oDlg1, oBrw1 ....

DEFINE DIALOG oDlg1 RESOURCE "Selection" ;
FONT oBrwFont TITLE "Dialog from RESOURCE" TRANSPARENT


All Controls are excluded but NOT xBrowse !!!

oBrw1 := TXBrowse():New( oDlg1 )
...
...
oBrw1:CreateFromResource( 200 )

RETURN ( NIL )


Outside the Dialog-Resource copy the other Controls like :

/*
nSelect := nDStyle

REDEFINE SELEX oSelect VAR nSelect ID 500 OF oDlg1 ;
ITEMS "&Color", "&Grad.", "Brush", "&Image";
GRADIENT OUTTRACK { { 0.5, 16443068, 16312263 }, ;
{ 0.5, 16312263, 16443068 } } ;
GRADIENT INTRACK { { 1, 5426223, 1071100 }, ;
{ 1, 1071100, 5426223 } } ;
THUMBSIZE 20, 20 ROUNDSIZE 5 ;
COLOR THUMB 14853684 ;
COLORTEXT 128, 32768 ;
TITLE "Select Dlg-Background" TOP ;
FONT oFootFont ;
ACTION( oDlg1:End(), ;
nDStyle := oSelect:nOption, ;
SHOW_DLG2() )
...
...
*/


2. Copy / activate the Controls one by one inside the Dialog-resource.
As soon a Error : Cannot create Dialogbox occurs,
it will be a Syntax-error of the Control, You want to display.

It is just funny, the Message has nothing to do with the missing or corupted xBrowse !
Image

You can display a empty Form.
All Controls can be undefined, only xBrowse must be included !!!

Image

Maybe a Solution to detect the cannot create-error.

Best Regards
Uwe :?:



(
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by Antonio Linares »

Taavi,

Please post the RC source code of those RC dialogs that fails sometimes, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Taavi
Posts: 77
Joined: Mon Nov 21, 2005 10:29 am

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by Taavi »

Antonio Linares wrote:Taavi,

Please post the RC source code of those RC dialogs that fails sometimes, thanks
Hi,
some samples where this error has been arising.

Code: Select all


PYSI1 DIALOG DISCARDABLE 25, -103, 363, 185
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "Töötaja perekonnanimi", -1, "Static", WS_GROUP, 5, 2, 95, 9
  CONTROL "", 1000, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 2, 120, 9
  CONTROL "Eesnimi", -1, "Static", WS_GROUP, 5, 12, 35, 9
  CONTROL "", 1004, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 12, 120, 9
  CONTROL "Sugu", -1, "Static", WS_GROUP, 252, 7, 25, 9
  CONTROL "", 1001, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 292, 5, 60, 33
  CONTROL "Tabeli nr. personaliarvestuses  ", -1, "Static", WS_GROUP, 5, 22, 99, 9
  CONTROL "", 1002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 22, 54, 9
  CONTROL "Põhiallikas", 10005, "Static", WS_GROUP, 252, 20, 40, 9
  CONTROL "", 1005, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 292, 20, 60, 9
  CONTROL "Tabeli nr. palgaarvutuses  ", -1, "Static", WS_GROUP, 5, 32, 90, 9
  CONTROL "", 1003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 32, 54, 9
  CONTROL "Arvestusest väljas", 1008, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 246, 30, 80, 9
  CONTROL "Isikukood             ", -1, "Static", WS_GROUP, 5, 42, 40, 9
  CONTROL "", 1019, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 42, 54, 9
  CONTROL "Sünnipäev", -1, "Static", WS_GROUP, 252, 40, 36, 9
  CONTROL "", 1020, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 292, 40, 60, 9
  CONTROL "Residentriik", -1, "Static", WS_GROUP, 5, 52, 55, 9
  CONTROL "", 1007, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 52, 54, 9
  CONTROL "", 1009, "Static", WS_GROUP, 165, 52, 52, 9
  CONTROL "OECD art.", -1, "Static", WS_GROUP, 220, 52, 40, 9
  CONTROL "Elukoht               ", -1, "Static", WS_GROUP, 5, 62, 30, 9
  CONTROL "", 1016, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 62, 54, 9
  CONTROL "", 1017, "Static", WS_GROUP, 165, 62, 180, 9
  CONTROL "Aadress               ", -1, "Static", WS_GROUP, 5, 72, 30, 9
  CONTROL "", 1018, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 72, 242, 9
  CONTROL "Pank                  ", -1, "Static", WS_GROUP, 5, 82, 30, 9
  CONTROL "", 1023, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 82, 54, 9
  CONTROL "", 1024, "Static", WS_GROUP, 165, 82, 65, 9
  CONTROL "A/a", -1, "Static", WS_GROUP, 231, 82, 15, 9
  CONTROL "", 1025, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 82, 102, 9
  CONTROL "Isiku nr. raamatupidamises  ", -1, "Static", WS_GROUP, 5, 92, 100, 9
  CONTROL "", 1026, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 92, 54, 9
  CONTROL "", 1027, "Static", WS_GROUP, 165, 92, 160, 9
  CONTROL "E-maili aadress", -1, "Static", WS_GROUP, 5, 102, 70, 9
  CONTROL "", 1006, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 102, 120, 9
  CONTROL "Telefon", -1, "Static", WS_GROUP, 5, 111, 100, 9
  CONTROL "", 1013, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 111, 120, 9
  CONTROL "Väljamakse liik (TSD lisa 2)", -1, "Static", WS_GROUP, 5, 121, 100, 9
  CONTROL "", 1011, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 110, 121, 120, 9
  CONTROL "Resid.tõendi kuupäev", -1, "Static", WS_GROUP, 234, 122, 72, 9
  CONTROL "", 1012, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 308, 122, 44, 9
  CONTROL "", 1010, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 260, 50, 85, 130
  CONTROL "Liitunud kogumispensioni II samba süsteemiga", -1, "Static", WS_GROUP, 4, 132, 146, 9
  CONTROL "", 1014, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 154, 131, 43, 9
  CONTROL "KP makse kinnipidamise algus", -1, "Static", SS_RIGHT|WS_GROUP, 200, 132, 106, 9
  CONTROL "", 1015, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 308, 132, 44, 9
  CONTROL "", 1021, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 108, 164, 60, 33
  CONTROL "Palgalipiku keel", 2021, "Static", WS_GROUP, 6, 164, 100, 9
  CONTROL "", 2013, "Static", WS_GROUP, 235, 112, 111, 9
  CONTROL "Ei muuda arvutust", 1022, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 168, 31, 75, 9
  CONTROL "Ei saada e-kirjaga lipikut kuni", 2029, "Static", SS_RIGHT|WS_GROUP, 198, 166, 100, 9
  CONTROL "", 1029, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 308, 166, 45, 9
  CONTROL "", 1028, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 251, 144, 9, 9
  CONTROL "lõpp", -1, "Static", SS_RIGHT|WS_GROUP, 290, 142, 16, 9
  CONTROL "", 1030, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 308, 142, 44, 9
  CONTROL "", 4001, "Static", SS_RIGHT|WS_GROUP, 108, 154, 244, 9
  CONTROL "Esitanud avalduse kogumispensioni maksete kinnipidamiseks 2010. aastal", -1, "Static", SS_RIGHT|WS_GROUP, 6, 144, 243, 9
}


PYSI2 DIALOG DISCARDABLE 15, -124, 355, 154
STYLE WS_CHILD|DS_3DLOOK
FONT 9, "Arial"
{
  CONTROL "Ametikoht", -1, "Static", WS_GROUP, 6, 2, 60, 9
  CONTROL "", 1005, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 76, 2, 43, 9
  CONTROL "Ametikoha nimetus", 1012, "Static", WS_GROUP, 126, 2, 120, 9
  CONTROL "Tulumaksuarvestus", 2001, "Static", SS_RIGHT|WS_GROUP, 255, 4, 85, 9
  CONTROL "Ametirühm", -1, "Static", WS_GROUP, 5, 12, 60, 9
  CONTROL "", 1006, "Static", WS_GROUP, 75, 12, 45, 9
  CONTROL "Ametikoha nimetus", 1007, "Static", WS_GROUP, 126, 14, 75, 9
  CONTROL "", 1001, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 205, 15, 135, 220
  CONTROL "Kuupalk       ", -1, "Static", WS_GROUP, 5, 22, 57, 9
  CONTROL "", 1013, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 22, 43, 9
  CONTROL "Puhkusetasu arvestuse meetod", 2002, "Static", SS_RIGHT|WS_GROUP, 225, 27, 101, 9
  CONTROL "Tunnitariif", -1, "Static", WS_GROUP, 5, 32, 57, 9
  CONTROL "", 1011, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 32, 43, 9
  CONTROL "Avansiprotsent ", -1, "Static", WS_GROUP, 5, 42, 55, 9
  CONTROL "", 1014, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 42, 43, 9
  CONTROL "Preemiareservi%", 2029, "Static", WS_GROUP, 122, 42, 50, 9
  CONTROL "", 1029, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 175, 42, 30, 9
  CONTROL "", 1002, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 225, 35, 115, 70
  CONTROL "Baastööpäev", -1, "Static", WS_GROUP, 5, 52, 60, 9
  CONTROL "", 1018, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 52, 43, 9
  CONTROL "Koormuskoefitsient", -1, "Static", SS_RIGHT|WS_GROUP, 215, 50, 80, 9
  CONTROL "", 1003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 299, 50, 40, 9
  CONTROL "Filiaal /asutus", -1, "Static", WS_GROUP, 5, 62, 65, 9
  CONTROL "", 1024, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 62, 42, 9
  CONTROL "Filiaali nimetus", 2024, "Static", WS_GROUP, 121, 62, 85, 9
  CONTROL "Vanaduspensionile", -1, "Static", SS_RIGHT|WS_GROUP, 215, 62, 80, 9
  CONTROL "", 1026, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 298, 60, 40, 9
  CONTROL "Allüksus              ", -1, "Static", WS_GROUP, 5, 72, 30, 9
  CONTROL "", 10091, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 72, 20, 9
  CONTROL "", 1009, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 72, 42, 9
  CONTROL "", 10092, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 100, 72, 20, 9
  CONTROL "Allüksuse nimetus", 1010, "Static", WS_GROUP, 121, 72, 95, 9
  CONTROL "Ei tee aastaTM korrektsioone", 1023, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 231, 71, 110, 9
  CONTROL "Palgaleht             ", -1, "Static", WS_GROUP, 5, 82, 30, 9
  CONTROL "", 1021, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 82, 42, 9
  CONTROL "Palgalehe nimetus", 1022, "Static", WS_GROUP, 121, 82, 95, 9
  CONTROL "Sotsiaalmaks alati alammääralt", 1020, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 226, 82, 115, 9
  CONTROL "Palgakulu konto", -1, "Static", WS_GROUP, 5, 92, 60, 9
  CONTROL "", 1015, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 92, 42, 9
  CONTROL "Sotsiaalmaks alati alammäärata", 1004, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 226, 90, 115, 9
  CONTROL "Tuli tööle", -1, "Static", WS_GROUP, 5, 102, 36, 9
  CONTROL "", 1016, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 102, 42, 9
  CONTROL "Sotsiaalmaks alammäärata alates", -1, "Static", SS_RIGHT|WS_GROUP, 130, 100, 110, 9
  CONTROL "", 1051, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 242, 101, 40, 9
  CONTROL "Kuni", -1, "Static", WS_GROUP, 284, 101, 15, 9
  CONTROL "", 1052, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 301, 100, 40, 9
  CONTROL "Lahkus töölt", -1, "Static", WS_GROUP, 5, 112, 45, 9
  CONTROL "", 1017, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 112, 42, 9
  CONTROL "Kuulub ametiühingusse", 1008, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 142, 112, 100, 9
  CONTROL "", 1025, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 247, 111, 95, 60
  CONTROL "Maksuvaba arvestame alates väljamaksukuust", -1, "Static", WS_GROUP, 5, 122, 160, 9
  CONTROL "", 1027, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 170, 122, 40, 9
  CONTROL "Palgaanalüütika", -1, "Static", WS_GROUP, 5, 132, 60, 9
  CONTROL "", 1019, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 132, 142, 9
  CONTROL "Projekt", 2028, "Static", WS_GROUP, 5, 142, 60, 9
  CONTROL "", 1028, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 75, 142, 45, 9
  CONTROL "Saab boonustasu", 4001, "Button", BS_CHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 240, 132, 90, 9
}

KLIENDISAAJAD DIALOG DISCARDABLE 20, 30, 370, 176
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "", 1001, "LOC_browse", WS_TABSTOP|0x00b00000, 2, 2, 365, 168
}

TOIMIK01_UUS DIALOG DISCARDABLE 50, -48, 496, 253
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "Toimiku number", -1, "Static", SS_RIGHT|WS_GROUP, 8, 0, 60, 9
  CONTROL "", 1000, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 74, 0, 65, 9
  CONTROL "Avatud", -1, "Static", SS_RIGHT|WS_GROUP, 142, 2, 31, 9
  CONTROL "", 799, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 176, 2, 45, 9
  CONTROL "Viitenumber", -1, "Static", SS_RIGHT|WS_GROUP, 224, 4, 40, 9
  CONTROL "", 999, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 266, 4, 45, 9
  CONTROL "Tegeleb", -1, "Static", SS_RIGHT|WS_GROUP, 312, 4, 25, 9
  CONTROL "", 2793, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 396, 4, 35, 9
  CONTROL "", 818, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 338, 4, 35, 9
  CONTROL "Ei ekspordi", 4001, "Button", BS_AUTOCHECKBOX|BS_RIGHT|BS_LEFTTEXT|WS_TABSTOP, 432, 4, 42, 9
  CONTROL "Nõude summa", -1, "Static", SS_RIGHT|WS_GROUP, 8, 8, 60, 9
  CONTROL "", 1001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 74, 10, 65, 9
  CONTROL "Täituritasu", 2002, "Static", SS_RIGHT|WS_GROUP, 140, 12, 33, 9
  CONTROL "", 1002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 176, 12, 45, 9
  CONTROL "Alustamise tasu", -1, "Static", SS_RIGHT|WS_GROUP, 222, 14, 43, 9
  CONTROL "", 820, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 266, 14, 45, 9
  CONTROL "", 789, "Static", SS_RIGHT|WS_GROUP, 328, 12, 75, 10
  CONTROL "Ettemaks", -1, "Static", SS_RIGHT|WS_GROUP, 8, 20, 60, 9
  CONTROL "", 796, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 74, 20, 65, 9
  CONTROL "Täitekulu", 2805, "Static", SS_RIGHT|WS_GROUP, 142, 24, 31, 9
  CONTROL "", 805, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 176, 22, 45, 9
  CONTROL "Täitmise päevi", -1, "Static", SS_RIGHT|WS_GROUP, 222, 24, 44, 9
  CONTROL "", 822, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 266, 24, 20, 9
  CONTROL "Kutse üle antud", -1, "Static", SS_RIGHT|WS_GROUP, 306, 22, 60, 9
  CONTROL "", 821, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 370, 22, 45, 9
  CONTROL "Isiklikult", 812, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 418, 24, 40, 9
  CONTROL "Makstud summa", -1, "Static", SS_RIGHT|WS_GROUP, 8, 30, 60, 9
  CONTROL "", 794, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 30, 65, 9
  CONTROL "Jooksev võlg", 795, "Static", SS_RIGHT|WS_GROUP, 142, 32, 31, 9
  CONTROL "", 2801, "Static", SS_RIGHT|WS_GROUP, 176, 32, 45, 10
  CONTROL "Tähtaeg", -1, "Static", SS_RIGHT|WS_GROUP, 230, 34, 36, 9
  CONTROL "", 797, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 266, 34, 45, 9
  CONTROL "", 786, "Static", SS_RIGHT|WS_GROUP, 332, 32, 120, 9
  CONTROL "Teha enne laekumisi arve kuupäeval", -1, "Static", SS_RIGHT|WS_GROUP, 5, 43, 173, 9
  CONTROL "", 798, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 190, 43, 45, 9
  CONTROL "Võlg makstud otse nõudjale", 1009, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 245, 43, 105, 9
  CONTROL "Tasu piirmäär makselt", -1, "Static", SS_RIGHT|WS_GROUP, 5, 53, 80, 9
  CONTROL "", 803, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 90, 53, 45, 9
  CONTROL "kuupäevani", -1, "Static", SS_RIGHT|WS_GROUP, 152, 53, 36, 9
  CONTROL "", 804, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 190, 53, 45, 9
  CONTROL "Ei pea automaatselt kinni täituritasu", 802, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 245, 53, 105, 9
  CONTROL "Täitmine peatatud", 808, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 355, 53, 55, 9
  CONTROL "Graafik", 815, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 315, 61, 35, 9
  CONTROL "Makse suurus", -1, "Static", WS_GROUP, 355, 61, 50, 9
  CONTROL "Asukoht", -1, "Static", WS_GROUP, 380, 72, 30, 10
  CONTROL "", 791, "Static", WS_GROUP, 419, 72, 50, 10
  CONTROL "Nõudja", -1, "Static", SS_RIGHT|WS_GROUP, 5, 70, 60, 9
  CONTROL "", 1003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 70, 65, 9
  CONTROL "", 779, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 141, 70, 185, 9
  CONTROL "Aadress", -1, "Static", SS_RIGHT|WS_GROUP, 5, 80, 60, 9
  CONTROL "", 780, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 80, 205, 9
  CONTROL "Arveldusarve", -1, "Static", SS_RIGHT|WS_GROUP, 5, 90, 60, 9
  CONTROL "", 781, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 90, 65, 9
  CONTROL "Viitenumber", -1, "Static", SS_RIGHT|WS_GROUP, 140, 90, 45, 9
  CONTROL "", 817, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 190, 90, 70, 9
  CONTROL "Pank", -1, "Static", SS_RIGHT|WS_GROUP, 260, 90, 20, 9
  CONTROL "", 782, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 282, 90, 20, 9
  CONTROL "Indeks", -1, "Static", SS_RIGHT|WS_GROUP, 300, 90, 25, 9
  CONTROL "", 783, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 327, 90, 25, 9
  CONTROL "Avalduse kuupäev", -1, "Static", SS_RIGHT|WS_GROUP, 355, 91, 60, 9
  CONTROL "", 807, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 420, 92, 50, 9
  CONTROL "Inkassofirma", -1, "Static", SS_RIGHT|WS_GROUP, 5, 100, 60, 9
  CONTROL "", 809, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 100, 65, 9
  CONTROL "", 810, "Static", WS_GROUP, 140, 100, 120, 9
  CONTROL "Leping", -1, "Static", SS_RIGHT|WS_GROUP, 263, 101, 25, 9
  CONTROL "", 811, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 294, 101, 65, 9
  CONTROL "Lahendi tegija", -1, "Static", SS_RIGHT|WS_GROUP, 5, 120, 60, 9
  CONTROL "", 806, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 120, 25, 9
  CONTROL "", 785, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 105, 120, 275, 9
  CONTROL "Otsuse nr.", -1, "Static", SS_RIGHT|WS_GROUP, 5, 130, 60, 9
  CONTROL "", 793, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 130, 65, 9
  CONTROL "Otsuse kp.", -1, "Static", SS_RIGHT|WS_GROUP, 150, 130, 40, 9
  CONTROL "", 800, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 190, 130, 45, 9
  CONTROL "Jõustumise kuupäev", -1, "Static", SS_RIGHT|WS_GROUP, 244, 130, 60, 9
  CONTROL "", 838, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 310, 130, 45, 9
  CONTROL "Aegub", -1, "Static", SS_RIGHT|WS_GROUP, 365, 130, 25, 9
  CONTROL "", 839, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 395, 130, 13, 9
  CONTROL "a", -1, "Static", SS_RIGHT|WS_GROUP, 415, 130, 5, 9
  CONTROL "", 840, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 425, 130, 15, 9
  CONTROL "k möödumisel", -1, "Static", WS_GROUP, 445, 130, 43, 9
  CONTROL "Lahendi liik", -1, "Static", SS_RIGHT|WS_GROUP, 5, 140, 60, 9
  CONTROL "", 1015, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 140, 20, 9
  CONTROL "", 2015, "Static", WS_GROUP, 95, 140, 285, 10
  CONTROL "Lahendi sisu", -1, "Static", SS_RIGHT|WS_GROUP, 5, 150, 60, 9
  CONTROL "", 778, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 150, 310, 9
  CONTROL "Nõude liik", -1, "Static", SS_RIGHT|WS_GROUP, 5, 160, 60, 9
  CONTROL "", 1014, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 160, 20, 9
  CONTROL "", 2014, "Static", WS_GROUP, 95, 160, 190, 10
  CONTROL "Nõude sisu", -1, "Static", SS_RIGHT|WS_GROUP, 5, 170, 60, 9
  CONTROL "", 784, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 170, 215, 9
  CONTROL "Võlgniku reg.kood", -1, "Static", SS_RIGHT|WS_GROUP, 0, 190, 65, 9
  CONTROL "", 1017, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 190, 65, 9
  CONTROL "Nimi", -1, "Static", SS_RIGHT|WS_GROUP, 140, 190, 25, 9
  CONTROL "", 1019, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 170, 190, 220, 9
  CONTROL "", 787, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 201, 240, 9
  CONTROL "Aadress", -1, "Static", SS_RIGHT|WS_GROUP, 24, 201, 40, 9
  CONTROL "Märkus kutsele", -1, "Static", SS_RIGHT|WS_GROUP, 10, 210, 55, 9
  CONTROL "", 788, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 210, 320, 9
  CONTROL "Omab kinnisvara", 823, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 160, 70, 9
  CONTROL "Omab vallasvara", 825, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 170, 70, 9
  CONTROL "Omab sõidukit", 826, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 180, 70, 9
  CONTROL "", 813, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 385, 43, 40, 9
  CONTROL "Summa", -1, "Static", SS_RIGHT|WS_GROUP, 355, 43, 25, 9
  CONTROL "Swed", 827, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 40, 230, 25, 9
  CONTROL "Arestid", -1, "Static", SS_RIGHT|WS_GROUP, 10, 230, 25, 9
  CONTROL "SEB", 828, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 70, 230, 25, 9
  CONTROL "Danske", 829, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 100, 230, 30, 9
  CONTROL "Krediidip.", 831, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 135, 230, 40, 9
  CONTROL "Nordea", 832, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 185, 230, 30, 9
  CONTROL "Tallinn", 833, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 225, 230, 30, 9
  CONTROL "DnB", 834, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 270, 230, 20, 9
  CONTROL "Parex", 835, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 295, 230, 25, 9
  CONTROL "Marfin", 836, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 330, 230, 30, 9
  CONTROL "Omab töökohta", 837, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 190, 70, 9
  CONTROL "Kinnipidamisi teostatakse", 3834, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 210, 70, 9
  CONTROL "", 2792, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 420, 82, 50, 9
  CONTROL "Ajalehte", 3792, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 374, 82, 40, 9
  CONTROL "Sissetulek töötukassast", 3835, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 315, 201, 75, 9
  CONTROL "", 3836, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 431, 201, 41, 9
  CONTROL "Kontrollitud", -1, "Static", WS_GROUP, 393, 202, 35, 9
  CONTROL "Kp.", -1, "Static", SS_RIGHT|WS_GROUP, 429, 43, 10, 9
  CONTROL "", 3837, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 440, 43, 40, 9
  CONTROL "E-mail", -1, "Static", SS_RIGHT|WS_GROUP, 277, 81, 25, 9
  CONTROL "", 841, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 307, 81, 65, 9
  CONTROL "Kuller", -1, "Static", SS_RIGHT|WS_GROUP, 374, 4, 21, 9
  CONTROL "Tagastas", -1, "Static", SS_RIGHT|WS_GROUP, 406, 12, 25, 9
  CONTROL "", 2794, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 434, 12, 35, 9
  CONTROL "LHV", 842, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 370, 230, 20, 9
  CONTROL "Handelsp", 843, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 230, 35, 9
  CONTROL "EVK", 844, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 440, 230, 20, 9
  CONTROL "", 777, "Static", WS_GROUP, 12, 241, 455, 9
  CONTROL "Seotud elatisega", 845, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 420, 53, 50, 9
  CONTROL "On pensionär", 4002, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 150, 70, 9
  CONTROL "Ei oma midagi", 4003, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 140, 70, 9
  CONTROL "Teade avamisel", -1, "Static", SS_RIGHT|WS_GROUP, 10, 220, 55, 9
  CONTROL "", 4004, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 220, 320, 9
  CONTROL "Mittearestitav summa", -1, "Static", WS_GROUP, 400, 220, 50, 9
  CONTROL "", 4005, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 450, 220, 20, 9
  CONTROL "", 4006, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 405, 61, 45, 9
  CONTROL "", 1013, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 420, 110, 50, 30
  CONTROL "MTA failist väljajäämise põhjus (surnud/likvideerimisel)", -1, "Static", SS_RIGHT|WS_GROUP, 265, 110, 150, 9
}

LISATASU DIALOG DISCARDABLE 22, 21, 343, 148
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "Arvestusse", -1, "Static", WS_GROUP, 1, 2, 40, 9
  CONTROL "", 1001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 2, 40, 9
  CONTROL "palgaleht", -1, "Static", WS_GROUP, 93, 2, 35, 9
  CONTROL "", 1003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 130, 2, 45, 9
  CONTROL "Väljamaks", 2105, "Static", SS_RIGHT|WS_GROUP, 186, 3, 40, 9
  CONTROL "&Töötaja    ", -1, "Static", WS_GROUP, 5, 12, 35, 9
  CONTROL "", 1002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 12, 60, 9
  CONTROL "T&abeli nr. ", -1, "Static", WS_GROUP, 4, 22, 32, 9
  CONTROL "", 1004, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 22, 60, 9
  CONTROL "", 1005, "Static", WS_GROUP, 110, 22, 165, 9
  CONTROL "Ta&suliik   ", -1, "Static", WS_GROUP, 5, 42, 30, 9
  CONTROL "", 1006, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 42, 45, 9
  CONTROL "", 1007, "Static", WS_GROUP, 95, 42, 180, 9
  CONTROL "Summa      ", -1, "Static", WS_GROUP, 5, 52, 30, 9
  CONTROL "", 1008, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 52, 45, 9
  CONTROL "Protsent ", -1, "Static", WS_GROUP, 95, 52, 30, 9
  CONTROL "", 1009, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 130, 52, 40, 9
  CONTROL "Aeg või hulk ", -1, "Static", WS_GROUP, 180, 52, 42, 9
  CONTROL "", 1010, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 230, 52, 40, 9
  CONTROL "Konto      ", -1, "Static", WS_GROUP, 5, 62, 25, 9
  CONTROL "", 1011, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 62, 45, 9
  CONTROL "Allikas", 10001, "Static", WS_GROUP, 95, 62, 25, 9
  CONTROL "", 1017, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 130, 62, 40, 9
  CONTROL "Ametikoht", 1019, "Static", WS_GROUP, 180, 62, 40, 9
  CONTROL "", 1020, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 230, 62, 40, 9
  CONTROL "Algus      ", -1, "Static", WS_GROUP, 5, 72, 25, 9
  CONTROL "", 1012, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 72, 45, 9
  CONTROL "lõpp    ", -1, "Static", WS_GROUP, 95, 72, 20, 9
  CONTROL "", 1013, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 130, 72, 40, 9
  CONTROL "", 1022, "Static", WS_GROUP, 176, 72, 160, 9
  CONTROL "Esmase haiguslehe algus", 2029, "Static", SS_RIGHT|WS_GROUP, 5, 82, 120, 9
  CONTROL "", 1029, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 130, 82, 40, 9
  CONTROL "", 4002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 292, 82, 32, 9
  CONTROL "Allüksus   ", -1, "Static", WS_GROUP, 5, 102, 30, 9
  CONTROL "", 1014, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 102, 45, 9
  CONTROL "", 1015, "Static", WS_GROUP, 95, 102, 225, 9
  CONTROL "Analüütika ", -1, "Static", WS_GROUP, 5, 112, 35, 9
  CONTROL "", 1016, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 112, 280, 9
  CONTROL "Projekt", -1, "Static", WS_GROUP, 5, 122, 35, 9
  CONTROL "", 1021, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 122, 50, 9
  CONTROL "Märkused", -1, "Static", WS_GROUP, 5, 132, 35, 9
  CONTROL "", 1018, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 45, 132, 280, 9
  CONTROL "", 105, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 228, 1, 105, 50
  CONTROL "Omavastutuspäevade vähendus", 4001, "Static", SS_RIGHT|WS_GROUP, 176, 82, 108, 9
}


TOIMPARING DIALOG DISCARDABLE 20, 30, 446, 150
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "", 1001, "Loc_browse", WS_TABSTOP|0x00b00000, 4, 5, 350, 140
  CONTROL "Lisa päring", 779, "Button", WS_TABSTOP, 366, 26, 65, 20
}

KAUBAD1 DIALOG DISCARDABLE 5, -26, 437, 200
STYLE WS_CHILD|DS_3DLOOK
FONT 10, "Arial"
{
  CONTROL "Kaubakood", -1, "Static", SS_SIMPLE|WS_GROUP, 5, 13, 40, 9
  CONTROL "", 1002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 13, 15, 9
  CONTROL "", 1003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 70, 13, 25, 9
  CONTROL "", 1004, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 100, 13, 125, 9
  CONTROL "Triipkood", -1, "Static", WS_GROUP, 5, 23, 40, 9
  CONTROL "", 1005, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 23, 115, 9
  CONTROL "INTRASTAT-i kood", -1, "Static", WS_GROUP, 169, 23, 65, 9
  CONTROL "", 792, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 235, 23, 40, 9
  CONTROL "PLU kood", -1, "Static", WS_GROUP, 305, 23, 40, 9
  CONTROL "", 1006, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 355, 23, 70, 9
  CONTROL "Tellimispäevad", -1, "Static", WS_GROUP, 305, 13, 50, 9
  CONTROL "", 1031, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 355, 12, 70, 9
  CONTROL "Nimetus", -1, "Static", WS_GROUP, 5, 33, 40, 9
  CONTROL "", 1007, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 33, 220, 9
  CONTROL "Mõõtühik", -1, "Static", WS_GROUP, 280, 33, 35, 9
  CONTROL "", 1009, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 315, 33, 25, 9
  CONTROL "", 1008, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 43, 220, 9
  CONTROL "=", -1, "Static", WS_GROUP, 343, 33, 5, 9
  CONTROL "", 1010, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 350, 33, 35, 10
  CONTROL "", 1011, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 390, 33, 35, 9
  CONTROL "Hulgihind", -1, "Static", WS_GROUP, 5, 63, 40, 9
  CONTROL "", 1019, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 63, 45, 9
  CONTROL "Hulgimüük KM-ta", 1016, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 280, 42, 70, 9
  CONTROL "Juurdehindlus", -1, "Static", WS_GROUP, 95, 53, 50, 9
  CONTROL "", 1021, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 100, 63, 40, 9
  CONTROL "Käibemaksuga", -1, "Static", WS_GROUP, 200, 53, 55, 9
  CONTROL "", 1020, "Static", SS_RIGHT|WS_GROUP, 260, 53, 40, 9
  CONTROL "Jaehind", -1, "Static", WS_GROUP, 5, 73, 40, 9
  CONTROL "", 1023, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 73, 45, 9
  CONTROL "Jaemüük KM-ta", 1017, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 360, 42, 65, 9
  CONTROL "", 1024, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 100, 73, 40, 9
  CONTROL "Jaemüügikate", -1, "Static", WS_GROUP, 265, 63, 50, 9
  CONTROL "", 1025, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 315, 62, 25, 9
  CONTROL "Kaardihind", -1, "Static", WS_GROUP, 5, 83, 40, 9
  CONTROL "", 1026, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 83, 45, 9
  CONTROL "", 1027, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 100, 83, 40, 9
  CONTROL "Kehtib kliendisoodustus", 1032, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 200, 73, 90, 9
  CONTROL "KM tüüp", -1, "Static", WS_GROUP, 350, 52, 30, 9
  CONTROL "", 781, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 390, 50, 37, 110
  CONTROL "Sisse  (CTRL)(F5)", 1029, "Button", WS_TABSTOP, 75, 182, 60, 12
  CONTROL "Välja (CTRL) (F6)", 1030, "Button", WS_TABSTOP, 140, 182, 60, 12
  CONTROL "Laoarvestusest väljas", 1000, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 5, 3, 85, 9
  CONTROL "Hinnakirjas ja tellimises", 1052, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 90, 3, 90, 9
  CONTROL "", 1022, "Static", WS_GROUP, 190, 3, 160, 9
  CONTROL "Hooajasoodustus", -1, "Static", WS_GROUP, 337, 74, 60, 9
  CONTROL "", 1033, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 399, 74, 21, 9
  CONTROL "%", -1, "Static", WS_GROUP, 421, 73, 10, 9
  CONTROL "Soodustus koguselt alates", -1, "Static", WS_GROUP, 5, 142, 90, 9
  CONTROL "", 1001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 95, 142, 25, 9
  CONTROL "", 1014, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 125, 142, 25, 9
  CONTROL "%", -1, "Static", WS_GROUP, 155, 142, 10, 9
  CONTROL "Alates", -1, "Static", WS_GROUP, 65, 152, 25, 9
  CONTROL "", 1012, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 95, 153, 25, 9
  CONTROL "", 1015, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 125, 153, 25, 9
  CONTROL "%", -1, "Static", WS_GROUP, 155, 152, 10, 9
  CONTROL "Alates", -1, "Static", WS_GROUP, 65, 163, 25, 9
  CONTROL "", 1013, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 95, 163, 25, 9
  CONTROL "", 1028, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 125, 163, 25, 9
  CONTROL "%", -1, "Static", WS_GROUP, 155, 163, 10, 9
  CONTROL "Laos nr.", -1, "Static", WS_GROUP, 5, 113, 30, 9
  CONTROL "", 1041, "Static", WS_GROUP, 40, 113, 15, 9
  CONTROL "Kuu algseis", -1, "Static", WS_GROUP, 60, 113, 40, 9
  CONTROL "", 1042, "Static", WS_GROUP, 100, 113, 35, 9
  CONTROL "Sisse ", -1, "Static", WS_GROUP, 140, 113, 25, 9
  CONTROL "", 1044, "Static", WS_GROUP, 165, 113, 40, 9
  CONTROL "Välja", -1, "Static", WS_GROUP, 140, 122, 20, 9
  CONTROL "", 1045, "Static", WS_GROUP, 165, 122, 40, 9
  CONTROL "Kuu lõppseis", -1, "Static", WS_GROUP, 55, 122, 45, 9
  CONTROL "", 1046, "Static", WS_GROUP, 100, 122, 35, 9
  CONTROL "Pildifail", -1, "Static", WS_GROUP, 245, 172, 45, 9
  CONTROL "", 1018, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 297, 172, 130, 9
  CONTROL "", 10007, "TBitmap", 0x00000000, 300, 86, 130, 80
  CONTROL "Väljastamata (F7)", 778, "Button", WS_TABSTOP, 205, 182, 60, 12
  CONTROL "Laoseis (F4)", 779, "Button", WS_TABSTOP, 9, 182, 60, 12
  CONTROL "Partiide laoseis", 780, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 365, 3, 60, 9
  CONTROL "Müügitellimus (F8)", 782, "Button", WS_TABSTOP, 270, 182, 60, 12
  CONTROL "Vaba jääk", -1, "Static", WS_GROUP, 210, 92, 40, 9
  CONTROL "", 783, "Static", WS_GROUP, 255, 92, 40, 9
  CONTROL "Hind \"A\"", -1, "Static", WS_GROUP, 215, 102, 30, 9
  CONTROL "", 784, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 102, 45, 9
  CONTROL "Hind \"B\"", -1, "Static", WS_GROUP, 215, 112, 30, 9
  CONTROL "", 785, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 112, 45, 9
  CONTROL "Hind \"C\"", -1, "Static", WS_GROUP, 215, 122, 30, 9
  CONTROL "", 786, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 122, 45, 9
  CONTROL "Hind \"D\"", -1, "Static", WS_GROUP, 215, 132, 30, 9
  CONTROL "", 787, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 132, 45, 9
  CONTROL "", 788, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 250, 142, 45, 9
  CONTROL "Hind \"E\"", -1, "Static", WS_GROUP, 215, 142, 30, 9
  CONTROL "Jaehinnakirjas", 789, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 200, 63, 60, 9
  CONTROL "Asukoht", -1, "Static", WS_GROUP, 5, 132, 30, 9
  CONTROL "", 790, "Static", WS_GROUP, 45, 132, 95, 9
  CONTROL "JaeErihind", -1, "Static", WS_GROUP, 343, 62, 35, 9
  CONTROL "", 791, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 380, 62, 45, 9
  CONTROL "Allüksus", 2792, "Static", WS_GROUP, 150, 132, 30, 9
  CONTROL "", 1792, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 185, 132, 25, 9
  CONTROL "kehtib ka jaemüügil", 793, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 215, 82, 75, 9
  CONTROL "Ostutellimus", 794, "Button", WS_TABSTOP, 336, 182, 60, 12
  CONTROL "Tellitud", 1056, "Static", WS_GROUP, 5, 93, 200, 20
  CONTROL "Müügikate", -1, "Static", WS_GROUP, 145, 53, 50, 9
  CONTROL "", 2021, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 145, 63, 40, 9
  CONTROL "", 2024, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 145, 73, 40, 9
  CONTROL "", 2027, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 145, 83, 40, 9
  CONTROL "Miinimumhind", -1, "Static", WS_GROUP, 5, 54, 40, 9
  CONTROL "", 796, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 50, 53, 45, 9
  CONTROL "Ei rakenda müügimaksu", 797, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 230, 14, 70, 9
  CONTROL "Värv", 4002, "Static", WS_GROUP, 170, 170, 30, 9
  CONTROL "", 4001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 205, 170, 25, 9
}

 
Resources (and errors) are from different executables (compiled from shared FW/Xhb builder environment) used in hundreds of installations. 7 error reports since january, last from our test environment.

Taavi.
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by ukoenig »

A error reported in Line 151
Incomplete Expresson !!!

CONTROL "Ei ekspordi", 4001, "Button", BS_AUTOCHECKBOX|BS_RIGHT|BS_LEFTTEXT|WS_TABSTOP, 432, 4, 42, 9

Line OK !!!
-------------
CONTROL "Kinnipidamisi teostatakse", 3834, "Button", BS_AUTOCHECKBOX|BS_LEFTTEXT|WS_TABSTOP, 400, 210, 70, 9

Deleted BS_RIGHT, compiled with NO Error !

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by Antonio Linares »

Taavi,
We do use symbolic names (i.e. not numbers) for dialog ID. Can this be a problem?
Yes, sometimes thats a problem. Try to replace the ones that fail with numbers. It may make a difference.
regards, saludos

Antonio Linares
www.fivetechsoft.com
peterk
Posts: 47
Joined: Thu Jul 13, 2006 2:39 pm

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by peterk »

The only time we have ever had Create Dlg errors under 32 bit is when the Dlg title is too long
This is quite easy to re-produce
Peter
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: "FiveWin/3 Cannot create Dialog Box" errors?

Post by James Bott »

I see you are using the DS_3DLOOK for your dialogs. This requires the Ctl3d.dll which should be in the [windows]/system32 folder. Sometimes certain versions of CTL3D.DLL will cause the problem and this would explain why only certain PC's have an issue.

It can also be a rights issue; if users don't have rights to the system32 directory. However, if this were the case I would expect them to always get the error.

You could try removing the DS_3DLOOK clause to see if that solves the problem.

Regards,
James
Post Reply