Testing the WYSIWYG Editor
More testing of the WYSIWYG editor
I Like Arial 12 in blue
But it should be a little darker don't you think?
Here is an example of a list. This was a particular difficult
Problem to solve when using color.
Here is some VB code
VB Code:
[FONT=Courier New]Sub LoadIcons(Index As Integer)
[/FONT]
VB Code:
[FONT=Courier New][COLOR=#007A00]'load each image into an animated gif class(Index,i)
'from resource file
'position the image on the picturebox(Index)
'produce an array of rect position numbers for checking
'mouse position
[/COLOR][COLOR=#0000FF]Dim i As Integer, j As Integer
Dim mySmilie As clsSmilie
iSpace = 30
iLeft = 10
iTop = 10
nPicture = Index
For i = 1 To 22
Set mySmilie = New clsSmilie
With mySmilie
.ToolTipText = LoadResString(100 + i)
.Tag = LoadResString(i + 165)
End With
Set mySmilie = Nothing
Next i
[/COLOR][COLOR=#007A00]'Now a test of quotes
[/COLOR][COLOR=#0000FF] x = "[/COLOR][COLOR=#7A0000]Here is quoted Text[/COLOR][COLOR=#0000FF]"
y = x & vbCrLf & "[/COLOR][COLOR=#7A0000]More Quoted Text[/COLOR][COLOR=#0000FF]"
End Sub[/COLOR][/FONT]
Now for some special text formatting
We can Highlight text, make it superscript or subscript
Change its color or font too.
We can also do quotes
Quote:
I couldn't get my program to work, can you help me?[/COLOR]
I'm still working on C++ code[/QUOTE] C++ Code [/COLOR][/QUOTE]
APIFunction BuildAPIStub(PSTR pszModule, PSTR pszFuncName, PBYTE params);
[/COLOR]// MakePtr is a macro that allows you to easily add to values (including
// pointers) together without dealing with C's pointer arithmetic. It
// essentially treats the last two parameters as DWORDs. The first
// parameter is used to typecast the result to the appropriate pointer type.
#define MakePtr( cast, ptr, addValue ) (cast)( (DWORD)(ptr)+(DWORD)(addValue))
#define MAX_INTERCEPTED_APIS 2048
unsigned InterceptedAPICount = 0;
PAPIFunction InterceptedAPIArray[MAX_INTERCEPTED_APIS];[/QUOTE]
This post was produced by the WYSIWYG editor.