SuperTemplate for VC6.0 — File Browser
SuperTemplateforVC6.0v2.0 / SuperTemplateforVC6.0v2.0 / SuperTemplate for VC6.0 - Version 2 / Super Template Documentation.html
Super Template Documentation.html — 2.94 KB — Download this file
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>SuperTemplate, Version 2</title> </head> <body> <p align="center"><font size="5">SuperTemplate, Version 2<br> Written by: NaquadaBomb @ <a href="http://mirc-dll.com">mIRC-DLL.com</a><br> </font></p> <p>SuperTemplate is a generic template programmers can use to create their own DLL files for mIRC. The DLL simplifies working with mIRC. In order to use the safe subclassing, you must place the SubclassMonitor.dll file in the $mircdir (root mIRC) folder.<br> <br> <u><b>Features</b></u><br> <br> <font face="Times New Roman"> ○ </font>Argument Handling for mIRC DLL functions, passing arguments as spaced tokens...<p style="margin-left: 60px"><b>Example:</b> data = "123 422 Testing Hi There"<br> int i = T_INT(1); // First Argument<br> int j = T_INT(2); // Second Argument<br> char s[MAXSTR]; T_STR(s, 3, TO_END) // Last Argument<br> Results: i = 123;<br> j = 422;<br> s = "Testing Hi There";<br> <p><font face="Times New Roman"> ○ </font>printf like mIRC evaluation, commands, signals, and return values.<p style="margin-left: 60px"> <b>Example: </b>text = mEval("$asctime(%d)", time);<br> mCmd("did -a %s %d %s", dname, did, text);<br> Signal("SIGNAL_NAME", "%d %d %d %d", x, y, w, h);<br> mReturn(data, "Error #%d", err);<p><font face="Times New Roman"> ○ </font>"Window Name" to HWND and HWND to "Window Name" conversions<p> <font face="Times New Roman"> ○ </font>String Manipulation functions<p><font face="Times New Roman"> ○ </font>Replacements for $left, $right, $mid, and $gettok<p style="margin-left: 60px">* The $gettok replacement recognizes quotes and $null tokens<br> * GetTok("1 \"2 2\" 3, 2, 32, false) - returns "2 2"<br> * GetTok("A.B..D.E", 4, 46, false) - returns D<br> * GetTok(A.B.C.D, 3, 46, true) - returns C.D<br> * See xgettok in mIRC-DLL.mrc for alias wrapper<p> <font face="Times New Roman"> ○ </font>A subclassed WinProc example for the mIRC Toolbar. See mIRC-DLL.mrc and the source for more information<p>Reminder: If you use an mirc variable with the "printf-like" commands, variables should look like this "mEval("%%Varname");"<br> <br> Feel free to reuse all or some of this DLL as you see fit. I am not responsible for any harm you cause because of using it.<br> <p></p> </body> </html>