win32: use direct windows calls to load cursor, bitmap and icon

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41818 4005530d-fff6-0310-9dd1-cebe43e6787f
codetools: CheckParameterSyntax: fixed ([])

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41819 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: component palette: right click does not select component and bring form to front

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41820 4005530d-fff6-0310-9dd1-cebe43e6787f
SynEdit IFDEF: fix crash with elseif

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41821 4005530d-fff6-0310-9dd1-cebe43e6787f