Archive > Archived Posts

Windows API Headers III v.1.04

<< < (9/9)

Theo Gottwald:
Jose, could you also address the small issues in the Scintilla*.inc?


--- Code: ---' ========================================================================================
' SCI_ADDSTYLEDTEXT(int length, cell *s)
' This behaves just like SCI_ADDTEXT, but inserts styled text.
' ========================================================================================
' ========================================================================================
FUNCTION SCI_AddStyledText (BYVAL hSci AS DWORD, BYVAL strText AS STRING) AS LONG
   FUNCTION = SendMessageA(hSci, %SCI_ADDSTYLEDTEXT, LEN(strText), STRPTR(strText))
END FUNCTION
' ========================================================================================
' ========================================================================================
FUNCTION SCIP_AddStyledText (BYVAL pSci AS DWORD, BYVAL strText AS STRING) AS LONG
   FUNCTION = Scintilla_DirectFunction(pSci, %SCI_ADDSTYLEDTEXT, LEN(strText), STRPTR(strText))
END FUNCTION
' ========================================================================================     
 
Contained a small typing mistake (s/d)

--- End code ---

Theo Gottwald:
I have always promoted to use your headers as the official.
Now the people at PB HQ have been blindfolded in the past and did never realize the potential value of your contribution.
Its not your fault, it was because ... you know it blinds people.
Yet we all use your headers. I use them for any new project and also for all my major projects.
Any seriouse Visual Designer in the PB Market also wether uses exclusively Your Includes OR includes them at least as an option.

Navigation

[0] Message Index

[*] Previous page

Go to full version