SkinButtons() crash with my HB_FUNC()

SkinButtons() crash with my HB_FUNC()

Postby Jimmy » Fri Jan 06, 2023 10:43 pm

hi,

i try to use SkinButtons()
it seems to work fine but Crash with my HB_FUNC(SHOWFILEPROPERTIES)

Code: Select all  Expand view
  SHOWFILEPROPERTIES( hWnd, cPath, cFile )

it show Dialog like when right-click on Icon of Desktop or Explorer

Code: Select all  Expand view
HB_FUNC( SHOWFILEPROPERTIES )
{
   #ifndef _WIN64
      HWND hWnd = ( HWND ) hb_parnl( 1 );
   #else
      HWND hWnd = ( HWND ) hb_parnll( 1 );
   #endif

   SHELLEXECUTEINFO SHExecInfo;
   ZeroMemory(&SHExecInfo, sizeof(SHExecInfo));

   SHExecInfo.cbSize       = sizeof(SHExecInfo);
   SHExecInfo.fMask        = SEE_MASK_INVOKEIDLIST;
   SHExecInfo.lpVerb       = "Properties";
   SHExecInfo.lpDirectory  = hb_parc(2);
   SHExecInfo.lpFile       = hb_parc(3);
   SHExecInfo.nShow        = SW_SHOW;
   SHExecInfo.hwnd         = hWnd;

   ShellExecuteEx(&SHExecInfo);
}


who can you help me to get HB_FUNC( SHOWFILEPROPERTIES ) work with SkinButtons() :?:

is there a "Dark-Mode Theme" for SkinButtons() ?
can i disable/enable SkinButtons() ?
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: SkinButtons() crash with my HB_FUNC()

Postby Jimmy » Sun Jan 08, 2023 4:53 am

hi,

"where" is Skinbuttons :?:
i have search for it but not found ...

i have found c:\fwh64\source\classes\tskinbtn.prg
but that is "only" for Color Definition.

btw.
using Codejock Skinframework i have "grep" active Color Definition for Different Theme
if somebody like to use those Color Definition i can post it

AeroVista.cjstyles
Fiesta.cjstyles
iTunes.cjstyles
LiveXP.cjstyles
Luna.cjstyles
Nosocks.cjstyles
Office2007.cjstyles
Vincent.cjstyles
virgin.cjstyles
Vista.cjstyles
VistaBlack.cjstyles
VistaLiveBlue.cjstyles
WinXP.Luna.cjstyles
WinXP.Royale.cjstyles
Zune.cjstyles
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: SkinButtons() crash with my HB_FUNC()

Postby richard-service » Mon Jan 09, 2023 10:27 am

Jimmy wrote:hi,

"where" is Skinbuttons :?:
i have search for it but not found ...

i have found c:\fwh64\source\classes\tskinbtn.prg
but that is "only" for Color Definition.

btw.
using Codejock Skinframework i have "grep" active Color Definition for Different Theme
if somebody like to use those Color Definition i can post it

AeroVista.cjstyles
Fiesta.cjstyles
iTunes.cjstyles
LiveXP.cjstyles
Luna.cjstyles
Nosocks.cjstyles
Office2007.cjstyles
Vincent.cjstyles
virgin.cjstyles
Vista.cjstyles
VistaBlack.cjstyles
VistaLiveBlue.cjstyles
WinXP.Luna.cjstyles
WinXP.Royale.cjstyles
Zune.cjstyles


Hi, Jimmy

Let me try it.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests