Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Following on the line of recent Class TWindow Method GoNextCtrl() changes, we have implemented a new Method GoPrevCtrl() and also an optimization for GoNextCtrl().

We appreciate your tests and comments :-)

Thanks

Code: Select all

METHOD GoNextCtrl( hCtrl ) CLASS TWindow

   local hCtlNext := NextDlgTab( ::hWnd, hCtrl )
   
   if ::oWnd:ClassName() $ "TFOLDER,TFOLDEREX,TPAGES"
      if hCtrl == NextDlgTab( ::hWnd, GetWindow( ::hWnd, GW_CHILD ), .T. ) // last ctrl ?
         hCtlNext = NextDlgTab( ::oWnd:oWnd:hWnd, ::oWnd:hWnd )
      endif   
   endif

   ::hCtlFocus = hCtrl
   SetFocus( hCtlNext )

return nil

//----------------------------------------------------------------------------//

METHOD GoPrevCtrl( hCtrl ) CLASS TWindow

   local hCtlPrev := NextDlgTab( ::hWnd, hCtrl, .T. )
   local oCtl, oDlg

   if ::oWnd:ClassName() $ "TFOLDER,TFOLDEREX,TPAGES"
      if hCtrl == NextDlgTab( ::hWnd, NextDlgTab( ::hWnd,;
         GetWindow( ::hWnd, GW_CHILD ), .T. ) ) // first ctrl ?
         hCtlPrev = NextDlgTab( ::oWnd:oWnd:hWnd, ::oWnd:hWnd, .T. )
      endif
   endif      

   ::hCtlFocus = hCtrl
   
   if GetClassName( hCtlPrev ) $ "SysTabControl32,TFOLDEREX,TPAGES"
      oCtl = oWndFromHwnd( hCtlPrev )
      oDlg = oCtl:aDialogs[ oCtl:nOption ]
      hCtlPrev = NextDlgTab( oDlg:hWnd, GetWindow( oDlg:hWnd, GW_CHILD ), .T. )
   endif
      
   SetFocus( hCtlPrev )

return nil
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by byte-one »

Antonio, much better! Only the problem with COMBOBOX in Tgetfolder(ex) are not gone! After TAB on COMBOBOX the focus jump outside the actual folderpage!
Another problem: If the FIRST get in a dialog is with clausula COLOR nColor,nColor the colors are resetted after leaving this get!
And the over-over-over... painting from static says (only in vista??) if stepping throw the controls are present!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Günther,

Could you please modify the example that I posted (gunther.prg) to test what you describe ? thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by byte-one »

Antonio, this is a test dialog showing the described effects!

1. In the first get the backgroundcolor is not to see!
2. If stepping throw the controls, after the Combobox the focus is going to "OK" not to the second get!
3. After the TAB reaches "OK" the steping with TAB stops (tfoldex error?). If using tfolder-class the focus jumps after "OK" to the first get.
4. The copy-effect on static says only visible on a dialog with RC. (function FixSays() ???)

Code: Select all

function test()
 local oDlg, oFld, oGet, cCombo, cTest := "Hello world", cAnother := "Another GET"
   DEFINE DIALOG oDlg TITLE "Antonio Test" SIZE 400, 300
   @ 3, 5 FOLDEREX oFld PIXEL PROMPT "&One", "&Two", "&Three" SIZE 190, 120
   @ 1, 1 GET oGet VAR cTest OF oFld:aDialogs[ 1 ] COLOR CLR_HRED,CLR_GRAY
   @ 2, 1 COMBOBOX cCombo PROMPTS {"A","B","C"} OF oFld:aDialogs[ 1 ]
   @ 4, 1 GET cAnother OF oFld:aDialogs[ 1 ] COLOR CLR_HRED,CLR_GRAY
   @ 5, 1 SAY cTest OF oFld:aDialogs[ 1 ]
   @ 7.2, 14 BUTTON "Ok"
   ACTIVATE DIALOG oDlg CENTERED ON INIT ( oGet:SetFocus(), .F. )
