Search found 113 matches

by Ugly!
Thu Aug 04, 2005 10:51 am
Forum: Component Writing
Topic: How to create Bitmap Radio Button or Bitmap CheckBox Button?
Replies: 8
Views: 3503

Problem solved! i wasn t creating the window in the panel.

i ll be postin this wxBitmapCheckBox tomorrow i guess, now i m going to sleep. Thnxs Jorg for the idea.
I m going to do the wxBitmapRadioButton aswell one of this days.

Great forum

Bye
by Ugly!
Thu Aug 04, 2005 9:32 am
Forum: Component Writing
Topic: How to create Bitmap Radio Button or Bitmap CheckBox Button?
Replies: 8
Views: 3503

Thnx for the reply Jorg. I done what you advise me, but i can t seem to catch the mouse events, but maybe a don t know how. I m deriving from wxControl. and i m doing this in the declaration of my derived class: private: void OnMouse (wxMouseEvent &event); DECLARE_EVENT_TABLE() know, what should i d...
by Ugly!
Thu Aug 04, 2005 6:31 am
Forum: Component Writing
Topic: How to create Bitmap Radio Button or Bitmap CheckBox Button?
Replies: 8
Views: 3503

How to create Bitmap Radio Button or Bitmap CheckBox Button?

Hi all!!! Is there anyway to get a RadioButton with a Bitmap background or even a CheckBox button (push-like) with a Bitmap. (Like the Radio or Check ToolButton you can add to a wxToolBar, but i don t want a toolbar!!!) If there's not...how can i create such controls? My idea would be to derive from...
by Ugly!
Fri Jul 29, 2005 6:16 am
Forum: wxDev-C++
Topic: Project lost XP styling
Replies: 6
Views: 1641

what compiler are u using? wx-dev? mingw? visual c++?
by Ugly!
Wed Jul 06, 2005 6:07 am
Forum: C++ Development
Topic: wxFrame style
Replies: 2
Views: 669

I don't know if this is what u ask for...i hope it helps.

I believe that you can solve this by doing a myFrame->Maximize():

Code: Select all

SetTopWindow(myFrame);
myFrame->Maximize(); //Maximize before showing
myFrame->Show(TRUE);
and delete the MAXIMIZE from your frame style.

Hope it helped.

See ya.
by Ugly!
Wed Jul 06, 2005 5:32 am
Forum: Platform Related Issues
Topic: wxHtmlEasyPrinting does not print in default printer (win)
Replies: 1
Views: 815

wxHtmlEasyPrinting does not print in default printer (win)

Hi, i've been trying the HTML/Printing sample and also the Printing sample. I'm using Windows XP SP2, and compiling with both Visual C++ 6 and devcpp with Widgets 2.6 and 2.54, respectively. The problem is, as I described, that i can t print in the Default Printer. To do so, i have to select another...
by Ugly!
Wed May 11, 2005 11:02 pm
Forum: C++ Development
Topic: Iterating through controls with control ID number
Replies: 4
Views: 1252

Yes you can by the wxWindow::FindWindowByID [1]. You have just to pass the parent adress and the ID, and it return the corresponding child wxWindow adress. You can also use the wxWindow::GetChildren [2] but it is useless. [1] : http://www.wxwidgets.org/manuals/2.6.0/wx_wxwindow.html#wxwindowfindwin...
by Ugly!
Mon May 09, 2005 5:20 am
Forum: C++ Development
Topic: Iterating through controls with control ID number
Replies: 4
Views: 1252

Iterating through controls with control ID number

Is there a way to iterate trought controls using the control's ID number. I mean, if i have 20 checkboxes, is there a way to check the state of each one of them using the control ID and incremating this ID (asuming secuentials IDs numbers)??? I could do this with the win32 Api - SendMessage() functi...