Search found 40 matches

by bandali99
Fri Aug 02, 2019 6:59 pm
Forum: C++ Development
Topic: Opening a frame within a menu bar
Replies: 12
Views: 961

Re: Opening a frame within a menu bar

I think I would need to make an event table for this
by bandali99
Fri Aug 02, 2019 6:56 pm
Forum: C++ Development
Topic: Opening a frame within a menu bar
Replies: 12
Views: 961

Re: Opening a frame within a menu bar

What are splits? Also use Bind instead of Connect splits are window splits oops, I created functions called On two and so on to call for a frame that has a split-screen. splits is the nickname i gave it i guess sorry I tried using bind and the same output comes out- no matter which option i click t...
by bandali99
Fri Aug 02, 2019 6:41 pm
Forum: C++ Development
Topic: Opening a frame within a menu bar
Replies: 12
Views: 961

Re: Opening a frame within a menu bar

Awesome the code runs with no error, however, when I click two split, three or four the program opens only the 4 split no matter the option... Connect(wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(SimpleMenu::OnQuit)); Connect(wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHand...
by bandali99
Fri Aug 02, 2019 4:48 pm
Forum: C++ Development
Topic: Opening a frame within a menu bar
Replies: 12
Views: 961

Re: Opening a frame within a menu bar

I thought I could use

Code: Select all

SetTopWindow(frame); 
frame -> show(true);
but thats only in the myApp library and im using wxFrame. Any ideas or examples as to go about this? thanks!
by bandali99
Thu Aug 01, 2019 10:00 pm
Forum: C++ Development
Topic: Opening a frame within a menu bar
Replies: 12
Views: 961

Opening a frame within a menu bar

I created an option in a menu bar to open a particular type of frame. I am having trouble opening the frame, I thought I could use Settopwindow and show however those commands are in myApp. void SimpleMenu::Ontwo(wxCommandEvent & event) { wxFrame* frame = new twosplit(NULL); //change four to three o...
by bandali99
Thu Aug 01, 2019 7:55 pm
Forum: C++ Development
Topic: Aui Manager
Replies: 2
Views: 247

Re: Aui Manager

Yeah, it worked however I am not able to move the windows around. I know that if I am able to resize the top and bottom portions so that theyd meet in the middle I would be able to get the layout I want and have them moveable
by bandali99
Thu Aug 01, 2019 6:28 pm
Forum: C++ Development
Topic: Aui Manager
Replies: 2
Views: 247

Aui Manager

This is my current output. is it possible to remove the center space in wxAuimanager ? or maybe is it possible to make the top and bottom larger such that the 4 windows fill the screen? thanks
by bandali99
Wed Jul 31, 2019 3:49 pm
Forum: C++ Development
Topic: AuiManger 4-way split screen
Replies: 1
Views: 252

AuiManger 4-way split screen

I am creating a 4-split screen using AUI (i know its easier with wxsplitterwindow but I am told to use Aui). I have my items on the frame however I am not able to split them evenly in the way I want. I want each textbox to occupy a corner of the screen. here is the code that deals with the positioni...
by bandali99
Sat Jul 27, 2019 5:38 pm
Forum: C++ Development
Topic: Splitting
Replies: 3
Views: 257

Re: Splitting

I want to be able to change the size of the widget if dragged on to a larger screen, this can be done using wxSplitterwindow correct?
by bandali99
Fri Jul 26, 2019 6:08 pm
Forum: C++ Development
Topic: Splitting
Replies: 3
Views: 257

Splitting

Hi I am building a widget that can take images or video sources and puts them into a window that can take up to 4 images. I need to create a split-screen that looks like this:


Is it better to use wxSplitwindow or wxAuiManager?
by bandali99
Tue Jul 23, 2019 8:32 pm
Forum: C++ Development
Topic: Slider movements
Replies: 3
Views: 220

Re: Slider movements

nothing changed still the same issue, I want to compare the x position of where the mouse was clicked to the actual position of the slider tick and if they match that slider tick should be selected.
by bandali99
Tue Jul 23, 2019 7:51 pm
Forum: C++ Development
Topic: Slider movements
Replies: 3
Views: 220

Slider movements

I want to be able to select the ticks on my slider by clicking on it. Previously I had it built where I could select which tick depending on the y position of where my mouse clicked. This is the function that determines which tick is selected. With the current, if statements I used, the click is abl...
by bandali99
Tue Jul 16, 2019 5:22 pm
Forum: C++ Development
Topic: Sizer
Replies: 2
Views: 226

Re: Sizer

Thanks!
by bandali99
Tue Jul 16, 2019 3:55 pm
Forum: C++ Development
Topic: Sizer
Replies: 2
Views: 226

Sizer

Hi I am having some trouble with my sizers. This is the layout I was going for- I think I have the layout and the order of the sizers correct but when I expand the window I want the middle sizer to expand but thats not the case. If anyone has any ideas!! also ive attached the git link the main files...
by bandali99
Fri Jul 12, 2019 10:45 pm
Forum: C++ Development
Topic: Window Sizing
Replies: 8
Views: 580

Re: Window Sizing

ONEEYEMAN wrote:
Fri Jul 12, 2019 6:40 pm
Hi,
It looks like from you description that you paint it yourself and you are using the hardocded values.
And you also didn't derive you control from the wxWindow.

Am I correct?
Yes they are hardcoded values and I did paint it myself