return nil
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Günther,

Fixed :-)

1. These changes are required in Class TFolderEx:

a) missing Method GotFocus()

Code: Select all

METHOD GotFocus( hWndLoseFocus ) CLASS TFolderEx

   Super:GotFocus( hWndLoseFocus )

   if ::nOption > 0 .and. ::nOption <= Len( ::aDialogs )
      ::aDialogs[ ::nOption ]:AEvalWhen()
      ::aDialogs[ ::nOption ]:SetFocus()
   endif

return 0
b) WS_TABSTOP style was missing:

::nStyle = nOR( WS_CHILD, WS_VISIBLE, WS_CLIPCHILDREN, WS_TABSTOP )

also in Method Initiate():

LOCAL nLastRow, nStyle := nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP, WS_CLIPCHILDREN )

2. Method GetDlgCode() is wrong in Class TComboBox and has to be removed
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rimantas
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Rimantas »

Antonio Linares wrote:Günther,
Fixed :-)
1. These changes are required in Class TFolderEx:
And we can download fixed version ? ... :)

With best regards !
Rimantas U.
User avatar
miragerr
Posts: 140
Joined: Tue Oct 11, 2005 2:36 am
Location: Brasil

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by miragerr »

100% Antonio... agora esta perfeito

Obrigado
Jackson Douglas C. Brito
Boa Vista - RR - Brasil
FWH 12.09 Last Build
xHarbour Free
UESTUDIO
SQLRDD
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by byte-one »

1. In the first get the backgroundcolor is not to see! -> This is only on nowait-dialogs, as using in folders!!!

2. The copy-effect on says only visible on a transparent dialog. -> Please try with TAB and you see, that the say becomes bold, if the focus leave the folder-controls!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Günther,

1. Fixed :-)

This change is required in Class TGet:
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by hua »

Antonio,
Seeing that after I compile with BCC+Harbour+FWH11.8, the jumping of focus from one control to another is not as what's expected I tried to update my window.prg with the changes you shown above. When I tried to run the exe it immediately crashed instead.

I suspect my window.prg could be different than yours. Would it be possible to have a copy of latest window.prg?

TIA
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Hua,

Did you get any log file ? error.log or hb_out.log ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by hua »

No error log at all. I immediately got the windows error box which asked whether I want to send any info to MS.

I applied the code you've shown into window.prg.

I suspect the libs that I have are actually out of sync with the sources.

I'm using Harbour r17126.

Code: Select all

