// MasterX Options .h // MsaterX options header #include #include #include "commctrl.h" // heres some more #define MXADD 42 #define MXRMV 43 #define AUTOSHOW 5 #define GLOBALKEY 6 #define AOL_ALLOW 7 #define AIM_ALLOW 8 #define AUTO_IDLE 9 #define MACROON 10 #define MACROLIST 11 #define CMDCASE 12 #define ALLOWVB 13 #define KADD 10 #define KCAN 11 #define KALT 12 #define ID_LIST1 40 #define ID_CAN 100 #define ID_ADD 120 #define ID_CLICK 121 #define ID_CLOSE 122 #define ID_MINI 123 #define ID_CMD 124 // skin list structure // global list key structure struct mxkeyit { bool on; bool alt; int key; char cmd[100]; HTREEITEM hitem; mxkeyit(); }; struct mxgkey { mxkeyit gkey[500]; int getoffkey(); }; // xmacrochlid struct mx_c { char cl[50]; char tl[50]; bool on; bool click; bool close; bool mini; bool cmd; char cmdstr[50]; }; // window struct mx_w { mx_c child[20]; bool on; char cl[50]; char tl[50]; bool click; bool close; bool mini; bool cmd; char cmdstr[50]; }; struct mx_mac { mx_w mac_win[25]; }; struct mxOptions { // global key structure mxgkey keys; mx_mac macro; bool icheck; // aol options bool auto_show; bool global_key; bool aol_allowconnect; bool aim_allowconnect; bool auto_idle; bool macroon; // masterx system options bool cmdcase;// command sensitivity bool allowvb;// allow vb masterX progs // skins bool xmodeo; // global keys void setdefault(); }; void loadoptions(); void saveoptions(); void mx_ophwndload(); void masterx_interupt2(char* buff); void masterx_interupt3(char* buff); // The Options Window Process LRESULT APIENTRY OpProc(HWND,UINT,WPARAM,LPARAM); LRESULT APIENTRY AddKeyProc(HWND,UINT,WPARAM,LPARAM); LRESULT APIENTRY MacProc(HWND,UINT,WPARAM,LPARAM); LRESULT APIENTRY AolLayout(HWND,UINT,WPARAM,LPARAM);// FULL AOL CHILD LAYOUT - SELECT WINDOWS FOR MACRO PROCESSING HINSTANCE getinstance(); HFONT getmxfont(); HWND getmxkey(); void loadcurchild();