First I do;
IDEMacro - LCLWidgetType:=customdrawn
in "project settings" and "application overrides and defines"
Then
initialization
{$IFDEF mymsFPCDevTool}
// http://wiki.freepascal.org/Lazarus_Custom_Drawn_Controls#Custom_Drawn_Packages
customdrawndrawers.DefaultStyle := dsWin2000;
{$ENDIF}
However, when compiling I get error
Quote
customdrawnobject_win.inc(590,78) Error: Incompatible type for arg no. 4: Got "<address of procedure(QWord;QWord;QWord;LongWord);StdCall>", expected "<procedure variable type of procedure(QWord;LongWord;QWord;LongWord);StdCall>"
at
Code: Pascal [Select]
TimerInfo^.TimerID := Windows.SetTimer(0, 0, Interval, @TimerCallBackProc);
which is line 590 in unit customdrawnobject_win.inc
If I read the documentation correctly - I should be able too combine dsWindows7 drawing (where I can select a theme
somehow?) with by installing
http://wiki.freepascal.org/BGRAControls since that contains a drawer? Is that correct? I would love if I could thme my Win+Mac app in a custom theme/style/skin somehow