Application Internal Error - F:\test\wincms\bin\wincms.exe
Terminated at: 2011.12.08 16:48:33
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:004566E6
    EAX:00000000  EBX:0012FB44  ECX:0063C9F5  EDX:0012F801
    ESI:00000046  EDI:00000000  EBP:0012F844
    CS:EIP:001B:004566E6  SS:ESP:0023:0012F844
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010246
    CS:EIP: 8B 00 5D C3 90 90 55 8B EC 8B 45 08 8B 10 8B 02
    SS:ESP: 0012F864 004142C3 00000000 01538B5C 0012F894 006373CC 0062F99C 0012F888 0012F888 00415060 006373CC 00000000 0062F99C 00048C38 0012F8A8 0044864E

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    004566E6 0012F844   0012F864 004142C3 00000000 01538B5C 0012F894 006373CC 0062F99C 0012F888
    004142C3 0012F864   0012F888 00415060 006373CC 00000000 0062F99C 00048C38 0012F8A8 0044864E 00BB0334
    00415060 0012F888   0012F8A8 0044868D 00658C38 00000029 00000000 00BC1D44 00FD000C 00000000
    0044868D 0012F8A8   0012F9B4 0044271C 00000003 00000000 0012FB44 0062F98C 0045D4A7 015321F4 00B9D46C 00BB0434
    0044271C 0012F9B4   0012F9E0 00410158 00637393 0062D75C 004485ED 00000046 00000025 00000000 00000000 00000000
    00410158 0012F9E0   0012F9F8 00417395 00000005 0012FB44 00417DD8 017D0474
    00417395 0012F9F8   0012FA18 00417DF8 017D0474 00000046 00000000 0012FB44 00000001 00000000
    00417DF8 0012FA18   0012FA44 7E418734 017D0474 00000046 00000000 0012FB44 00417DD8 DCBAABCD 00000000 0012FB44
    7E418734 0012FA44   0012FAAC 7E42BDF1 00417DD8 017D0474 00000046 00000000 0012FB44 00000000 017D0474 00658C38
    7E42BDF1 0012FAAC   0012FB00 7E428EA0 00000000 00417DD8 017D0474 00000046 00000000 0012FB44 0099FB1C 00000001
    7E428EA0 0012FB00   0012FB28 7E42BD34 0099FB08 00000046 00000000 0012FB44 00417DD8 00BB01D4 0000001C 0012FB44
    7E42BD34 0012FB28   0012FB7C 7C90E473 0012FB38 00000030 0099FB08 00000046 00000000 017D0474 00000000 00000000
    7C90E473 0012FB7C   0012FB8C 0042586B 017D0474 08D2056F
    0042586B 0012FB8C   0012FBA8 004484D0 0000000E 00000000 00000000 00000000 00000000
    004484D0 0012FBA8   0012FCB4 004425DF 00000002 005102D5 00000000 0050E0F4 00658C38 0012FC18 004B68D8 00BAFE74
    004425DF 0012FCB4   0012FCE0 0040FA64 0063281C 0062D75C 0044868D 00658C38 00000003 00000000 00000000 0003000C
    0040FA64 0012FCE0   0012FDEC 0044271C 00000015 0050F939 00000000 0050E124 00658C38 00000028 0012FD0C 0045D4A7
    0044271C 0012FDEC   0012FE18 00401708 005100A7 0050E0A4 0044868D 00658C38 00000001 00000000 00000000 0059000B
    00401708 0012FE18   0012FF24 0044271C 00000000 00000001 00000001 00659538 00BB9EA4 00BB9E94 0045C31F 00BB27B8
    0044271C 0012FF24   0012FF4C 004016CC 0050F8F8 0050E0A4 004484D0 00000000 00000000 00000000 00000000 00000022


