Search found 7 matches

by Standalone
Wed Jul 31, 2019 4:56 pm
Forum: C++ Development
Topic: Button background color when the mouse is over the button
Replies: 1
Views: 72

Button background color when the mouse is over the button

Hello Everyone, I was searching for answers regarding this matter...I able to get some solution like Set BitmapCurrent Get BitmapCurrent but there is no luck in that. I would like to know is there any possibility to change the Button background color when the mouse is over the button. if there is a ...
by Standalone
Mon Jul 29, 2019 1:27 pm
Forum: C++ Development
Topic: WxButton - mouse hover & border size
Replies: 5
Views: 136

Re: WxButton - mouse hover & border size

Based on the code from your original post: Button1 = new wxButton(this, ID_BUTTON1, _("Sign in"), wxDefaultPosition, wxSize(260,25), wxNO_BORDER, wxDefaultValidator, _T("ID_BUTTON1")); Button1->SetBackgroundColour(wxColour(0,128,255)); Button1->SetBitmapCurrent( .. ); That's all you need to do. Tha...
by Standalone
Mon Jul 29, 2019 11:28 am
Forum: C++ Development
Topic: WxButton - mouse hover & border size
Replies: 5
Views: 136

Button background color change when the mouse is over the button

I used a Wxbutton in my Test frame, will I able to change the background color when the mouse is over the wxbutton. I did it according to https://docs.wxwidgets.org/trunk/classwx_any_button.html#a7ef165f2a4d309e6ed6ff943a8d21563 this please correct me if I'm wrong. :| 1. I include this in top of my ...
by Standalone
Sun Jul 28, 2019 10:06 am
Forum: C++ Development
Topic: WxButton - mouse hover & border size
Replies: 5
Views: 136

WxButton - mouse hover & border size

Hello Everyone!, How do I add the mouse hover effect to the Wxbutton and change the border size ? and I went through https://docs.wxwidgets.org/trunk/classwx_any_button.html#a7ef165f2a4d309e6ed6ff943a8d21563 there is something called "void wxAnyButton::SetBitmapCurrent(const wxBitmap & bitmap)" for ...
by Standalone
Sat Jul 27, 2019 8:31 am
Forum: General Development
Topic: Border-radius & mouse hover
Replies: 1
Views: 133

Border-radius & mouse hover

Hello Everyone,

will I able to change the border-radius of my LOGIN button and add mouse hover to it?

I'm using code blocks and Wxsmith

Button.png
by Standalone
Tue Jul 23, 2019 8:38 am
Forum: Compiler / Linking / IDE Related
Topic: Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Replies: 3
Views: 196

Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))

thanks, guys after 4 attempts I able to make it work. Thank you for your help realy appreciated. =D> :)
by Standalone
Sun Jul 21, 2019 7:38 pm
Forum: Compiler / Linking / IDE Related
Topic: Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Replies: 3
Views: 196

Process terminated with status -1073741819 (0 minute(s), 1 second(s))

Hello! when i click build & run the sample dialog box terminating without showing anything. please help me I'm new to wxwidgets. -------------- Build: Debug in test (compiler: GNU GCC Compiler)--------------- mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Wi...