7c.wxWidgets – wxFontDialog
OVERVIEW In the sample code below, we display a line of text and then use the wxFontDialog to change the font . We have added […]
OVERVIEW In the sample code below, we display a line of text and then use the wxFontDialog to change the font . We have added […]
OVERVIEW In the sample code below, we use the wxFileDialog to select a text file , whose contents are then shown in a textbox. SAMPLE […]
OVERVIEW In the sample code below, we will invoke 4 different kinds of system dialogs when a button is clicked. SAMPLE CODE dialog-messages.h dialog-messages.cpp main.h […]
OVERVIEW Dialogs are windows that require some interaction from the user. Generally dialogs are modal i.e until the user interacts with the dialog, the dialog […]
OVERVIEW As mentioned before in a previous section, Bind is the preferred way to do event handling. The main advantage of Bind is that you […]
OVERVIEW Every control or widget that you create is given an id. An id can be system-generated or it can be a predefined system id […]
OVERVIEW Continuing from the previous section where we looked at event propagation, in this section we see how to cancel processing events. Event processing may […]
OVERVIEW In the previous section we saw how events are generated and handled. Most events are derived from the wxCommandEvent class. There are some events […]
OVERVIEW We take the example from the previous section and implement the same using Bind. SAMPLE CODE events-bind.h events-bind.cpp main.h main.cpp The output is shown […]
OVERVIEW We now take the sample from the previous section and implement the event handling using Connect instead of an Event table SAMPLE CODE events-connect.h […]
Copyright © 2024 | WordPress Theme by MH Themes