Modules:
0x00400000 0x00282000 F:\test\wincms\bin\wincms.exe
0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x000F6000 C:\WINDOWS\system32\kernel32.dll
0x64D00000 0x00034000 C:\Program Files\Alwil Software\Avast5\snxhk.dll
0x77DD0000 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E70000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x773D0000 0x00103000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.DLL
0x77C10000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F10000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E410000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77F60000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x763B0000 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x7C9C0000 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x76380000 0x00005000 C:\WINDOWS\system32\MSIMG32.DLL
0x774E0000 0x0013E000 C:\WINDOWS\system32\OLE32.DLL
0x77120000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x7DF70000 0x00022000 C:\WINDOWS\system32\OLEDLG.DLL
0x76BF0000 0x0000B000 C:\WINDOWS\system32\PSAPI.DLL
0x77C00000 0x00008000 C:\WINDOWS\system32\VERSION.DLL
0x73000000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x629C0000 0x00009000 C:\WINDOWS\system32\LPK.DLL
0x74D90000 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x00BE0000 0x00090000 F:\test\wincms\bin\bwcc32.dll
0x010F0000 0x0003A000 F:\test\wincms\bin\wincms.dll
0x5AD70000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 0x0004C000 C:\WINDOWS\system32\MSCTF.dll

Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3387) in window.prg
Called from SETMENU(0)
Called from TWINDOW:NEW(839) in window.prg
Called from TWINCMS:ACTIVATE(142) in wincms.prg
Called from WINCMS(34) in wincms.prg
------------------------------------------------------------------------
Application Internal Error - F:\test\wincms\bin\wincms.exe
Terminated at: 2011.12.08 16:48:43
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:004566E6
    EAX:00000000  EBX:0012FB44  ECX:0063C9F5  EDX:0012F801
    ESI:00000046  EDI:00000000  EBP:0012F844
    CS:EIP:001B:004566E6  SS:ESP:0023:0012F844
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010246
    CS:EIP: 8B 00 5D C3 90 90 55 8B EC 8B 45 08 8B 10 8B 02
    SS:ESP: 0012F864 004142C3 00000000 01538B5C 0012F894 006373CC 0062F99C 0012F888 0012F888 00415060 006373CC 00000000 0062F99C 00048C38 0012F8A8 0044864E

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    004566E6 0012F844   0012F864 004142C3 00000000 01538B5C 0012F894 006373CC 0062F99C 0012F888
    004142C3 0012F864   0012F888 00415060 006373CC 00000000 0062F99C 00048C38 0012F8A8 0044864E 00BB0334
    00415060 0012F888   0012F8A8 0044868D 00658C38 00000029 00000000 00BC1D44 00FD000C 00000000
    0044868D 0012F8A8   0012F9B4 0044271C 00000003 00000000 0012FB44 0062F98C 0045D4A7 015321F4 00B9D46C 00BB0434
    0044271C 0012F9B4   0012F9E0 00410158 00637393 0062D75C 004485ED 00000046 00000025 00000000 00000000 00000000
    00410158 0012F9E0   0012F9F8 00417395 00000005 0012FB44 00417DD8 017E0474
    00417395 0012F9F8   0012FA18 00417DF8 017E0474 00000046 00000000 0012FB44 00000001 00000000
    00417DF8 0012FA18   0012FA44 7E418734 017E0474 00000046 00000000 0012FB44 00417DD8 DCBAABCD 00000000 0012FB44
    7E418734 0012FA44   0012FAAC 7E42BDF1 00417DD8 017E0474 00000046 00000000 0012FB44 00000000 017E0474 00658C38
    7E42BDF1 0012FAAC   0012FB00 7E428EA0 00000000 00417DD8 017E0474 00000046 00000000 0012FB44 0099FB1C 00000001
    7E428EA0 0012FB00   0012FB28 7E42BD34 0099FB08 00000046 00000000 0012FB44 00417DD8 00BB01D4 0000001C 0012FB44
    7E42BD34 0012FB28   0012FB7C 7C90E473 0012FB38 00000030 0099FB08 00000046 00000000 017E0474 00000000 00000000
    7C90E473 0012FB7C   0012FB8C 0042586B 017E0474 00030A09
    0042586B 0012FB8C   0012FBA8 004484D0 0000000E 00000000 00000000 00000000 00000000
    004484D0 0012FBA8   0012FCB4 004425DF 00000002 005102D5 00000000 0050E0F4 00658C38 0012FC18 004B68D8 00BAFE74
    004425DF 0012FCB4   0012FCE0 0040FA64 0063281C 0062D75C 0044868D 00658C38 00000003 00000000 00000000 0003000C
    0040FA64 0012FCE0   0012FDEC 0044271C 00000015 0050F939 00000000 0050E124 00658C38 00000028 0012FD0C 0045D4A7
    0044271C 0012FDEC   0012FE18 00401708 005100A7 0050E0A4 0044868D 00658C38 00000001 00000000 00000000 0059000B
    00401708 0012FE18   0012FF24 0044271C 00000000 00000001 00000001 00659538 00BB9EA4 00BB9E94 0045C31F 00BB27B8
    0044271C 0012FF24   0012FF4C 004016CC 0050F8F8 0050E0A4 004484D0 00000000 00000000 00000000 00000000 00000022


