FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour to Richard ( Taiwan ) about Skin Themes windows
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Fri Feb 09, 2007 11:02 PM
Hi Richard !

DEFINE DIALOG oDlg RESOURCE "D_DR_WIN_STATMSF_SEARCH" 
........ 
ACTIVATE DIALOG oDlg CENTER ON INIT CodeJockSkin_InitDlg( oDlg ) 

FUNCTION CodeJockSkin_InitDlg( oDlg ) 

LOCAL oActiveX 

oActiveX := TActiveX_FreeWin():New( oDlg, "Codejock.SkinFrameWork.10.4.1" ) 
   oActiveX:LoadSkin( "System\ActiveX\Styles\Vista.cjstyles", "" )  //Vista.cjstyles  //Office2007.cjstyles 
    
   oActiveX:ApplyWindow( oDlg:hWnd ) 

RETURN NIL


Do you mind to send me the function TActiveX_FreeWin

Thank's for help
Regards
Areang
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 01:30 AM

Areang

Try with tActivex() of Fivewin.

Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 02:52 AM
Hello areang,

Look it. Office 2007 interface.





Same as TActiveX of FWH. What's FWH version?

Thanks for Rochinha.

Regards,

Richard
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 03:21 AM

Sorry, could somebody tell me where can I get this activex you are showing in the images?

Saludos/Regards,

José Murugosa

"Los errores en programación, siempre están entre la silla, el teclado y la IA!!"
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 05:51 AM
Hello jose_murugosa,

Please visit this web site.

http://www.codejock.com/

Regards,

Richard
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 12:53 PM

Richard

Where did you download the activex file from ? "Codejock.SkinFrameWork.10.4.1"

Is this a freeware ? Are these skins free to use or are they copyrighted.

Thanks for info

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 01:13 PM

Thank you Taiwan

I´ll check the site.

Saludos/Regards,

José Murugosa

"Los errores en programación, siempre están entre la silla, el teclado y la IA!!"
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 01:37 PM
Hii,

Here is a working sample with SkinFramework:

// FiveWin ActiveX support demo - Using Adobe Acrobat Reader

#include "FiveWin.ch"

function Main()
   local oWnd, oActiveX
   DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support with Skin"
          oActiveX = TActiveX():New( oWnd, "PDF.PdfCtrl.5" )
          oWnd:oClient = oActiveX // To fill the entire window surface
          oActiveX:Do( "LoadFile", "c:\teste.pdf" )
          oActiveX:Do( "SetCurrentPage", 1 )
   ACTIVATE WINDOW oWnd ON INIT CodeJockSkin_InitDlg(oWnd)
   return nil

FUNCTION CodeJockSkin_InitDlg( oDlg ) 
   LOCAL oActiveX, cStylesPath := "c:\win2003\arquivos de programas\codejock\source\skinframework\Styles\"
   oActiveX := TActiveX():New( oDlg, "Codejock.SkinFrameWork.10.4.2" ) 
   oActiveX:Do( "LoadSkin", cStylesPath+"Vista.cjstyles", "" )  //Vista.cjstyles  //Office2007.cjstyles 
   oActiveX:Do( "ApplyWindow", oDlg:hWnd ) 
   return nil
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 02:35 PM
Hello Rochinha,

Yes, same as.

But I have a question about it.
Please look my attach picture.
Why it appear "S/F" mark?
I run VB Exe file disappear mark.



Regards,

Richard
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 02:36 PM
Richard Chidiak wrote:Richard

Where did you download the activex file from ? "Codejock.SkinFrameWork.10.4.1"

Is this a freeware ? Are these skins free to use or are they copyrighted.

Thanks for info

Richard


Please check http://www.codejock.com/

Regards,

Richard
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 03:54 PM

Taiwan

Maybe you have linked other activex too. check it.

Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 11:33 PM
Hello All,

Test finish. Look it below:



Regards,

Richard
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sat Feb 10, 2007 11:59 PM

Thank's to all

If you don't mind, Can someone to email me ocx and samples source code ?

Regards
Areang

:lol::wink:

Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Sun Feb 11, 2007 02:05 AM

Hello areang,

Source code check these message. only add in your ap.
ActiveX components -> http://www.codejock.com/
check ActiveX suite pro not MFC++

Regards,

Richard

Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
to Richard ( Taiwan ) about Skin Themes windows
Posted: Mon Feb 12, 2007 03:32 AM
Hi Richard


This evaluation can be used with Visual Studio 5.0, 6.0, .NET 2002, .NET 2003, and .NET 2005. Unicode versions of the OCX files are currently not provided with the evaluation version.


I think, Codejock has stopped distributing evaluaiton copies of the OCX files.

How can I get it for testing.

- Ramesh Babu P