Search found 27 matches

by airc
Wed Jul 01, 2020 1:37 pm
Forum: C++ Development
Topic: layout problem
Replies: 3
Views: 200

Re: layout problem

thanks for the tips
am using win7 (with windows classic theme) , but as you mention maybe i should upgrade to wx3
by airc
Wed Jul 01, 2020 7:07 am
Forum: C++ Development
Topic: layout problem
Replies: 3
Views: 200

layout problem

Hi i used to use wxformbuilder with wxwidgets 2.8 , and every things was fine until i come across with this situation where the layout inside wxformbuilder doesn't match the layout in my application does this mean wxformbuilder generate wrong code ? this is the code generated frame::frame( wxWindow*...
by airc
Mon Apr 10, 2017 4:59 pm
Forum: C++ Development
Topic: how to save wxAuinotebook layout
Replies: 1
Views: 472

Re: how to save wxAuinotebook layout

ops , first rule is : search first ;)
i found this viewtopic.php?t=21868 , didn't try it yet
by airc
Mon Apr 10, 2017 1:21 pm
Forum: C++ Development
Topic: how to save wxAuinotebook layout
Replies: 1
Views: 472

how to save wxAuinotebook layout

Hi
is there some way to let the user save wxAuinotebook layout after change it in runtime ?
like this
by airc
Wed Apr 06, 2016 4:20 pm
Forum: C++ Development
Topic: there is no glosy tab of wxAuiNotebook with wx3.1
Replies: 4
Views: 715

Re: there is no glosy tab of wxAuiNotebook with wx3.1

hi
i just compile the sample aui that come with wx samples , note that with wx2.8 there is no problem
also if i set the style of wxauinotebook to wxAUI_NB_BOTTOM , the tabs appears glosy .
by airc
Wed Apr 06, 2016 4:02 pm
Forum: C++ Development
Topic: there is no glosy tab of wxAuiNotebook with wx3.1
Replies: 4
Views: 715

there is no glosy tab of wxAuiNotebook with wx3.1

hi
i download wx3.1 and compiled aui sample , i noticed that the glosy tabs of the wxAuinotebook is removed , now it looks the same as wxNotebook
my os is win7 32bits
by airc
Tue Jan 12, 2016 8:17 am
Forum: Announcements and Discoveries
Topic: wxDatabase Library
Replies: 10
Views: 3212

Re: wxDatabase Library

the guy who said that he will add firebird he mentioned that he will use ibpp , i think is heavy , instead .. databaselayer already has firebird backend ,( i never used it ) , why not grabing fb backend from databaselayaer and add it to wxDataBase . its is just my opinion , i am not using wxwidget f...
by airc
Mon Jan 11, 2016 4:05 pm
Forum: Announcements and Discoveries
Topic: wxDatabase Library
Replies: 10
Views: 3212

Re: wxDatabase Library

there is no firebird backend ! .
by airc
Wed Dec 02, 2015 4:47 pm
Forum: C++ Development
Topic: Hiding Tabs On wxNotebook
Replies: 8
Views: 1939

Re: Hiding Tabs On wxNotebook

i am using wxAuiNotebook for this with SetTabCtrlHeight(0) , it will behave like a stack of panels .
advice : wxsmith is bugy , use wxformbuilder instead
by airc
Thu Sep 17, 2015 8:24 am
Forum: C++ Development
Topic: wxgrid native look
Replies: 1
Views: 704

wxgrid native look

Hi
how to make wxgrid looks native , there is UseNativeColHeader , but its only for column header , what about row header ?
by airc
Tue May 05, 2015 5:02 pm
Forum: C++ Development
Topic: how to draw a gradient column label in wxgrid
Replies: 5
Views: 1094

Re: how to draw a gradient column label in wxgrid

you're right
i am using 2.8 only for size matter . my apps are all under 1mb .
but maybe i'll switch to 3 , who cares for size nowadays !
by airc
Tue May 05, 2015 1:58 pm
Forum: C++ Development
Topic: how to draw a gradient column label in wxgrid
Replies: 5
Views: 1094

Re: how to draw a gradient column label in wxgrid

thanks
the grid example showing only SetLabelBackgroundColour() function which sets the color for the grid label
also wxGridColumnHeaderRenderer doesn't exist in wxwidgets 2.8.12 .

btw , (Kirix Strata) has a very nice wxgrid , i don't know how they make it !!
by airc
Tue May 05, 2015 10:28 am
Forum: C++ Development
Topic: how to draw a gradient column label in wxgrid
Replies: 5
Views: 1094

how to draw a gradient column label in wxgrid

Hi
is it possible to draw gradient colors on wxgrid's column label ?

like this
by airc
Wed Apr 08, 2015 4:55 pm
Forum: C++ Development
Topic: how to manipulate wxImage pixels
Replies: 10
Views: 3017

Re: how to manipulate wxImage pixels

thank DenDev , it works
i thought it's simpler than that . in my point of view separating alpha channel from rgb is not good idea , it involve additional work
it would be easier if img->getdata() return unsigned int (4byte) by default. if i want alpha i'll use the highest 8bits .
by airc
Wed Apr 08, 2015 2:43 pm
Forum: C++ Development
Topic: how to manipulate wxImage pixels
Replies: 10
Views: 3017

Re: how to manipulate wxImage pixels

thank doublemax but how ? how to make such code work ? void Simple::OnPaint(wxPaintEvent &event) { wxPaintDC dc(this); unsigned int* imgData = (unsigned int*)img->GetData(); for (int i=0; i<256*256; i++) imgData[i] = 0xff000000; // 4byte per pixel ? wxBitmap bmp(*img); dc.DrawBitmap(bmp,0,0); }