Modules:
0x00400000 0x00282000 F:\test\wincms\bin\wincms.exe
0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x000F6000 C:\WINDOWS\system32\kernel32.dll
0x64D00000 0x00034000 C:\Program Files\Alwil Software\Avast5\snxhk.dll
0x77DD0000 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E70000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x773D0000 0x00103000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.DLL
0x77C10000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F10000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E410000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77F60000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x763B0000 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x7C9C0000 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x76380000 0x00005000 C:\WINDOWS\system32\MSIMG32.DLL
0x774E0000 0x0013E000 C:\WINDOWS\system32\OLE32.DLL
0x77120000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x7DF70000 0x00022000 C:\WINDOWS\system32\OLEDLG.DLL
0x76BF0000 0x0000B000 C:\WINDOWS\system32\PSAPI.DLL
0x77C00000 0x00008000 C:\WINDOWS\system32\VERSION.DLL
0x73000000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x629C0000 0x00009000 C:\WINDOWS\system32\LPK.DLL
0x74D90000 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x00BE0000 0x00090000 F:\test\wincms\bin\bwcc32.dll
0x010F0000 0x0003A000 F:\test\wincms\bin\wincms.dll
0x5AD70000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 0x0004C000 C:\WINDOWS\system32\MSCTF.dll

Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3387) in window.prg
Called from SETMENU(0)
Called from TWINDOW:NEW(839) in window.prg
Called from TWINCMS:ACTIVATE(142) in wincms.prg
Called from WINCMS(34) in wincms.prg
------------------------------------------------------------------------
Application Internal Error - F:\test\wincms\bin\wincms.exe
Terminated at: 2011.12.08 17:03:27
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:0045679E
    EAX:00000000  EBX:0012FB44  ECX:0063CC19  EDX:0012F801
    ESI:00000046  EDI:00000000  EBP:0012F844
    CS:EIP:001B:0045679E  SS:ESP:0023:0012F844
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010246
    CS:EIP: 8B 00 5D C3 90 90 55 8B EC 8B 45 08 8B 10 8B 02
    SS:ESP: 0012F864 0041437B 00000000 015325EC 0012F894 006375F0 0062FBC0 0012F888 0012F888 00415118 006375F0 00000000 0062FBC0 00048E5C 0012F8A8 00448706

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    0045679E 0012F844   0012F864 0041437B 00000000 015325EC 0012F894 006375F0 0062FBC0 0012F888
    0041437B 0012F864   0012F888 00415118 006375F0 00000000 0062FBC0 00048E5C 0012F8A8 00448706 00BB033C
    00415118 0012F888   0012F8A8 00448745 00658E5C 00000029 00000000 00BC1D74 00FD000C 00000000
    00448745 0012F8A8   0012F9B4 004427D4 00000003 00000000 0012FB44 0062FBB0 0045D55F 0153FD7C 00B9D46C 00BB043C
    004427D4 0012F9B4   0012F9E0 00410210 006375B7 0062D980 004486A5 00000046 00000025 00000000 00000000 00000000
    00410210 0012F9E0   0012F9F8 0041744D 00000005 0012FB44 00417E90 01840474
    0041744D 0012F9F8   0012FA18 00417EB0 01840474 00000046 00000000 0012FB44 00000001 00000000
    00417EB0 0012FA18   0012FA44 7E418734 01840474 00000046 00000000 0012FB44 00417E90 DCBAABCD 00000000 0012FB44
    7E418734 0012FA44   0012FAAC 7E42BDF1 00417E90 01840474 00000046 00000000 0012FB44 00000000 01840474 00658E5C
    7E42BDF1 0012FAAC   0012FB00 7E428EA0 00000000 00417E90 01840474 00000046 00000000 0012FB44 0094E1C4 00000001
    7E428EA0 0012FB00   0012FB28 7E42BD34 0094E1B0 00000046 00000000 0012FB44 00417E90 00BB01DC 0000001C 0012FB44
    7E42BD34 0012FB28   0012FB7C 7C90E473 0012FB38 00000030 0094E1B0 00000046 00000000 01840474 00000000 00000000
    7C90E473 0012FB7C   0012FB8C 00425923 01840474 0CB3057D
    00425923 0012FB8C   0012FBA8 00448588 0000000E 00000000 00000000 00000000 00000000
    00448588 0012FBA8   0012FCB4 00442697 00000002 005102D5 00000000 0050E0F4 00658E5C 0012FC18 004B6990 00BAFE7C
    00442697 0012FCB4   0012FCE0 0040FB1C 00632A40 0062D980 00448745 00658E5C 00000003 00000000 00000000 0003000C
    0040FB1C 0012FCE0   0012FDEC 004427D4 00000015 0050F939 00000000 0050E124 00658E5C 00000028 0012FD0C 0045D55F
    004427D4 0012FDEC   0012FE18 00401708 005100A7 0050E0A4 00448745 00658E5C 00000001 00000000 00000000 0059000B
    00401708 0012FE18   0012FF24 004427D4 00000000 00000001 00000001 0065975C 00BB9E64 00BB9E54 0045C3D7 00BB3420
    004427D4 0012FF24   0012FF4C 004016CC 0050F8F8 0050E0A4 00448588 00000000 00000000 00000000 00000000 00000022


