Page 1 of 1

SkinButtons() crash with my HB_FUNC()

Posted: Fri Jan 06, 2023 10:43 pm
by Jimmy
hi,

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

Code: Select all | Expand

   SHOWFILEPROPERTIES( hWnd, cPath, cFile )
it show Dialog like when right-click on Icon of Desktop or Explorer

Code: Select all | Expand

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() ?

Re: SkinButtons() crash with my HB_FUNC()

Posted: Sun Jan 08, 2023 4:53 am
by Jimmy
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

Re: SkinButtons() crash with my HB_FUNC()

Posted: Mon Jan 09, 2023 10:27 am
by richard-service
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.