Alaska Software Inc. - why DllCall fail but ot4xb work ?
Username: Password:
AuthorTopic: why DllCall fail but ot4xb work ?
Jim Leewhy DllCall fail but ot4xb work ?
on Wed, 10 Apr 2019 01:08:51 +0200
hi,

i try to pimp Scrollbar Color.

i fail with DLLFunction but it work with ot4xb !?
why does DLLFunction fail ... Syntax seems ok when it work with ot4xb


* --------------------------- *
#include "gra.ch"
#include "dll.ch"
#include "ot4xb.ch"
#include "WinUser_constants.ch"

DLLFUNCTION SetSysColors(n,@s,@v) USING STDCALL FROM USER32.DLL
DLLFUNCTION GetSysColor(n) USING STDCALL FROM USER32.DLL

PROCEDURE MAIN
*                   SetSysColors(1, {COLOR_SCROLLBAR},
{AutomationTranslateColor(GRA_CLR_PINK,.F.)})
   @User32:SetSysColors(1, {COLOR_SCROLLBAR},
{AutomationTranslateColor(GRA_CLR_PINK,.F.)})
RETURN
* --------------------------- *



---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com