Modules:
0x00400000 0x00282000 F:\test\wincms\bin\wincms.exe
0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x000F6000 C:\WINDOWS\system32\kernel32.dll
0x64D00000 0x00034000 C:\Program Files\Alwil Software\Avast5\snxhk.dll
0x77DD0000 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E70000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x773D0000 0x00103000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.DLL
0x77C10000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F10000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E410000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77F60000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x763B0000 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x7C9C0000 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x76380000 0x00005000 C:\WINDOWS\system32\MSIMG32.DLL
0x774E0000 0x0013E000 C:\WINDOWS\system32\OLE32.DLL
0x77120000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x7DF70000 0x00022000 C:\WINDOWS\system32\OLEDLG.DLL
0x76BF0000 0x0000B000 C:\WINDOWS\system32\PSAPI.DLL
0x77C00000 0x00008000 C:\WINDOWS\system32\VERSION.DLL
0x73000000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x629C0000 0x00009000 C:\WINDOWS\system32\LPK.DLL
0x74D90000 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x00BE0000 0x00090000 F:\test\wincms\bin\bwcc32.dll
0x010F0000 0x0003A000 F:\test\wincms\bin\wincms.dll
0x5AD70000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 0x0004C000 C:\WINDOWS\system32\MSCTF.dll

Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3387) in window.prg
Called from SETMENU(0)
Called from TWINDOW:NEW(839) in window.prg
Called from TWINCMS:ACTIVATE(142) in wincms.prg
Called from WINCMS(34) in wincms.prg
------------------------------------------------------------------------
Application Internal Error - F:\test\wincms\bin\wincms.exe
Terminated at: 2011.12.08 17:30:44
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:0045679E
    EAX:00000000  EBX:0012FB44  ECX:0063CCFD  EDX:0012F801
    ESI:00000046  EDI:00000000  EBP:0012F844
    CS:EIP:001B:0045679E  SS:ESP:0023:0012F844
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010246
    CS:EIP: 8B 00 5D C3 90 90 55 8B EC 8B 45 08 8B 10 8B 02
    SS:ESP: 0012F864 0041437B 00000000 015358CC 0012F894 006376C7 0062FBE0 0012F888 0012F888 00415118 006376C7 00000000 0062FBE0 00048F40 0012F8A8 00448706

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    0045679E 0012F844   0012F864 0041437B 00000000 015358CC 0012F894 006376C7 0062FBE0 0012F888
    0041437B 0012F864   0012F888 00415118 006376C7 00000000 0062FBE0 00048F40 0012F8A8 00448706 00BB0354
    00415118 0012F888   0012F8A8 00448745 00658F40 00000029 00000000 00BC1D64 00FD000C 00000000
    00448745 0012F8A8   0012F9B4 004427D4 00000003 00000000 0012FB44 0062FBD0 0045D55F 0154671C 00B9D46C 00BB0454
    004427D4 0012F9B4   0012F9E0 00410210 0063768E 0062D980 004486A5 00000046 00000025 00000000 00000000 00000000
    00410210 0012F9E0   0012F9F8 0041744D 00000005 0012FB44 00417E90 000709A6
    0041744D 0012F9F8   0012FA18 00417EB0 000709A6 00000046 00000000 0012FB44 00000001 00000000
    00417EB0 0012FA18   0012FA44 7E418734 000709A6 00000046 00000000 0012FB44 00417E90 DCBAABCD 00000000 0012FB44
    7E418734 0012FA44   0012FAAC 7E42BDF1 00417E90 000709A6 00000046 00000000 0012FB44 00000000 000709A6 00658F40
    7E42BDF1 0012FAAC   0012FB00 7E428EA0 00000000 00417E90 000709A6 00000046 00000000 0012FB44 009AE0EC 00000001
    7E428EA0 0012FB00   0012FB28 7E42BD34 009AE0D8 00000046 00000000 0012FB44 00417E90 00BB01F4 0000001C 0012FB44
    7E42BD34 0012FB28   0012FB7C 7C90E473 0012FB38 00000030 009AE0D8 00000046 00000000 000709A6 00000000 00000000
    7C90E473 0012FB7C   0012FB8C 00425923 000709A6 00520A87
    00425923 0012FB8C   0012FBA8 00448588 0000000E 00000000 00000000 00000000 00000000
    00448588 0012FBA8   0012FCB4 00442697 00000002 005102D5 00000000 0050E0F4 00658F40 0012FC18 004B6990 00BAFE94
    00442697 0012FCB4   0012FCE0 0040FB1C 00632A60 0062D980 00448745 00658F40 00000003 00000000 00000000 0003000C
    0040FB1C 0012FCE0   0012FDEC 004427D4 00000015 0050F939 00000000 0050E124 00658F40 00000028 0012FD0C 0045D55F
    004427D4 0012FDEC   0012FE18 00401708 005100A7 0050E0A4 00448745 00658F40 00000001 00000000 00000000 0059000B
    00401708 0012FE18   0012FF24 004427D4 00000000 00000001 00000001 00659840 00BBA48C 00BBA47C 0045C3D7 00BB3088
    004427D4 0012FF24   0012FF4C 004016CC 0050F8F8 0050E0A4 00448588 00000000 00000000 00000000 00000000 00000022


