FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SkinButtons() crash with my HB_FUNC()
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
SkinButtons() crash with my HB_FUNC()
Posted: 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 (fw): Select all Collapse
   SHOWFILEPROPERTIES( hWnd, cPath, cFile )
it show Dialog like when right-click on Icon of Desktop or Explorer
Code (fw): Select all Collapse
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
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: SkinButtons() crash with my HB_FUNC()
Posted: Sun Jan 08, 2023 04: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
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: SkinButtons() crash with my HB_FUNC()
Posted: 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 (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit

Continue the discussion