I've made probably the simplest code possible to take my first step
subclassing a control. It simply creates a subclass but doesn't add anything
to it. Can anyone critique the code?
#include "rb_plugin.h"
static REALclassDefinition myHTMLViewer = {
kCurrentREALControlVersion,
"myHTMLViewer",
"HTMLViewer",
0,
0,
(REALproc) nil, (REALproc) nil,
nil, 0,
nil, 0,
nil, 0,
nil, 0
};
void PluginEntry() {
REALRegisterClass(&myHTMLViewer);
}
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>