ryanshepsmenu
--------------RyanshepsMenu For Combat Arms----
hello guys, i have made my first menu for combat arms but ofc the text don't actually work its just a menu release thank you!
btw! this menu has not been tested!!!
this menu is made in codeblocks!
this ones the .h file by the way!
please thank me or give me comments of what you think thanks!
hello guys, i have made my first menu for combat arms but ofc the text don't actually work its just a menu release thank you!
btw! this menu has not been tested!!!
this menu is made in codeblocks!
Code:
#include "ryanshepsmenu.h"
//(*InternalHeaders(ryanshepsmenu)
#include <wx/settings.h>
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)
//(*IdInit(ryanshepsmenu)
const long ryanshepsmenu::ID_STATICTEXT1 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT2 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK1 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK2 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT3 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT4 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT5 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK3 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK4 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK5 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT6 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT7 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK6 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT8 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK7 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT9 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK8 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT10 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK9 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT11 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK10 = wxNewId();
const long ryanshepsmenu::ID_STATICTEXT12 = wxNewId();
const long ryanshepsmenu::ID_CHOICEBOOK11 = wxNewId();
//*)
BEGIN_EVENT_TABLE(ryanshepsmenu,wxFrame)
//(*EventTable(ryanshepsmenu)
//*)
END_EVENT_TABLE()
ryanshepsmenu::ryanshepsmenu(wxWindow* parent,wxWindowID id)
{
//(*Initialize(ryanshepsmenu)
Create(parent, wxID_ANY, _("RyanshepsMenu"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("wxID_ANY"));
SetClientSize(wxSize(122,450));
StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Chams"), wxPoint(8,32), wxDefaultSize, 0, _T("ID_STATICTEXT1"));
StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Wallhack"), wxPoint(8,8), wxDefaultSize, 0, _T("ID_STATICTEXT2"));
Choicebook1 = new wxChoicebook(this, ID_CHOICEBOOK1, wxPoint(56,8), wxSize(16,16), 0, _T("ID_CHOICEBOOK1"));
wxFont Choicebook1Font(10,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,wxEmptyString,wxFONTENCODING_DEFAULT);
Choicebook1->SetFont(Choicebook1Font);
Choicebook2 = new wxChoicebook(this, ID_CHOICEBOOK2, wxPoint(56,32), wxSize(16,16), 0, _T("ID_CHOICEBOOK2"));
wxFont Choicebook2Font(10,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,wxEmptyString,wxFONTENCODING_DEFAULT);
Choicebook2->SetFont(Choicebook2Font);
StaticText3 = new wxStaticText(this, ID_STATICTEXT3, _("no reload\n"), wxPoint(8,56), wxDefaultSize, 0, _T("ID_STATICTEXT3"));
StaticText4 = new wxStaticText(this, ID_STATICTEXT4, _("see bullets\n"), wxPoint(8,80), wxDefaultSize, 0, _T("ID_STATICTEXT4"));
StaticText5 = new wxStaticText(this, ID_STATICTEXT5, _("speed\n"), wxPoint(8,104), wxDefaultSize, 0, _T("ID_STATICTEXT5"));
Choicebook3 = new wxChoicebook(this, ID_CHOICEBOOK3, wxPoint(56,56), wxSize(16,16), 0, _T("ID_CHOICEBOOK3"));
Choicebook4 = new wxChoicebook(this, ID_CHOICEBOOK4, wxPoint(56,80), wxSize(16,16), 0, _T("ID_CHOICEBOOK4"));
Choicebook5 = new wxChoicebook(this, ID_CHOICEBOOK5, wxPoint(56,104), wxSize(16,16), 0, _T("ID_CHOICEBOOK5"));
Choicebook5->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUTEXT));
Choicebook5->SetBackgroundColour(wxColour(0,128,255));
StaticText6 = new wxStaticText(this, ID_STATICTEXT6, _("----------------------------\n"), wxPoint(8,136), wxSize(112,13), 0, _T("ID_STATICTEXT6"));
StaticText7 = new wxStaticText(this, ID_STATICTEXT7, _("aimbot"), wxPoint(8,160), wxDefaultSize, 0, _T("ID_STATICTEXT7"));
Choicebook6 = new wxChoicebook(this, ID_CHOICEBOOK6, wxPoint(64,160), wxSize(16,16), 0, _T("ID_CHOICEBOOK6"));
StaticText8 = new wxStaticText(this, ID_STATICTEXT8, _("Auto shoot\n"), wxPoint(8,184), wxDefaultSize, 0, _T("ID_STATICTEXT8"));
Choicebook7 = new wxChoicebook(this, ID_CHOICEBOOK7, wxPoint(64,184), wxSize(16,16), 0, _T("ID_CHOICEBOOK7"));
StaticText9 = new wxStaticText(this, ID_STATICTEXT9, _("Auto aim"), wxPoint(8,208), wxDefaultSize, 0, _T("ID_STATICTEXT9"));
Choicebook8 = new wxChoicebook(this, ID_CHOICEBOOK8, wxPoint(64,208), wxSize(16,16), 0, _T("ID_CHOICEBOOK8"));
StaticText10 = new wxStaticText(this, ID_STATICTEXT10, _("Aimbone"), wxPoint(8,232), wxDefaultSize, 0, _T("ID_STATICTEXT10"));
Choicebook9 = new wxChoicebook(this, ID_CHOICEBOOK9, wxPoint(64,232), wxSize(16,16), 0, _T("ID_CHOICEBOOK9"));
StaticText11 = new wxStaticText(this, ID_STATICTEXT11, _("Remote kill"), wxPoint(8,256), wxDefaultSize, 0, _T("ID_STATICTEXT11"));
Choicebook10 = new wxChoicebook(this, ID_CHOICEBOOK10, wxPoint(64,256), wxSize(16,16), 0, _T("ID_CHOICEBOOK10"));
StaticText12 = new wxStaticText(this, ID_STATICTEXT12, _("Character\n"), wxPoint(8,280), wxDefaultSize, 0, _T("ID_STATICTEXT12"));
Choicebook11 = new wxChoicebook(this, ID_CHOICEBOOK11, wxPoint(64,280), wxSize(16,16), 0, _T("ID_CHOICEBOOK11"));
Connect(ID_CHOICEBOOK1,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook1PageChanged);
Connect(ID_CHOICEBOOK2,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook2PageChanged);
Connect(ID_CHOICEBOOK6,wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&ryanshepsmenu::OnChoicebook6PageChanged);
//*)
}
ryanshepsmenu::~ryanshepsmenu()
{
//(*Destroy(ryanshepsmenu)
//*)
}
void ryanshepsmenu::OnTextCtrl1Text(wxCommandEvent& event)
{
}
void ryanshepsmenu::OnChoicebook1PageChanged(wxChoicebookEvent& event)
{
}
void ryanshepsmenu::OnChoicebook2PageChanged(wxChoicebookEvent& event)
{
}
void ryanshepsmenu::OnChoicebook6PageChanged(wxChoicebookEvent& event)
{
}
Code:
#ifndef RYANSHEPSMENU_H
#define RYANSHEPSMENU_H
//(*Headers(ryanshepsmenu)
#include <wx/notebook.h>
#include <wx/stattext.h>
#include <wx/frame.h>
#include <wx/choicebk.h>
//*)
class ryanshepsmenu: public wxFrame
{
public:
ryanshepsmenu(wxWindow* parent,wxWindowID id=wxID_ANY);
virtual ~ryanshepsmenu();
//(*Declarations(ryanshepsmenu)
wxStaticText* StaticText10;
wxStaticText* StaticText9;
wxChoicebook* Choicebook4;
wxChoicebook* Choicebook6;
wxChoicebook* Choicebook1;
wxStaticText* StaticText2;
wxStaticText* StaticText6;
wxChoicebook* Choicebook7;
wxStaticText* StaticText8;
wxStaticText* StaticText11;
wxChoicebook* Choicebook8;
wxStaticText* StaticText1;
wxStaticText* StaticText3;
wxStaticText* StaticText5;
wxStaticText* StaticText7;
wxChoicebook* Choicebook10;
wxChoicebook* Choicebook11;
wxStaticText* StaticText12;
wxChoicebook* Choicebook2;
wxChoicebook* Choicebook9;
wxStaticText* StaticText4;
wxChoicebook* Choicebook3;
wxChoicebook* Choicebook5;
//*)
protected:
//(*Identifiers(ryanshepsmenu)
static const long ID_STATICTEXT1;
static const long ID_STATICTEXT2;
static const long ID_CHOICEBOOK1;
static const long ID_CHOICEBOOK2;
static const long ID_STATICTEXT3;
static const long ID_STATICTEXT4;
static const long ID_STATICTEXT5;
static const long ID_CHOICEBOOK3;
static const long ID_CHOICEBOOK4;
static const long ID_CHOICEBOOK5;
static const long ID_STATICTEXT6;
static const long ID_STATICTEXT7;
static const long ID_CHOICEBOOK6;
static const long ID_STATICTEXT8;
static const long ID_CHOICEBOOK7;
static const long ID_STATICTEXT9;
static const long ID_CHOICEBOOK8;
static const long ID_STATICTEXT10;
static const long ID_CHOICEBOOK9;
static const long ID_STATICTEXT11;
static const long ID_CHOICEBOOK10;
static const long ID_STATICTEXT12;
static const long ID_CHOICEBOOK11;
//*)
private:
//(*Handlers(ryanshepsmenu)
void OnTextCtrl1Text(wxCommandEvent& event);
void OnChoicebook1PageChanged(wxChoicebookEvent& event);
void OnChoicebook2PageChanged(wxChoicebookEvent& event);
void OnChoicebook6PageChanged(wxChoicebookEvent& event);
//*)
DECLARE_EVENT_TABLE()
};
#endif
This is some of the messiest code I have ever seen. I'm just going to take a guess and say this menu is terrible. Why do all the extra work for the same results?






I must now look up how all of this is done and read threw all that code. Even thought i still don't like the way it looks but creating a new window outside of CA seems promising.