Modules:
0x00400000 0x00283000 F:\test\wincms\bin\wincms.exe
0x7C900000 0x000B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x000F6000 C:\WINDOWS\system32\kernel32.dll
0x64D00000 0x00034000 C:\Program Files\Alwil Software\Avast5\snxhk.dll
0x77DD0000 0x0009B000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E70000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x773D0000 0x00103000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.DLL
0x77C10000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F10000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E410000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77F60000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x763B0000 0x00049000 C:\WINDOWS\system32\COMDLG32.DLL
0x7C9C0000 0x00817000 C:\WINDOWS\system32\SHELL32.dll
0x76380000 0x00005000 C:\WINDOWS\system32\MSIMG32.DLL
0x774E0000 0x0013E000 C:\WINDOWS\system32\OLE32.DLL
0x77120000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x7DF70000 0x00022000 C:\WINDOWS\system32\OLEDLG.DLL
0x76BF0000 0x0000B000 C:\WINDOWS\system32\PSAPI.DLL
0x77C00000 0x00008000 C:\WINDOWS\system32\VERSION.DLL
0x73000000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x629C0000 0x00009000 C:\WINDOWS\system32\LPK.DLL
0x74D90000 0x0006B000 C:\WINDOWS\system32\USP10.dll
0x00BE0000 0x00090000 F:\test\wincms\bin\bwcc32.dll
0x010F0000 0x0003A000 F:\test\wincms\bin\wincms.dll
0x5AD70000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 0x0004C000 C:\WINDOWS\system32\MSCTF.dll

Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3394) in window.prg
Called from SETMENU(0)
Called from TWINDOW:NEW(839) in window.prg
Called from TWINCMS:ACTIVATE(142) in wincms.prg
Called from WINCMS(34) in wincms.prg
------------------------------------------------------------------------
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by Antonio Linares »

Hua,

We email you the most recent window.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: Enhanced Methods GoPrevCtrl() and GoNextCtrl()

Post by hua »

Received with thanks Antonio. Thank you for such an efficient support :)
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply