Search found 70 matches

by nkwinder
Fri Mar 06, 2009 5:23 pm
Forum: C++ Development
Topic: SetUserScale internals
Replies: 4
Views: 897

SetUserScale internals

hello i' ve used setUserScale for zooming in and out an image. I 've noticed that the result is what i need for zooming in (nearest neighbor interpolation), but for zoom out the image is really messed up. So my first solution to this problem was to use SetUserScale only for zoom in, and rescale the ...
by nkwinder
Fri Mar 06, 2009 5:11 pm
Forum: C++ Development
Topic: custom toolbar
Replies: 3
Views: 567

i 've used dc drawing before for an image processing app, but now it's a bit different because now we are talking about buttons and toolbar not just a dc with an image drawn.
by nkwinder
Thu Mar 05, 2009 2:31 pm
Forum: C++ Development
Topic: custom toolbar
Replies: 3
Views: 567

custom toolbar

hello i want to create my own custom toolbar class, with support for custom bitmap buttons etc. At first i thought i could derive from wxPanel, and just use wxBitmapButton but i don't actually want the buttons to have a native appearance. I want to implement my own 3d effects for pressed state and s...
by nkwinder
Wed Mar 04, 2009 4:39 pm
Forum: C++ Development
Topic: Dialogs and frames
Replies: 6
Views: 1134

ok then! thanks
by nkwinder
Wed Mar 04, 2009 2:47 pm
Forum: C++ Development
Topic: Dialogs and frames
Replies: 6
Views: 1134

from august 2008 documentation "A frame is a window whose size and position can (usually) be changed by the user. It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog. " maybe i'm wro...
by nkwinder
Wed Mar 04, 2009 3:45 am
Forum: C++ Development
Topic: Dialogs and frames
Replies: 6
Views: 1134

Dialogs and frames

hello all Well, i was searching for a window class that it would be the best to use for what i want to achieve. Basically i have my main window as a wxFrame. This would be sth like 3d studio with realtime viewports etc. I also want to open a separate window that shows the final rendering of the mode...
by nkwinder
Mon Mar 02, 2009 6:13 pm
Forum: C++ Development
Topic: wxTextCtrl and wxHSCROLL
Replies: 1
Views: 647

wxTextCtrl and wxHSCROLL

hello i just created this control... wxTextCtrl *chane = new wxTextCtrl(this, wxID_ANY, wxT("123.......123"), wxPoint(10,10), wxSize(220,45), wxTE_READONLY | wxHSCROLL); The text is very long, but there is no point pasting it here. The thing is that, although the scrollbar is shown, when i try to sc...
by nkwinder
Sat Feb 28, 2009 4:46 pm
Forum: C++ Development
Topic: ProgressBar and vista??
Replies: 2
Views: 805

wow just tested it, and it worked! Thanks for that.

So is this really a bug of vista, or maybe widgets just don't implement it?
by nkwinder
Fri Feb 27, 2009 9:29 pm
Forum: C++ Development
Topic: ProgressBar and vista??
Replies: 2
Views: 805

ProgressBar and vista??

hello i use vista, but i also have a laptop with xp. i just made a progress bar (tried both wxProgressBar and wxGauge) and, noticed that setValue, or Update, doesn't work as it should be in vista. For example, if i enter a max value of 10000, and just make a simple update with a value of 5000 i see ...
by nkwinder
Fri Feb 27, 2009 2:39 am
Forum: C++ Development
Topic: wxTreebook questions
Replies: 1
Views: 526

wxTreebook questions

hello i have some questions about wxTreebook. 1. I've noticed that each time i resize vertically the window, the left pane of wxTreebook (the actual tree) is flickering a lot. Is there sth i can do? 2. Can i manually set up the width of the left treebook pane; 3. Is there a way to add subpages to a ...
by nkwinder
Tue Feb 24, 2009 12:41 pm
Forum: C++ Development
Topic: right align in a horizontal sizer
Replies: 1
Views: 331

right align in a horizontal sizer

hello all i have a window in which i want to have a strechable main panel aligned to the left, and an unstretchable sidebar always positioned to the right. This is easily done with a horizontal box sizer. The thing is that sometimes, the wxPanel which should be on the left, is deleted, so there is o...
by nkwinder
Thu Feb 19, 2009 7:18 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 59117

i downloaded the files, and tried to build the project in vs2008. Firstly, the demo project is disabled and can't be compiled at all. The actual flatNotebook compilation gives errors. i actually use codeblocks with wxWidgets. I compiled wxWidgets with mingw, and not through vs. Can someone tell me h...
by nkwinder
Thu Feb 19, 2009 7:08 pm
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 44075

hello

i tried to download the files, in order to use flatmenu, but it seems that the links are broken. Screenshots don't show up either.

Is this project active?

thanks
by nkwinder
Tue Feb 10, 2009 2:36 am
Forum: C++ Development
Topic: resizing a hidden child
Replies: 2
Views: 434

didn't do anything...

i finally called notebook->SetSize(GetClientSize());

but this thread is more like to show the behavior of show(hide).
by nkwinder
Tue Feb 10, 2009 12:47 am
Forum: C++ Development
Topic: resizing a hidden child
Replies: 2
Views: 434

resizing a hidden child

hello i have a frame, with a child notebook. Child is initially hidden, and it is created with initial size of the parent. If the user resize the frame, while the notebook is still hidden (because user didn't add any page), then when a page is added, the notebook size haven't changed, to fit the par...