Hi,
I want to create GUIs for my c++ programs (buttons that trigger events, textboxes that display results, and switching menus forms on the click of a button). And I am looking for the easiest way to do it using C++.
I started looking at the Win32 API but gave up after finding wxDev C++ and Qt . Which one is easier to get started?
wxDev seemed more convienient since I am already using Dev C++, and although the help menu is detailed, the tutorials lack a lot of info and worst of all, there are no forums for wxDev to ask for help, which really sucks!
Anyway, here are some simple questions:
How do I switch from one form to another after clicking a particular radio button? Here is the function:
void Project1Frm::WxButton1Click(wxCommandEvent& event)
{
// insert your code here
if(WxRadioBox1->????????) // what goes here
{
}
}
I already know how to close a window, here is the code:
void Project1Frm::WxButton2Click(wxCommandEvent& event)
{
// insert your code here
Destroy();
}